feat: improve user interface layout for better accessibility

This commit is contained in:
2026-02-06 16:18:54 +08:00
parent a7dd3e49a9
commit 18803d07be
6 changed files with 12 additions and 12 deletions

View File

@@ -1,6 +1,6 @@
# 授权管理系统 - 前端应用
# 溯源管理平台 - 前端应用
浙江贝凡企业授权管理系统的前端应用,基于 React + TypeScript + Ant Design。
浙江贝凡溯源管理平台的前端应用,基于 React + TypeScript + Ant Design。
## 技术栈
@@ -25,7 +25,6 @@ frontend/
│ │ ├── Dashboard.tsx
│ │ ├── Generate.tsx
│ │ ├── Manage.tsx
│ │ ├── AdminQuery.tsx
│ │ └── Profile.tsx
│ ├── services/ # API 服务层
│ │ └── api.ts
@@ -99,7 +98,6 @@ VITE_API_BASE_URL=/api
- 查看序列号列表
- 吊销企业/序列号
- 查看序列号二维码
- 序列号查询
- 用户资料管理
## License

View File

@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>溯源管理系统</title>
<title>溯源管理平台</title>
<link rel="icon" type="image/x-icon" href="/src/assets/img/favicon.ico">
</head>
<body>

View File

@@ -1,7 +1,7 @@
{
"name": "trace-frontend",
"version": "1.0.0",
"description": "浙江贝凡企业授权管理系统 - 前端",
"description": "浙江贝凡溯源管理平台 - 前端",
"scripts": {
"dev": "vite",
"build": "vite build",

View File

@@ -265,7 +265,7 @@ function GeneratePage() {
<div style={{ textAlign: 'center' }}>
<img src={qrCodeDataUrl} alt="QR Code" style={{ width: '200px', height: '200px' }} />
{generatedData.serials && generatedData.serials.length > 0 && (
<p style={{ marginTop: '8px', fontFamily: 'monospace' }}>{generatedData.serials[0].serialNumber}</p>
<p style={{ marginTop: '12px', fontFamily: 'monospace', fontSize: '16px', fontWeight: 'bold', color: '#165DFF' }}>{generatedData.serials[0].serialNumber}</p>
)}
</div>
)}

View File

@@ -1,11 +1,12 @@
.login-container {
min-height: 100vh;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 20px;
background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
overflow: hidden;
}
.login-card {

View File

@@ -1,11 +1,12 @@
.public-query-container {
min-height: 100vh;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
padding: 32px 20px;
justify-content: center;
padding: 20px;
background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
overflow: hidden;
}
.query-card {
@@ -50,7 +51,7 @@
.result-card {
width: 100%;
max-width: 480px;
padding: 16px;
padding: 24px;
backdrop-filter: blur(10px);
background: rgba(255, 255, 255, 0.9);
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);