feat: 为模拟考试功能添加"待测试"标签
在首页的模拟考试卡片标题旁添加橙色"待测试"标签,以醒目地标识该功能当前处于测试阶段。 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
b9844c7398
commit
c50cf9ee7b
@ -1,6 +1,6 @@
|
|||||||
import React, { useEffect, useState } from 'react'
|
import React, { useEffect, useState } from 'react'
|
||||||
import { useNavigate } from 'react-router-dom'
|
import { useNavigate } from 'react-router-dom'
|
||||||
import { Typography, message, Space, Avatar, Button, Modal, Form, Radio, Alert, Input, Switch, InputNumber, Dropdown, Row, Col, Card } from 'antd'
|
import { Typography, message, Space, Avatar, Button, Modal, Form, Radio, Alert, Input, Switch, InputNumber, Dropdown, Row, Col, Card, Tag } from 'antd'
|
||||||
import type { MenuProps } from 'antd'
|
import type { MenuProps } from 'antd'
|
||||||
import {
|
import {
|
||||||
FileTextOutlined,
|
FileTextOutlined,
|
||||||
@ -564,7 +564,9 @@ const Home: React.FC = () => {
|
|||||||
<FileTextOutlined className={styles.quickIcon} style={{ color: '#fa8c16' }} />
|
<FileTextOutlined className={styles.quickIcon} style={{ color: '#fa8c16' }} />
|
||||||
</div>
|
</div>
|
||||||
<div style={{ flex: 1 }}>
|
<div style={{ flex: 1 }}>
|
||||||
<Title level={5} style={{ margin: 0 }}>模拟考试</Title>
|
<Title level={5} style={{ margin: 0 }}>
|
||||||
|
模拟考试 <Tag color="orange">待测试</Tag>
|
||||||
|
</Title>
|
||||||
<Paragraph type="secondary" style={{ margin: 0, fontSize: '13px' }}>随机组卷,在线答题或打印试卷</Paragraph>
|
<Paragraph type="secondary" style={{ margin: 0, fontSize: '13px' }}>随机组卷,在线答题或打印试卷</Paragraph>
|
||||||
</div>
|
</div>
|
||||||
</Space>
|
</Space>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user