Akane1217 | 3a7bb97 | 2025-06-01 01:05:27 +0800 | [diff] [blame^] | 1 | /* 上传记录表格样式 */
|
| 2 | .uploads-table {
|
| 3 | width: 100%;
|
| 4 | border-collapse: collapse;
|
| 5 | margin-top: 20px;
|
| 6 | }
|
Akane1217 | 65b61a7 | 2025-05-17 13:52:25 +0800 | [diff] [blame] | 7 |
|
Akane1217 | 3a7bb97 | 2025-06-01 01:05:27 +0800 | [diff] [blame^] | 8 | .uploads-table th, .uploads-table td {
|
| 9 | padding: 12px 15px;
|
| 10 | text-align: left;
|
| 11 | border-bottom: 1px solid #e0e0e0;
|
| 12 | }
|
| 13 |
|
| 14 | .uploads-table th {
|
| 15 | background-color: #f5f5f5;
|
| 16 | font-weight: 600;
|
| 17 | }
|
| 18 |
|
| 19 | .list-item:hover {
|
| 20 | background-color: #f9f9f9;
|
| 21 | }
|
| 22 |
|
| 23 | /* 操作按钮样式 */
|
| 24 | .action-btn {
|
| 25 | padding: 6px 12px;
|
| 26 | border: none;
|
| 27 | border-radius: 4px;
|
| 28 | cursor: pointer;
|
| 29 | font-size: 14px;
|
| 30 | transition: background-color 0.2s;
|
| 31 | }
|
| 32 |
|
| 33 | .delete-btn {
|
| 34 | background-color: #ff4d4f;
|
| 35 | color: white;
|
| 36 | }
|
| 37 |
|
| 38 | .delete-btn:hover {
|
| 39 | background-color: #ff7875;
|
| 40 | }
|
| 41 |
|
| 42 | /* 分页控件样式 */
|
| 43 | .pagination {
|
| 44 | margin-top: 20px;
|
| 45 | display: flex;
|
| 46 | justify-content: center;
|
| 47 | align-items: center;
|
| 48 | gap: 15px;
|
| 49 | }
|
| 50 |
|
| 51 | .pagination button {
|
| 52 | padding: 6px 12px;
|
| 53 | border: 1px solid #d9d9d9;
|
| 54 | background-color: #fff;
|
| 55 | border-radius: 4px;
|
| 56 | cursor: pointer;
|
| 57 | }
|
| 58 |
|
| 59 | .pagination button:disabled {
|
| 60 | color: #d9d9d9;
|
| 61 | cursor: not-allowed;
|
| 62 | }
|
| 63 |
|
| 64 | .pagination button:not(:disabled):hover {
|
| 65 | border-color: #1890ff;
|
| 66 | color: #1890ff;
|
| 67 | }
|
| 68 |
|
| 69 | /* 分页控件样式 */
|
| 70 | .pagination {
|
| 71 | margin-top: 20px;
|
| 72 | display: flex;
|
| 73 | justify-content: center;
|
| 74 | align-items: center;
|
| 75 | gap: 8px;
|
| 76 | flex-wrap: wrap;
|
| 77 | }
|
| 78 |
|
| 79 | .page-nav, .page-number {
|
| 80 | padding: 6px 12px;
|
| 81 | border: 1px solid #d9d9d9;
|
| 82 | background-color: #fff;
|
| 83 | border-radius: 4px;
|
| 84 | cursor: pointer;
|
| 85 | min-width: 32px;
|
| 86 | text-align: center;
|
| 87 | }
|
| 88 |
|
| 89 | .page-nav:disabled, .page-number:disabled {
|
| 90 | color: #d9d9d9;
|
| 91 | cursor: not-allowed;
|
| 92 | }
|
| 93 |
|
| 94 | .page-nav:not(:disabled):hover,
|
| 95 | .page-number:not(:disabled):hover {
|
| 96 | border-color: #1890ff;
|
| 97 | color: #1890ff;
|
| 98 | }
|
| 99 |
|
| 100 | .page-number.active {
|
| 101 | background-color: #1890ff;
|
| 102 | color: white;
|
| 103 | border-color: #1890ff;
|
| 104 | }
|
| 105 |
|
| 106 | .ellipsis {
|
| 107 | padding: 0 8px;
|
| 108 | }
|
| 109 |
|
| 110 | .page-info {
|
| 111 | display: flex;
|
| 112 | align-items: center;
|
| 113 | gap: 8px;
|
| 114 | margin-left: 15px;
|
| 115 | }
|
| 116 |
|
| 117 | .page-info input {
|
| 118 | width: 50px;
|
| 119 | padding: 4px;
|
| 120 | border: 1px solid #d9d9d9;
|
| 121 | border-radius: 4px;
|
| 122 | text-align: center;
|
| 123 | }
|
| 124 |
|
| 125 | .page-info input:focus {
|
| 126 | outline: none;
|
| 127 | border-color: #1890ff;
|
| 128 | }
|
| 129 |
|
| 130 | /* 调整表格列宽 */
|
| 131 | .uploads-table th:nth-child(1),
|
| 132 | .uploads-table td:nth-child(1) {
|
| 133 | width: 30%;
|
| 134 | }
|
| 135 |
|
| 136 | .uploads-table th:nth-child(2),
|
| 137 | .uploads-table td:nth-child(2) {
|
| 138 | width: 15%;
|
| 139 | }
|
| 140 |
|
| 141 | .uploads-table th:nth-child(3),
|
| 142 | .uploads-table td:nth-child(3) {
|
| 143 | width: 20%;
|
| 144 | }
|
| 145 |
|
| 146 | .uploads-table th:nth-child(4),
|
| 147 | .uploads-table td:nth-child(4) {
|
| 148 | width: 15%;
|
| 149 | text-align: center;
|
| 150 | }
|
| 151 |
|
| 152 | .uploads-table th:nth-child(5),
|
| 153 | .uploads-table td:nth-child(5) {
|
| 154 | width: 20%;
|
| 155 | text-align: center;
|
| 156 | }
|
| 157 |
|
| 158 | /* 兑换区样式 */
|
| 159 | .exchange-section {
|
| 160 | margin-top: 20px;
|
| 161 | padding: 20px;
|
| 162 | background-color: #f9f9f9;
|
| 163 | border-radius: 8px;
|
| 164 | }
|
| 165 |
|
| 166 | .exchange-card {
|
| 167 | margin-bottom: 20px;
|
| 168 | padding: 15px;
|
| 169 | background-color: white;
|
| 170 | border-radius: 6px;
|
| 171 | box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
| 172 | }
|
| 173 |
|
| 174 | .exchange-card h4 {
|
| 175 | margin-top: 0;
|
| 176 | color: #333;
|
| 177 | }
|
| 178 |
|
| 179 | .exchange-card p {
|
| 180 | color: #666;
|
| 181 | margin-bottom: 15px;
|
| 182 | }
|
| 183 |
|
| 184 | .exchange-btn {
|
| 185 | padding: 8px 16px;
|
| 186 | background-color: #1890ff;
|
| 187 | color: white;
|
| 188 | border: none;
|
| 189 | border-radius: 4px;
|
| 190 | cursor: pointer;
|
| 191 | transition: background-color 0.3s;
|
| 192 | }
|
| 193 |
|
| 194 | .exchange-btn:hover {
|
| 195 | background-color: #40a9ff;
|
| 196 | }
|
| 197 |
|
| 198 | .exchange-btn:disabled {
|
| 199 | background-color: #d9d9d9;
|
| 200 | cursor: not-allowed;
|
| 201 | }
|
| 202 |
|
| 203 | .exchange-input-group {
|
| 204 | display: flex;
|
| 205 | gap: 10px;
|
| 206 | margin-top: 10px;
|
| 207 | }
|
| 208 |
|
| 209 | .exchange-input-group input {
|
| 210 | flex: 1;
|
| 211 | padding: 8px;
|
| 212 | border: 1px solid #d9d9d9;
|
| 213 | border-radius: 4px;
|
| 214 | }
|
| 215 |
|
| 216 | .invite-code-list {
|
| 217 | margin-top: 20px;
|
| 218 | }
|
| 219 |
|
| 220 | .invite-code-list ul {
|
| 221 | list-style: none;
|
| 222 | padding: 0;
|
| 223 | }
|
| 224 |
|
| 225 | .invite-code-list li {
|
| 226 | display: flex;
|
| 227 | justify-content: space-between;
|
| 228 | padding: 10px;
|
| 229 | border-bottom: 1px solid #eee;
|
| 230 | }
|
| 231 |
|
| 232 | .invite-code-list .code {
|
| 233 | font-family: monospace;
|
| 234 | }
|
| 235 |
|
| 236 | .invite-code-list .status {
|
| 237 | padding: 2px 6px;
|
| 238 | border-radius: 3px;
|
| 239 | font-size: 12px;
|
| 240 | }
|
| 241 |
|
| 242 | .invite-code-list .status.available {
|
| 243 | background-color: #f6ffed;
|
| 244 | color: #52c41a;
|
| 245 | border: 1px solid #b7eb8f;
|
| 246 | }
|
| 247 |
|
| 248 | .invite-code-list .status.used {
|
| 249 | background-color: #fff2f0;
|
| 250 | color: #ff4d4f;
|
| 251 | border: 1px solid #ffccc7;
|
| 252 | }
|
| 253 |
|
| 254 |
|
| 255 | /* personalSubpage.css 中添加以下样式 */
|
| 256 |
|
| 257 | .setting-section {
|
| 258 | max-width: 600px;
|
| 259 | margin: 0 auto;
|
| 260 | padding: 20px;
|
| 261 | }
|
| 262 |
|
| 263 | .user-info-card, .password-form-card {
|
| 264 | background: #fff;
|
| 265 | border-radius: 8px;
|
| 266 | padding: 20px;
|
| 267 | margin-bottom: 20px;
|
| 268 | box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
| 269 | }
|
| 270 |
|
| 271 | .info-item {
|
| 272 | display: flex;
|
| 273 | margin-bottom: 10px;
|
| 274 | }
|
| 275 |
|
| 276 | .info-item label {
|
| 277 | font-weight: bold;
|
| 278 | width: 100px;
|
| 279 | }
|
| 280 |
|
| 281 | .info-item span {
|
| 282 | flex: 1;
|
| 283 | }
|
| 284 |
|
| 285 | .info-note {
|
| 286 | color: #666;
|
| 287 | font-size: 0.9em;
|
| 288 | margin-top: 10px;
|
| 289 | }
|
| 290 |
|
| 291 | .form-group {
|
| 292 | margin-bottom: 15px;
|
| 293 | }
|
| 294 |
|
| 295 | .form-group label {
|
| 296 | display: block;
|
| 297 | margin-bottom: 5px;
|
| 298 | font-weight: bold;
|
| 299 | }
|
| 300 |
|
| 301 | .form-group input {
|
| 302 | width: 100%;
|
| 303 | padding: 8px;
|
| 304 | border: 1px solid #ddd;
|
| 305 | border-radius: 4px;
|
| 306 | box-sizing: border-box;
|
| 307 | }
|
| 308 |
|
| 309 | .submit-button {
|
| 310 | background-color: #4CAF50;
|
| 311 | color: white;
|
| 312 | padding: 10px 15px;
|
| 313 | border: none;
|
| 314 | border-radius: 4px;
|
| 315 | cursor: pointer;
|
| 316 | font-size: 16px;
|
| 317 | }
|
| 318 |
|
| 319 | .submit-button:hover {
|
| 320 | background-color: #45a049;
|
| 321 | }
|
| 322 |
|
| 323 | .submit-button:disabled {
|
| 324 | background-color: #cccccc;
|
| 325 | cursor: not-allowed;
|
| 326 | }
|
| 327 |
|
| 328 | .error-message {
|
| 329 | color: #f44336;
|
| 330 | margin-bottom: 15px;
|
| 331 | }
|
| 332 |
|
| 333 | .success-message {
|
| 334 | color: #4CAF50;
|
| 335 | margin-bottom: 15px;
|
| 336 | } |