blob: 786e3dcc81eec3b6b2ff14628301df34e1e85c34 [file] [log] [blame]
22301080a93bebb2025-05-27 19:48:11 +08001.administer-container {
2 padding: 20px;
3 max-width: 1200px;
4 margin: 0 auto;
5}
6
7.search-container {
8 margin-bottom: 20px;
9 display: flex;
10 gap: 10px;
11}
12
13.search-input {
14 padding: 8px;
15 border: 1px solid #ccc;
16 border-radius: 4px;
17 flex-grow: 1;
18 max-width: 300px;
19}
20
21.search-button, .reset-button {
22 padding: 8px 16px;
23 background-color: #4CAF50;
24 color: white;
25 border: none;
26 border-radius: 4px;
27 cursor: pointer;
28}
29
30.reset-button {
31 background-color: #f44336;
32}
33
34.error-message {
35 color: #f44336;
36 margin-bottom: 15px;
37}
38
39.loading-message {
40 color: #2196F3;
41 margin-bottom: 15px;
42}
43
44.user-list-container {
45 overflow-x: auto;
46}
47
48.user-table {
49 width: 100%;
50 border-collapse: collapse;
51}
52
53.user-table th, .user-table td {
54 border: 1px solid #ddd;
55 padding: 8px;
56 text-align: left;
57}
58
59.user-table th {
60 background-color: #f2f2f2;
61}
62
63.user-table tr:nth-child(even) {
64 background-color: #f9f9f9;
65}
66
67.user-table tr:hover {
68 background-color: #f1f1f1;
69}
70
71.authority-select {
72 padding: 5px;
73 border-radius: 4px;
74 border: 1px solid #ccc;
75}
76
77/* 选项卡样式 */
78.tab-container {
79 display: flex;
80 margin-bottom: 20px;
81 border-bottom: 1px solid #ddd;
82}
83
84.tab-button {
85 padding: 10px 20px;
86 background: none;
87 border: none;
88 cursor: pointer;
89 font-size: 16px;
90 border-bottom: 3px solid transparent;
91}
92
93.tab-button.active {
94 border-bottom: 3px solid #1890ff;
95 color: #1890ff;
96}
97
98/* 折扣卡片样式 */
99.current-discount-card {
100 background-color: #f5f5f5;
101 padding: 15px;
102 border-radius: 5px;
103 margin-bottom: 20px;
104}
105
106/* 折扣表单样式 */
107.add-discount-form {
108 background-color: #f9f9f9;
109 padding: 20px;
110 border-radius: 5px;
111 margin-bottom: 20px;
112}
113
114.form-group {
115 margin-bottom: 15px;
116}
117
118.form-group label {
119 display: inline-block;
120 width: 100px;
121 margin-right: 10px;
122}
123
124/* 折扣表格样式 */
125.discount-table {
126 width: 100%;
127 border-collapse: collapse;
128}
129
130.discount-table th, .discount-table td {
131 padding: 10px;
132 border: 1px solid #ddd;
133 text-align: left;
134}
135
136.discount-table th {
137 background-color: #f2f2f2;
138}
139
140.delete-button {
141 background-color: #ff4d4f;
142 color: white;
143 border: none;
144 padding: 5px 10px;
145 border-radius: 3px;
146 cursor: pointer;
147}
148
149.delete-button:hover {
150 background-color: #ff7875;
151}
152
153.react-datepicker {
154 font-size: 14px;
155}
156
157.react-datepicker__time-container {
158 width: 120px;
159}
160
161.react-datepicker-time__header {
162 font-size: 13px;
163}
164
165.time-preview {
166 margin: 10px 0;
167 padding: 10px;
168 background: #f5f5f5;
169 border-radius: 4px;
DREWae420b22025-06-02 14:07:20 +0800170}
171
172/* 公告表单样式 */
173.announcement-form {
174 padding: 20px;
175 background: #f5f5f5;
176 border-radius: 8px;
177 margin-bottom: 20px;
178}
179
180.announcement-form .form-group {
181 margin-bottom: 15px;
182}
183
184.announcement-form label {
185 display: block;
186 margin-bottom: 5px;
187 font-weight: bold;
188}
189
190.announcement-form input[type="text"],
191.announcement-form textarea {
192 width: 100%;
193 padding: 8px;
194 border: 1px solid #ddd;
195 border-radius: 4px;
196}
197
198.announcement-form textarea {
199 min-height: 100px;
200}
201
202/* 公告列表样式 */
203.announcement-list-container {
204 margin-top: 20px;
205}
206
207.announcement-table {
208 width: 100%;
209 border-collapse: collapse;
210}
211
212.announcement-table th,
213.announcement-table td {
214 padding: 12px;
215 text-align: left;
216 border-bottom: 1px solid #ddd;
217}
218
219.announcement-table th {
220 background-color: #f2f2f2;
221 font-weight: bold;
222}
223
224.announcement-table tr:hover {
225 background-color: #f9f9f9;
22301080a93bebb2025-05-27 19:48:11 +0800226}