1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
| // 全局样式文件,用于统一整个应用的样式
|
| // 统一按钮样式
| .btn {
| font-size: 16px;
| font-weight: 500;
| border-radius: 4px;
| box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
| transition: all 0.3s;
| padding: 8px 16px;
| cursor: pointer;
| border: none;
|
| &:disabled {
| opacity: 0.6;
| cursor: not-allowed;
| }
| }
|
| // 统一输入框样式
| .input {
| font-size: 16px;
| padding: 8px 12px;
| border: 1px solid #dcdfe6;
| border-radius: 4px;
| background: #fff;
| box-sizing: border-box;
|
| &:disabled {
| background-color: #f5f7fa;
| color: #c0c4cc;
| cursor: not-allowed;
| }
| }
|
| // 统一卡片样式
| .card {
| background-color: #fff;
| border-radius: 8px;
| box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
| padding: 16px;
| border: 1px solid #ddd;
| margin-bottom: 16px;
| }
|
| // 统一表格样式
| .table {
| width: 100%;
| border-collapse: collapse;
| font-size: 16px;
|
| th {
| background-color: #f5f7fa;
| font-weight: 600;
| padding: 12px 8px;
| text-align: center;
| }
|
| td {
| padding: 12px 8px;
| text-align: center;
| border-bottom: 1px solid #eee;
| }
|
| tr:hover {
| background-color: #f5f7fa;
| }
| }
|
| // 统一标签样式
| .label {
| font-size: 16px;
| font-weight: 500;
| color: #333;
| }
|
| // 统一提示信息样式
| .toast-message {
| font-size: 20px;
| font-weight: bold;
| padding: 16px 32px;
| border-radius: 8px;
| background-color: #1890ff;
| color: white;
| box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
| text-align: center;
| z-index: 9999;
| }
|
|