Commit c1bcfb6c94a4b906dac765d118b577eb96d7f0d8
1 parent
d553b15e
更新工资管理详情弹窗页面
- 更新所有工资角色的详情弹窗页面 - 包括:店助、事业部经理、店长、主任、总部股份、大项目主管、大项目部老师、店长、店长股份、科技部总经理、科技部股份、科技部老师等12个详情弹窗 - 优化页面显示和交互逻辑
Showing
12 changed files
with
3703 additions
and
539 deletions
antis-ncc-admin/src/views/wageManagement/assistant-detail-dialog.vue
| ... | ... | @@ -6,6 +6,8 @@ |
| 6 | 6 | :close-on-click-modal="false" |
| 7 | 7 | @close="handleClose" |
| 8 | 8 | class="detail-dialog" |
| 9 | + :modal="true" | |
| 10 | + :modal-append-to-body="true" | |
| 9 | 11 | > |
| 10 | 12 | <div v-if="detailData" class="detail-content"> |
| 11 | 13 | <!-- 基本信息 --> |
| ... | ... | @@ -50,7 +52,7 @@ |
| 50 | 52 | <div class="info-row"> |
| 51 | 53 | <div class="info-item"> |
| 52 | 54 | <span class="label">门店总业绩:</span> |
| 53 | - <span class="value highlight">{{ formatMoney(detailData.StoreTotalPerformance) }}</span> | |
| 55 | + <span class="value highlight">{{ formatMoneyWithSymbol(detailData.StoreTotalPerformance) }}</span> | |
| 54 | 56 | </div> |
| 55 | 57 | <div class="info-item"> |
| 56 | 58 | <span class="label">门店开单业绩:</span> |
| ... | ... | @@ -305,6 +307,12 @@ export default { |
| 305 | 307 | return '0.00%' |
| 306 | 308 | } |
| 307 | 309 | return (Number(value) * 100).toFixed(2) + '%' |
| 310 | + }, | |
| 311 | + formatMoneyWithSymbol(value) { | |
| 312 | + if (value === null || value === undefined || value === '') { | |
| 313 | + return '¥0.00' | |
| 314 | + } | |
| 315 | + return '¥' + Number(value).toFixed(2) | |
| 308 | 316 | } |
| 309 | 317 | } |
| 310 | 318 | } |
| ... | ... | @@ -312,33 +320,243 @@ export default { |
| 312 | 320 | |
| 313 | 321 | <style lang="scss" scoped> |
| 314 | 322 | .detail-dialog { |
| 323 | + ::v-deep .el-dialog { | |
| 324 | + border-radius: 16px; | |
| 325 | + overflow: hidden; | |
| 326 | + background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #f0f4f8 100%); | |
| 327 | + } | |
| 328 | + | |
| 329 | + ::v-deep .el-dialog__header { | |
| 330 | + background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%); | |
| 331 | + backdrop-filter: blur(10px); | |
| 332 | + padding: 20px 24px; | |
| 333 | + border-bottom: 2px solid rgba(59, 130, 246, 0.2); | |
| 334 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); | |
| 335 | + | |
| 336 | + .el-dialog__title { | |
| 337 | + font-size: 20px; | |
| 338 | + font-weight: 700; | |
| 339 | + background: linear-gradient(135deg, #303133 0%, #606266 100%); | |
| 340 | + -webkit-background-clip: text; | |
| 341 | + -webkit-text-fill-color: transparent; | |
| 342 | + background-clip: text; | |
| 343 | + } | |
| 344 | + | |
| 345 | + .el-dialog__close { | |
| 346 | + color: #606266; | |
| 347 | + font-size: 20px; | |
| 348 | + transition: all 0.3s ease; | |
| 349 | + | |
| 350 | + &:hover { | |
| 351 | + color: #3b82f6; | |
| 352 | + transform: rotate(90deg); | |
| 353 | + } | |
| 354 | + } | |
| 355 | + } | |
| 356 | + | |
| 357 | + ::v-deep .el-dialog__body { | |
| 358 | + padding: 24px; | |
| 359 | + background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #f0f4f8 100%); | |
| 360 | + } | |
| 361 | + | |
| 315 | 362 | .detail-content { |
| 316 | 363 | max-height: 70vh; |
| 317 | 364 | overflow-y: auto; |
| 318 | 365 | padding-right: 10px; |
| 366 | + | |
| 367 | + // 自定义滚动条样式 | |
| 368 | + &::-webkit-scrollbar { | |
| 369 | + width: 8px; | |
| 370 | + } | |
| 371 | + | |
| 372 | + &::-webkit-scrollbar-track { | |
| 373 | + background: rgba(144, 147, 153, 0.1); | |
| 374 | + border-radius: 4px; | |
| 375 | + } | |
| 376 | + | |
| 377 | + &::-webkit-scrollbar-thumb { | |
| 378 | + background: rgba(144, 147, 153, 0.3); | |
| 379 | + border-radius: 4px; | |
| 380 | + transition: background 0.3s ease; | |
| 381 | + | |
| 382 | + &:hover { | |
| 383 | + background: rgba(144, 147, 153, 0.5); | |
| 384 | + } | |
| 385 | + } | |
| 319 | 386 | } |
| 320 | 387 | |
| 321 | 388 | .detail-section { |
| 322 | 389 | margin-bottom: 20px; |
| 323 | - background: #fff; | |
| 324 | - border-radius: 8px; | |
| 325 | - padding: 20px; | |
| 326 | - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
| 390 | + background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%); | |
| 391 | + backdrop-filter: blur(10px); | |
| 392 | + border-radius: 12px; | |
| 393 | + padding: 20px 24px; | |
| 394 | + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04); | |
| 395 | + border: 1px solid rgba(144, 147, 153, 0.15); | |
| 396 | + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| 397 | + position: relative; | |
| 398 | + overflow: hidden; | |
| 399 | + | |
| 400 | + &::before { | |
| 401 | + content: ''; | |
| 402 | + position: absolute; | |
| 403 | + top: 0; | |
| 404 | + left: 0; | |
| 405 | + right: 0; | |
| 406 | + height: 3px; | |
| 407 | + background: linear-gradient(90deg, #3b82f6 0%, #2563eb 50%, #3b82f6 100%); | |
| 408 | + opacity: 0; | |
| 409 | + transition: opacity 0.3s ease; | |
| 410 | + } | |
| 411 | + | |
| 412 | + &:hover { | |
| 413 | + box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06); | |
| 414 | + transform: translateY(-2px); | |
| 415 | + | |
| 416 | + &::before { | |
| 417 | + opacity: 1; | |
| 418 | + } | |
| 419 | + } | |
| 327 | 420 | |
| 328 | 421 | .section-title { |
| 329 | 422 | display: flex; |
| 330 | 423 | align-items: center; |
| 331 | - gap: 8px; | |
| 332 | - margin-bottom: 16px; | |
| 333 | - padding-bottom: 12px; | |
| 334 | - border-bottom: 2px solid #409EFF; | |
| 335 | - font-size: 16px; | |
| 336 | - font-weight: 600; | |
| 337 | - color: #303133; | |
| 424 | + gap: 12px; | |
| 425 | + margin-bottom: 20px; | |
| 426 | + padding-bottom: 16px; | |
| 427 | + border-bottom: 2px solid rgba(59, 130, 246, 0.2); | |
| 428 | + font-size: 18px; | |
| 429 | + font-weight: 700; | |
| 430 | + background: linear-gradient(135deg, #303133 0%, #606266 100%); | |
| 431 | + -webkit-background-clip: text; | |
| 432 | + -webkit-text-fill-color: transparent; | |
| 433 | + background-clip: text; | |
| 434 | + position: relative; | |
| 338 | 435 | |
| 339 | 436 | i { |
| 340 | - color: #409EFF; | |
| 437 | + width: 36px; | |
| 438 | + height: 36px; | |
| 439 | + display: flex; | |
| 440 | + align-items: center; | |
| 441 | + justify-content: center; | |
| 442 | + border-radius: 8px; | |
| 341 | 443 | font-size: 18px; |
| 444 | + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| 445 | + position: relative; | |
| 446 | + overflow: hidden; | |
| 447 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); | |
| 448 | + | |
| 449 | + &::before { | |
| 450 | + content: ''; | |
| 451 | + position: absolute; | |
| 452 | + top: 0; | |
| 453 | + left: -100%; | |
| 454 | + width: 100%; | |
| 455 | + height: 100%; | |
| 456 | + background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); | |
| 457 | + transition: left 0.5s ease; | |
| 458 | + } | |
| 459 | + | |
| 460 | + // 根据图标类型设置不同颜色 | |
| 461 | + &.el-icon-user { | |
| 462 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 463 | + color: #3b82f6; | |
| 464 | + } | |
| 465 | + | |
| 466 | + &.el-icon-trophy { | |
| 467 | + background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.15) 100%); | |
| 468 | + color: #f59e0b; | |
| 469 | + } | |
| 470 | + | |
| 471 | + &.el-icon-money { | |
| 472 | + background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(21, 128, 61, 0.15) 100%); | |
| 473 | + color: #22c55e; | |
| 474 | + } | |
| 475 | + | |
| 476 | + &.el-icon-medal { | |
| 477 | + background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(147, 51, 234, 0.15) 100%); | |
| 478 | + color: #a855f7; | |
| 479 | + } | |
| 480 | + | |
| 481 | + &.el-icon-wallet { | |
| 482 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 483 | + color: #3b82f6; | |
| 484 | + } | |
| 485 | + | |
| 486 | + &.el-icon-circle-minus { | |
| 487 | + background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%); | |
| 488 | + color: #ef4444; | |
| 489 | + } | |
| 490 | + | |
| 491 | + &.el-icon-circle-plus { | |
| 492 | + background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(21, 128, 61, 0.15) 100%); | |
| 493 | + color: #22c55e; | |
| 494 | + } | |
| 495 | + | |
| 496 | + &.el-icon-document { | |
| 497 | + background: linear-gradient(135deg, rgba(107, 114, 128, 0.15) 0%, rgba(75, 85, 99, 0.15) 100%); | |
| 498 | + color: #6b7280; | |
| 499 | + } | |
| 500 | + | |
| 501 | + &.el-icon-credit-card { | |
| 502 | + background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(219, 39, 119, 0.15) 100%); | |
| 503 | + color: #ec4899; | |
| 504 | + } | |
| 505 | + | |
| 506 | + &:hover { | |
| 507 | + transform: scale(1.1) rotate(5deg); | |
| 508 | + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); | |
| 509 | + | |
| 510 | + &::before { | |
| 511 | + left: 100%; | |
| 512 | + } | |
| 513 | + | |
| 514 | + // hover时根据图标类型设置不同的渐变背景 | |
| 515 | + &.el-icon-user { | |
| 516 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 517 | + color: #fff; | |
| 518 | + } | |
| 519 | + | |
| 520 | + &.el-icon-trophy { | |
| 521 | + background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); | |
| 522 | + color: #fff; | |
| 523 | + } | |
| 524 | + | |
| 525 | + &.el-icon-money { | |
| 526 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 527 | + color: #fff; | |
| 528 | + } | |
| 529 | + | |
| 530 | + &.el-icon-medal { | |
| 531 | + background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%); | |
| 532 | + color: #fff; | |
| 533 | + } | |
| 534 | + | |
| 535 | + &.el-icon-wallet { | |
| 536 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 537 | + color: #fff; | |
| 538 | + } | |
| 539 | + | |
| 540 | + &.el-icon-circle-minus { | |
| 541 | + background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); | |
| 542 | + color: #fff; | |
| 543 | + } | |
| 544 | + | |
| 545 | + &.el-icon-circle-plus { | |
| 546 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 547 | + color: #fff; | |
| 548 | + } | |
| 549 | + | |
| 550 | + &.el-icon-document { | |
| 551 | + background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); | |
| 552 | + color: #fff; | |
| 553 | + } | |
| 554 | + | |
| 555 | + &.el-icon-credit-card { | |
| 556 | + background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); | |
| 557 | + color: #fff; | |
| 558 | + } | |
| 559 | + } | |
| 342 | 560 | } |
| 343 | 561 | } |
| 344 | 562 | |
| ... | ... | @@ -353,27 +571,49 @@ export default { |
| 353 | 571 | align-items: center; |
| 354 | 572 | min-width: 200px; |
| 355 | 573 | flex: 0 0 calc(33.333% - 27px); |
| 574 | + padding: 12px 16px; | |
| 575 | + background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(240, 242, 245, 0.8) 100%); | |
| 576 | + border-radius: 8px; | |
| 577 | + border: 1px solid rgba(144, 147, 153, 0.1); | |
| 578 | + transition: all 0.3s ease; | |
| 579 | + cursor: default; | |
| 580 | + | |
| 581 | + &:hover { | |
| 582 | + background: linear-gradient(135deg, rgba(239, 246, 255, 0.9) 0%, rgba(219, 234, 254, 0.9) 100%); | |
| 583 | + border-color: rgba(59, 130, 246, 0.3); | |
| 584 | + transform: translateY(-2px); | |
| 585 | + box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15); | |
| 586 | + } | |
| 356 | 587 | |
| 357 | 588 | .label { |
| 358 | 589 | color: #606266; |
| 359 | 590 | font-size: 14px; |
| 591 | + font-weight: 500; | |
| 360 | 592 | white-space: nowrap; |
| 361 | 593 | margin-right: 8px; |
| 594 | + flex-shrink: 0; | |
| 362 | 595 | } |
| 363 | 596 | |
| 364 | 597 | .value { |
| 365 | 598 | color: #303133; |
| 366 | 599 | font-size: 14px; |
| 367 | 600 | font-weight: 500; |
| 601 | + flex: 1; | |
| 602 | + text-align: right; | |
| 368 | 603 | |
| 369 | 604 | &.highlight { |
| 370 | - color: #409EFF; | |
| 371 | - font-weight: 600; | |
| 605 | + color: #3b82f6; | |
| 606 | + font-weight: 700; | |
| 607 | + font-size: 16px; | |
| 372 | 608 | } |
| 373 | 609 | |
| 374 | 610 | &.large { |
| 375 | - font-size: 18px; | |
| 376 | - color: #67C23A; | |
| 611 | + font-size: 24px; | |
| 612 | + font-weight: 700; | |
| 613 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 614 | + -webkit-background-clip: text; | |
| 615 | + -webkit-text-fill-color: transparent; | |
| 616 | + background-clip: text; | |
| 377 | 617 | } |
| 378 | 618 | } |
| 379 | 619 | } |
| ... | ... | @@ -386,36 +626,29 @@ export default { |
| 386 | 626 | flex-direction: column; |
| 387 | 627 | align-items: center; |
| 388 | 628 | justify-content: center; |
| 389 | - padding: 60px 20px; | |
| 629 | + padding: 80px 20px; | |
| 390 | 630 | color: #909399; |
| 391 | 631 | |
| 392 | 632 | i { |
| 393 | - font-size: 48px; | |
| 394 | - margin-bottom: 16px; | |
| 633 | + font-size: 64px; | |
| 634 | + margin-bottom: 20px; | |
| 635 | + color: #cbd5e1; | |
| 636 | + animation: pulse 2s ease-in-out infinite; | |
| 395 | 637 | } |
| 396 | 638 | |
| 397 | - span { | |
| 398 | - font-size: 14px; | |
| 639 | + @keyframes pulse { | |
| 640 | + 0%, 100% { | |
| 641 | + opacity: 1; | |
| 642 | + } | |
| 643 | + 50% { | |
| 644 | + opacity: 0.5; | |
| 645 | + } | |
| 399 | 646 | } |
| 400 | - } | |
| 401 | -} | |
| 402 | 647 | |
| 403 | -// 滚动条样式 | |
| 404 | -.detail-content::-webkit-scrollbar { | |
| 405 | - width: 6px; | |
| 406 | -} | |
| 407 | - | |
| 408 | -.detail-content::-webkit-scrollbar-track { | |
| 409 | - background: #f1f1f1; | |
| 410 | - border-radius: 3px; | |
| 411 | -} | |
| 412 | - | |
| 413 | -.detail-content::-webkit-scrollbar-thumb { | |
| 414 | - background: #c1c1c1; | |
| 415 | - border-radius: 3px; | |
| 416 | - | |
| 417 | - &:hover { | |
| 418 | - background: #a8a8a8; | |
| 648 | + span { | |
| 649 | + font-size: 16px; | |
| 650 | + font-weight: 500; | |
| 651 | + } | |
| 419 | 652 | } |
| 420 | 653 | } |
| 421 | 654 | </style> | ... | ... |
antis-ncc-admin/src/views/wageManagement/business-unit-manager-detail-dialog.vue
| ... | ... | @@ -6,6 +6,8 @@ |
| 6 | 6 | :close-on-click-modal="false" |
| 7 | 7 | @close="handleClose" |
| 8 | 8 | class="detail-dialog" |
| 9 | + :modal="true" | |
| 10 | + :modal-append-to-body="true" | |
| 9 | 11 | > |
| 10 | 12 | <div v-if="detailData" class="detail-content"> |
| 11 | 13 | <!-- 基本信息 --> |
| ... | ... | @@ -278,33 +280,220 @@ export default { |
| 278 | 280 | |
| 279 | 281 | <style lang="scss" scoped> |
| 280 | 282 | .detail-dialog { |
| 283 | + ::v-deep .el-dialog { | |
| 284 | + border-radius: 16px; | |
| 285 | + overflow: hidden; | |
| 286 | + background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #f0f4f8 100%); | |
| 287 | + } | |
| 288 | + | |
| 289 | + ::v-deep .el-dialog__header { | |
| 290 | + background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%); | |
| 291 | + backdrop-filter: blur(10px); | |
| 292 | + padding: 20px 24px; | |
| 293 | + border-bottom: 2px solid rgba(59, 130, 246, 0.2); | |
| 294 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); | |
| 295 | + | |
| 296 | + .el-dialog__title { | |
| 297 | + font-size: 20px; | |
| 298 | + font-weight: 700; | |
| 299 | + background: linear-gradient(135deg, #303133 0%, #606266 100%); | |
| 300 | + -webkit-background-clip: text; | |
| 301 | + -webkit-text-fill-color: transparent; | |
| 302 | + background-clip: text; | |
| 303 | + } | |
| 304 | + | |
| 305 | + .el-dialog__close { | |
| 306 | + color: #606266; | |
| 307 | + font-size: 20px; | |
| 308 | + transition: all 0.3s ease; | |
| 309 | + | |
| 310 | + &:hover { | |
| 311 | + color: #3b82f6; | |
| 312 | + transform: rotate(90deg); | |
| 313 | + } | |
| 314 | + } | |
| 315 | + } | |
| 316 | + | |
| 317 | + ::v-deep .el-dialog__body { | |
| 318 | + padding: 24px; | |
| 319 | + background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #f0f4f8 100%); | |
| 320 | + } | |
| 321 | + | |
| 281 | 322 | .detail-content { |
| 282 | 323 | max-height: 70vh; |
| 283 | 324 | overflow-y: auto; |
| 284 | 325 | padding-right: 10px; |
| 326 | + | |
| 327 | + &::-webkit-scrollbar { | |
| 328 | + width: 8px; | |
| 329 | + } | |
| 330 | + | |
| 331 | + &::-webkit-scrollbar-track { | |
| 332 | + background: rgba(144, 147, 153, 0.1); | |
| 333 | + border-radius: 4px; | |
| 334 | + } | |
| 335 | + | |
| 336 | + &::-webkit-scrollbar-thumb { | |
| 337 | + background: rgba(144, 147, 153, 0.3); | |
| 338 | + border-radius: 4px; | |
| 339 | + transition: background 0.3s ease; | |
| 340 | + | |
| 341 | + &:hover { | |
| 342 | + background: rgba(144, 147, 153, 0.5); | |
| 343 | + } | |
| 344 | + } | |
| 285 | 345 | } |
| 286 | 346 | |
| 287 | 347 | .detail-section { |
| 288 | 348 | margin-bottom: 20px; |
| 289 | - background: #fff; | |
| 290 | - border-radius: 8px; | |
| 291 | - padding: 20px; | |
| 292 | - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
| 349 | + background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%); | |
| 350 | + backdrop-filter: blur(10px); | |
| 351 | + border-radius: 12px; | |
| 352 | + padding: 20px 24px; | |
| 353 | + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04); | |
| 354 | + border: 1px solid rgba(144, 147, 153, 0.15); | |
| 355 | + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| 356 | + position: relative; | |
| 357 | + overflow: hidden; | |
| 358 | + | |
| 359 | + &::before { | |
| 360 | + content: ''; | |
| 361 | + position: absolute; | |
| 362 | + top: 0; | |
| 363 | + left: 0; | |
| 364 | + right: 0; | |
| 365 | + height: 3px; | |
| 366 | + background: linear-gradient(90deg, #3b82f6 0%, #2563eb 50%, #3b82f6 100%); | |
| 367 | + opacity: 0; | |
| 368 | + transition: opacity 0.3s ease; | |
| 369 | + } | |
| 370 | + | |
| 371 | + &:hover { | |
| 372 | + box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06); | |
| 373 | + transform: translateY(-2px); | |
| 374 | + | |
| 375 | + &::before { | |
| 376 | + opacity: 1; | |
| 377 | + } | |
| 378 | + } | |
| 293 | 379 | |
| 294 | 380 | .section-title { |
| 295 | 381 | display: flex; |
| 296 | 382 | align-items: center; |
| 297 | - gap: 8px; | |
| 298 | - margin-bottom: 16px; | |
| 299 | - padding-bottom: 12px; | |
| 300 | - border-bottom: 2px solid #409EFF; | |
| 301 | - font-size: 16px; | |
| 302 | - font-weight: 600; | |
| 303 | - color: #303133; | |
| 383 | + gap: 12px; | |
| 384 | + margin-bottom: 20px; | |
| 385 | + padding-bottom: 16px; | |
| 386 | + border-bottom: 2px solid rgba(59, 130, 246, 0.2); | |
| 387 | + font-size: 18px; | |
| 388 | + font-weight: 700; | |
| 389 | + background: linear-gradient(135deg, #303133 0%, #606266 100%); | |
| 390 | + -webkit-background-clip: text; | |
| 391 | + -webkit-text-fill-color: transparent; | |
| 392 | + background-clip: text; | |
| 393 | + position: relative; | |
| 304 | 394 | |
| 305 | 395 | i { |
| 306 | - color: #409EFF; | |
| 396 | + width: 36px; | |
| 397 | + height: 36px; | |
| 398 | + display: flex; | |
| 399 | + align-items: center; | |
| 400 | + justify-content: center; | |
| 401 | + border-radius: 8px; | |
| 307 | 402 | font-size: 18px; |
| 403 | + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| 404 | + position: relative; | |
| 405 | + overflow: hidden; | |
| 406 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); | |
| 407 | + | |
| 408 | + &::before { | |
| 409 | + content: ''; | |
| 410 | + position: absolute; | |
| 411 | + top: 0; | |
| 412 | + left: -100%; | |
| 413 | + width: 100%; | |
| 414 | + height: 100%; | |
| 415 | + background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); | |
| 416 | + transition: left 0.5s ease; | |
| 417 | + } | |
| 418 | + | |
| 419 | + &.el-icon-user { | |
| 420 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 421 | + color: #3b82f6; | |
| 422 | + } | |
| 423 | + | |
| 424 | + &.el-icon-wallet { | |
| 425 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 426 | + color: #3b82f6; | |
| 427 | + } | |
| 428 | + | |
| 429 | + &.el-icon-date { | |
| 430 | + background: linear-gradient(135deg, rgba(107, 114, 128, 0.15) 0%, rgba(75, 85, 99, 0.15) 100%); | |
| 431 | + color: #6b7280; | |
| 432 | + } | |
| 433 | + | |
| 434 | + &.el-icon-circle-plus { | |
| 435 | + background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(21, 128, 61, 0.15) 100%); | |
| 436 | + color: #22c55e; | |
| 437 | + } | |
| 438 | + | |
| 439 | + &.el-icon-circle-minus { | |
| 440 | + background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%); | |
| 441 | + color: #ef4444; | |
| 442 | + } | |
| 443 | + | |
| 444 | + &.el-icon-document { | |
| 445 | + background: linear-gradient(135deg, rgba(107, 114, 128, 0.15) 0%, rgba(75, 85, 99, 0.15) 100%); | |
| 446 | + color: #6b7280; | |
| 447 | + } | |
| 448 | + | |
| 449 | + &.el-icon-credit-card { | |
| 450 | + background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(219, 39, 119, 0.15) 100%); | |
| 451 | + color: #ec4899; | |
| 452 | + } | |
| 453 | + | |
| 454 | + &:hover { | |
| 455 | + transform: scale(1.1) rotate(5deg); | |
| 456 | + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); | |
| 457 | + | |
| 458 | + &::before { | |
| 459 | + left: 100%; | |
| 460 | + } | |
| 461 | + | |
| 462 | + &.el-icon-user { | |
| 463 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 464 | + color: #fff; | |
| 465 | + } | |
| 466 | + | |
| 467 | + &.el-icon-wallet { | |
| 468 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 469 | + color: #fff; | |
| 470 | + } | |
| 471 | + | |
| 472 | + &.el-icon-date { | |
| 473 | + background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); | |
| 474 | + color: #fff; | |
| 475 | + } | |
| 476 | + | |
| 477 | + &.el-icon-circle-plus { | |
| 478 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 479 | + color: #fff; | |
| 480 | + } | |
| 481 | + | |
| 482 | + &.el-icon-circle-minus { | |
| 483 | + background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); | |
| 484 | + color: #fff; | |
| 485 | + } | |
| 486 | + | |
| 487 | + &.el-icon-document { | |
| 488 | + background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); | |
| 489 | + color: #fff; | |
| 490 | + } | |
| 491 | + | |
| 492 | + &.el-icon-credit-card { | |
| 493 | + background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); | |
| 494 | + color: #fff; | |
| 495 | + } | |
| 496 | + } | |
| 308 | 497 | } |
| 309 | 498 | } |
| 310 | 499 | |
| ... | ... | @@ -319,28 +508,49 @@ export default { |
| 319 | 508 | align-items: center; |
| 320 | 509 | min-width: 200px; |
| 321 | 510 | flex: 0 0 calc(33.333% - 27px); |
| 511 | + padding: 12px 16px; | |
| 512 | + background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(240, 242, 245, 0.8) 100%); | |
| 513 | + border-radius: 8px; | |
| 514 | + border: 1px solid rgba(144, 147, 153, 0.1); | |
| 515 | + transition: all 0.3s ease; | |
| 516 | + cursor: default; | |
| 517 | + | |
| 518 | + &:hover { | |
| 519 | + background: linear-gradient(135deg, rgba(239, 246, 255, 0.9) 0%, rgba(219, 234, 254, 0.9) 100%); | |
| 520 | + border-color: rgba(59, 130, 246, 0.3); | |
| 521 | + transform: translateY(-2px); | |
| 522 | + box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15); | |
| 523 | + } | |
| 322 | 524 | |
| 323 | 525 | .label { |
| 324 | 526 | color: #606266; |
| 325 | 527 | font-size: 14px; |
| 528 | + font-weight: 500; | |
| 326 | 529 | white-space: nowrap; |
| 327 | 530 | margin-right: 8px; |
| 531 | + flex-shrink: 0; | |
| 328 | 532 | } |
| 329 | 533 | |
| 330 | 534 | .value { |
| 331 | 535 | color: #303133; |
| 332 | 536 | font-size: 14px; |
| 333 | 537 | font-weight: 500; |
| 538 | + flex: 1; | |
| 539 | + text-align: right; | |
| 334 | 540 | |
| 335 | 541 | &.highlight { |
| 336 | - color: #409EFF; | |
| 337 | - font-weight: 600; | |
| 542 | + color: #3b82f6; | |
| 543 | + font-weight: 700; | |
| 544 | + font-size: 16px; | |
| 338 | 545 | } |
| 339 | 546 | |
| 340 | 547 | &.large { |
| 341 | - font-size: 18px; | |
| 342 | - color: #67C23A; | |
| 343 | - font-weight: 600; | |
| 548 | + font-size: 24px; | |
| 549 | + font-weight: 700; | |
| 550 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 551 | + -webkit-background-clip: text; | |
| 552 | + -webkit-text-fill-color: transparent; | |
| 553 | + background-clip: text; | |
| 344 | 554 | } |
| 345 | 555 | } |
| 346 | 556 | } |
| ... | ... | @@ -353,36 +563,29 @@ export default { |
| 353 | 563 | flex-direction: column; |
| 354 | 564 | align-items: center; |
| 355 | 565 | justify-content: center; |
| 356 | - padding: 60px 20px; | |
| 566 | + padding: 80px 20px; | |
| 357 | 567 | color: #909399; |
| 358 | 568 | |
| 359 | 569 | i { |
| 360 | - font-size: 48px; | |
| 361 | - margin-bottom: 16px; | |
| 570 | + font-size: 64px; | |
| 571 | + margin-bottom: 20px; | |
| 572 | + color: #cbd5e1; | |
| 573 | + animation: pulse 2s ease-in-out infinite; | |
| 362 | 574 | } |
| 363 | 575 | |
| 364 | - span { | |
| 365 | - font-size: 14px; | |
| 576 | + @keyframes pulse { | |
| 577 | + 0%, 100% { | |
| 578 | + opacity: 1; | |
| 579 | + } | |
| 580 | + 50% { | |
| 581 | + opacity: 0.5; | |
| 582 | + } | |
| 366 | 583 | } |
| 367 | - } | |
| 368 | -} | |
| 369 | - | |
| 370 | -// 滚动条样式 | |
| 371 | -.detail-content::-webkit-scrollbar { | |
| 372 | - width: 6px; | |
| 373 | -} | |
| 374 | - | |
| 375 | -.detail-content::-webkit-scrollbar-track { | |
| 376 | - background: #f1f1f1; | |
| 377 | - border-radius: 3px; | |
| 378 | -} | |
| 379 | 584 | |
| 380 | -.detail-content::-webkit-scrollbar-thumb { | |
| 381 | - background: #c1c1c1; | |
| 382 | - border-radius: 3px; | |
| 383 | - | |
| 384 | - &:hover { | |
| 385 | - background: #a8a8a8; | |
| 585 | + span { | |
| 586 | + font-size: 16px; | |
| 587 | + font-weight: 500; | |
| 588 | + } | |
| 386 | 589 | } |
| 387 | 590 | } |
| 388 | 591 | </style> | ... | ... |
antis-ncc-admin/src/views/wageManagement/detail-dialog.vue
| 1 | 1 | <template> |
| 2 | 2 | <el-dialog title="健康师工资详情" :visible="visible" width="1400px" :close-on-click-modal="false" @close="handleClose" |
| 3 | - class="detail-dialog"> | |
| 3 | + class="detail-dialog" :modal="true" :modal-append-to-body="true"> | |
| 4 | 4 | <div v-if="detailData" class="detail-content"> |
| 5 | 5 | <!-- 基本信息 --> |
| 6 | 6 | <div class="detail-section"> |
| ... | ... | @@ -489,46 +489,100 @@ export default { |
| 489 | 489 | <style lang="scss" scoped> |
| 490 | 490 | .detail-dialog { |
| 491 | 491 | ::v-deep .el-dialog { |
| 492 | - border-radius: 12px; | |
| 492 | + border-radius: 16px; | |
| 493 | 493 | overflow: hidden; |
| 494 | + background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #f0f4f8 100%); | |
| 494 | 495 | } |
| 495 | 496 | |
| 496 | 497 | ::v-deep .el-dialog__header { |
| 497 | - padding: 24px 24px 20px; | |
| 498 | - border-bottom: 1px solid #f1f5f9; | |
| 499 | - background: linear-gradient(to bottom, #ffffff, #f8fafc); | |
| 500 | - } | |
| 498 | + background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%); | |
| 499 | + backdrop-filter: blur(10px); | |
| 500 | + padding: 20px 24px; | |
| 501 | + border-bottom: 2px solid rgba(59, 130, 246, 0.2); | |
| 502 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); | |
| 503 | + | |
| 504 | + .el-dialog__title { | |
| 505 | + font-size: 20px; | |
| 506 | + font-weight: 700; | |
| 507 | + background: linear-gradient(135deg, #303133 0%, #606266 100%); | |
| 508 | + -webkit-background-clip: text; | |
| 509 | + -webkit-text-fill-color: transparent; | |
| 510 | + background-clip: text; | |
| 511 | + } | |
| 501 | 512 | |
| 502 | - ::v-deep .el-dialog__title { | |
| 503 | - font-size: 20px; | |
| 504 | - font-weight: 600; | |
| 505 | - color: #1a202c; | |
| 506 | - letter-spacing: -0.01em; | |
| 513 | + .el-dialog__close { | |
| 514 | + color: #606266; | |
| 515 | + font-size: 20px; | |
| 516 | + transition: all 0.3s ease; | |
| 517 | + | |
| 518 | + &:hover { | |
| 519 | + color: #3b82f6; | |
| 520 | + transform: rotate(90deg); | |
| 521 | + } | |
| 522 | + } | |
| 507 | 523 | } |
| 508 | 524 | |
| 509 | 525 | ::v-deep .el-dialog__body { |
| 510 | 526 | padding: 24px; |
| 511 | - background: #f8fafc; | |
| 527 | + background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #f0f4f8 100%); | |
| 512 | 528 | } |
| 513 | 529 | |
| 514 | 530 | .detail-content { |
| 515 | 531 | max-height: calc(80vh - 120px); |
| 516 | 532 | overflow-y: auto; |
| 517 | - padding-right: 8px; | |
| 518 | - margin-right: -8px; | |
| 533 | + padding-right: 10px; | |
| 534 | + | |
| 535 | + &::-webkit-scrollbar { | |
| 536 | + width: 8px; | |
| 537 | + } | |
| 538 | + | |
| 539 | + &::-webkit-scrollbar-track { | |
| 540 | + background: rgba(144, 147, 153, 0.1); | |
| 541 | + border-radius: 4px; | |
| 542 | + } | |
| 543 | + | |
| 544 | + &::-webkit-scrollbar-thumb { | |
| 545 | + background: rgba(144, 147, 153, 0.3); | |
| 546 | + border-radius: 4px; | |
| 547 | + transition: background 0.3s ease; | |
| 548 | + | |
| 549 | + &:hover { | |
| 550 | + background: rgba(144, 147, 153, 0.5); | |
| 551 | + } | |
| 552 | + } | |
| 519 | 553 | } |
| 520 | 554 | |
| 521 | 555 | .detail-section { |
| 522 | - margin-bottom: 24px; | |
| 523 | - background: #ffffff; | |
| 556 | + margin-bottom: 20px; | |
| 557 | + background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%); | |
| 558 | + backdrop-filter: blur(10px); | |
| 524 | 559 | border-radius: 12px; |
| 525 | - padding: 24px; | |
| 526 | - box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06), 0 1px 2px 0 rgba(0, 0, 0, 0.04); | |
| 527 | - border: 1px solid rgba(0, 0, 0, 0.04); | |
| 528 | - transition: all 0.2s ease; | |
| 560 | + padding: 20px 24px; | |
| 561 | + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04); | |
| 562 | + border: 1px solid rgba(144, 147, 153, 0.15); | |
| 563 | + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| 564 | + position: relative; | |
| 565 | + overflow: hidden; | |
| 566 | + | |
| 567 | + &::before { | |
| 568 | + content: ''; | |
| 569 | + position: absolute; | |
| 570 | + top: 0; | |
| 571 | + left: 0; | |
| 572 | + right: 0; | |
| 573 | + height: 3px; | |
| 574 | + background: linear-gradient(90deg, #3b82f6 0%, #2563eb 50%, #3b82f6 100%); | |
| 575 | + opacity: 0; | |
| 576 | + transition: opacity 0.3s ease; | |
| 577 | + } | |
| 529 | 578 | |
| 530 | 579 | &:hover { |
| 531 | - box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.08), 0 2px 4px 0 rgba(0, 0, 0, 0.04); | |
| 580 | + box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06); | |
| 581 | + transform: translateY(-2px); | |
| 582 | + | |
| 583 | + &::before { | |
| 584 | + opacity: 1; | |
| 585 | + } | |
| 532 | 586 | } |
| 533 | 587 | |
| 534 | 588 | &:last-child { |
| ... | ... | @@ -538,32 +592,192 @@ export default { |
| 538 | 592 | .section-title { |
| 539 | 593 | display: flex; |
| 540 | 594 | align-items: center; |
| 541 | - gap: 10px; | |
| 595 | + gap: 12px; | |
| 542 | 596 | margin-bottom: 20px; |
| 543 | 597 | padding-bottom: 16px; |
| 544 | - border-bottom: 2px solid #e2e8f0; | |
| 545 | - font-size: 17px; | |
| 546 | - font-weight: 600; | |
| 547 | - color: #1a202c; | |
| 548 | - letter-spacing: -0.01em; | |
| 598 | + border-bottom: 2px solid rgba(59, 130, 246, 0.2); | |
| 599 | + font-size: 18px; | |
| 600 | + font-weight: 700; | |
| 601 | + background: linear-gradient(135deg, #303133 0%, #606266 100%); | |
| 602 | + -webkit-background-clip: text; | |
| 603 | + -webkit-text-fill-color: transparent; | |
| 604 | + background-clip: text; | |
| 549 | 605 | position: relative; |
| 550 | 606 | |
| 551 | - &::after { | |
| 552 | - content: ''; | |
| 553 | - position: absolute; | |
| 554 | - bottom: -2px; | |
| 555 | - left: 0; | |
| 556 | - width: 60px; | |
| 557 | - height: 2px; | |
| 558 | - background: linear-gradient(90deg, #409EFF, #67C23A); | |
| 559 | - border-radius: 1px; | |
| 560 | - } | |
| 561 | - | |
| 562 | 607 | i { |
| 563 | - color: #409EFF; | |
| 608 | + width: 36px; | |
| 609 | + height: 36px; | |
| 610 | + display: flex; | |
| 611 | + align-items: center; | |
| 612 | + justify-content: center; | |
| 613 | + border-radius: 8px; | |
| 564 | 614 | font-size: 18px; |
| 565 | - width: 20px; | |
| 566 | - text-align: center; | |
| 615 | + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| 616 | + position: relative; | |
| 617 | + overflow: hidden; | |
| 618 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); | |
| 619 | + | |
| 620 | + &::before { | |
| 621 | + content: ''; | |
| 622 | + position: absolute; | |
| 623 | + top: 0; | |
| 624 | + left: -100%; | |
| 625 | + width: 100%; | |
| 626 | + height: 100%; | |
| 627 | + background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); | |
| 628 | + transition: left 0.5s ease; | |
| 629 | + } | |
| 630 | + | |
| 631 | + &.el-icon-user, | |
| 632 | + &.el-icon-user-solid { | |
| 633 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 634 | + color: #3b82f6; | |
| 635 | + } | |
| 636 | + | |
| 637 | + &.el-icon-trophy { | |
| 638 | + background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.15) 100%); | |
| 639 | + color: #f59e0b; | |
| 640 | + } | |
| 641 | + | |
| 642 | + &.el-icon-money, | |
| 643 | + &.el-icon-coin { | |
| 644 | + background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(21, 128, 61, 0.15) 100%); | |
| 645 | + color: #22c55e; | |
| 646 | + } | |
| 647 | + | |
| 648 | + &.el-icon-medal { | |
| 649 | + background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(147, 51, 234, 0.15) 100%); | |
| 650 | + color: #a855f7; | |
| 651 | + } | |
| 652 | + | |
| 653 | + &.el-icon-wallet { | |
| 654 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 655 | + color: #3b82f6; | |
| 656 | + } | |
| 657 | + | |
| 658 | + &.el-icon-circle-minus { | |
| 659 | + background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%); | |
| 660 | + color: #ef4444; | |
| 661 | + } | |
| 662 | + | |
| 663 | + &.el-icon-circle-plus { | |
| 664 | + background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(21, 128, 61, 0.15) 100%); | |
| 665 | + color: #22c55e; | |
| 666 | + } | |
| 667 | + | |
| 668 | + &.el-icon-document, | |
| 669 | + &.el-icon-document-copy { | |
| 670 | + background: linear-gradient(135deg, rgba(107, 114, 128, 0.15) 0%, rgba(75, 85, 99, 0.15) 100%); | |
| 671 | + color: #6b7280; | |
| 672 | + } | |
| 673 | + | |
| 674 | + &.el-icon-credit-card { | |
| 675 | + background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(219, 39, 119, 0.15) 100%); | |
| 676 | + color: #ec4899; | |
| 677 | + } | |
| 678 | + | |
| 679 | + &.el-icon-date, | |
| 680 | + &.el-icon-calendar { | |
| 681 | + background: linear-gradient(135deg, rgba(107, 114, 128, 0.15) 0%, rgba(75, 85, 99, 0.15) 100%); | |
| 682 | + color: #6b7280; | |
| 683 | + } | |
| 684 | + | |
| 685 | + &.el-icon-data-line, | |
| 686 | + &.el-icon-s-data { | |
| 687 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 688 | + color: #3b82f6; | |
| 689 | + } | |
| 690 | + | |
| 691 | + &.el-icon-goods, | |
| 692 | + &.el-icon-shopping-bag-1 { | |
| 693 | + background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(219, 39, 119, 0.15) 100%); | |
| 694 | + color: #ec4899; | |
| 695 | + } | |
| 696 | + | |
| 697 | + &:not([class*="el-icon-"]) { | |
| 698 | + background: linear-gradient(135deg, rgba(96, 98, 102, 0.1) 0%, rgba(144, 147, 153, 0.1) 100%); | |
| 699 | + color: #606266; | |
| 700 | + } | |
| 701 | + | |
| 702 | + &:hover { | |
| 703 | + transform: scale(1.1) rotate(5deg); | |
| 704 | + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); | |
| 705 | + | |
| 706 | + &::before { | |
| 707 | + left: 100%; | |
| 708 | + } | |
| 709 | + | |
| 710 | + &.el-icon-user, | |
| 711 | + &.el-icon-user-solid { | |
| 712 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 713 | + color: #fff; | |
| 714 | + } | |
| 715 | + | |
| 716 | + &.el-icon-trophy { | |
| 717 | + background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); | |
| 718 | + color: #fff; | |
| 719 | + } | |
| 720 | + | |
| 721 | + &.el-icon-money, | |
| 722 | + &.el-icon-coin { | |
| 723 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 724 | + color: #fff; | |
| 725 | + } | |
| 726 | + | |
| 727 | + &.el-icon-medal { | |
| 728 | + background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%); | |
| 729 | + color: #fff; | |
| 730 | + } | |
| 731 | + | |
| 732 | + &.el-icon-wallet { | |
| 733 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 734 | + color: #fff; | |
| 735 | + } | |
| 736 | + | |
| 737 | + &.el-icon-circle-minus { | |
| 738 | + background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); | |
| 739 | + color: #fff; | |
| 740 | + } | |
| 741 | + | |
| 742 | + &.el-icon-circle-plus { | |
| 743 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 744 | + color: #fff; | |
| 745 | + } | |
| 746 | + | |
| 747 | + &.el-icon-document, | |
| 748 | + &.el-icon-document-copy { | |
| 749 | + background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); | |
| 750 | + color: #fff; | |
| 751 | + } | |
| 752 | + | |
| 753 | + &.el-icon-credit-card { | |
| 754 | + background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); | |
| 755 | + color: #fff; | |
| 756 | + } | |
| 757 | + | |
| 758 | + &.el-icon-date, | |
| 759 | + &.el-icon-calendar { | |
| 760 | + background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); | |
| 761 | + color: #fff; | |
| 762 | + } | |
| 763 | + | |
| 764 | + &.el-icon-data-line, | |
| 765 | + &.el-icon-s-data { | |
| 766 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 767 | + color: #fff; | |
| 768 | + } | |
| 769 | + | |
| 770 | + &.el-icon-goods, | |
| 771 | + &.el-icon-shopping-bag-1 { | |
| 772 | + background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); | |
| 773 | + color: #fff; | |
| 774 | + } | |
| 775 | + | |
| 776 | + &:not([class*="el-icon-"]) { | |
| 777 | + background: linear-gradient(135deg, #606266 0%, #909399 100%); | |
| 778 | + color: #fff; | |
| 779 | + } | |
| 780 | + } | |
| 567 | 781 | } |
| 568 | 782 | } |
| 569 | 783 | |
| ... | ... | @@ -577,21 +791,23 @@ export default { |
| 577 | 791 | display: flex; |
| 578 | 792 | align-items: flex-start; |
| 579 | 793 | padding: 14px 16px; |
| 580 | - background: #f8fafc; | |
| 794 | + background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(240, 242, 245, 0.8) 100%); | |
| 581 | 795 | border-radius: 8px; |
| 582 | - border: 1px solid rgba(0, 0, 0, 0.04); | |
| 583 | - transition: all 0.2s ease; | |
| 796 | + border: 1px solid rgba(144, 147, 153, 0.1); | |
| 797 | + transition: all 0.3s ease; | |
| 584 | 798 | min-height: 48px; |
| 799 | + cursor: default; | |
| 585 | 800 | |
| 586 | 801 | &:hover { |
| 587 | - background: #f1f5f9; | |
| 588 | - border-color: rgba(64, 158, 255, 0.2); | |
| 589 | - transform: translateY(-1px); | |
| 802 | + background: linear-gradient(135deg, rgba(239, 246, 255, 0.9) 0%, rgba(219, 234, 254, 0.9) 100%); | |
| 803 | + border-color: rgba(59, 130, 246, 0.3); | |
| 804 | + transform: translateY(-2px); | |
| 805 | + box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15); | |
| 590 | 806 | } |
| 591 | 807 | |
| 592 | 808 | .label { |
| 593 | - color: #718096; | |
| 594 | - font-size: 13px; | |
| 809 | + color: #606266; | |
| 810 | + font-size: 14px; | |
| 595 | 811 | font-weight: 500; |
| 596 | 812 | white-space: nowrap; |
| 597 | 813 | margin-right: 12px; |
| ... | ... | @@ -600,24 +816,26 @@ export default { |
| 600 | 816 | } |
| 601 | 817 | |
| 602 | 818 | .value { |
| 603 | - color: #1a202c; | |
| 819 | + color: #303133; | |
| 604 | 820 | font-size: 14px; |
| 605 | - font-weight: 600; | |
| 821 | + font-weight: 500; | |
| 606 | 822 | word-break: break-word; |
| 607 | 823 | flex: 1; |
| 608 | 824 | text-align: right; |
| 609 | 825 | |
| 610 | 826 | &.highlight { |
| 611 | - color: #409EFF; | |
| 827 | + color: #3b82f6; | |
| 612 | 828 | font-weight: 700; |
| 613 | - font-size: 15px; | |
| 829 | + font-size: 16px; | |
| 614 | 830 | } |
| 615 | 831 | |
| 616 | 832 | &.large { |
| 617 | 833 | font-size: 24px; |
| 618 | 834 | font-weight: 700; |
| 619 | - color: #67C23A; | |
| 620 | - letter-spacing: -0.02em; | |
| 835 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 836 | + -webkit-background-clip: text; | |
| 837 | + -webkit-text-fill-color: transparent; | |
| 838 | + background-clip: text; | |
| 621 | 839 | } |
| 622 | 840 | } |
| 623 | 841 | } |
| ... | ... | @@ -631,16 +849,26 @@ export default { |
| 631 | 849 | align-items: center; |
| 632 | 850 | justify-content: center; |
| 633 | 851 | padding: 80px 20px; |
| 634 | - color: #a0aec0; | |
| 852 | + color: #909399; | |
| 635 | 853 | |
| 636 | 854 | i { |
| 637 | - font-size: 56px; | |
| 855 | + font-size: 64px; | |
| 638 | 856 | margin-bottom: 20px; |
| 639 | - opacity: 0.6; | |
| 857 | + color: #cbd5e1; | |
| 858 | + animation: pulse 2s ease-in-out infinite; | |
| 859 | + } | |
| 860 | + | |
| 861 | + @keyframes pulse { | |
| 862 | + 0%, 100% { | |
| 863 | + opacity: 1; | |
| 864 | + } | |
| 865 | + 50% { | |
| 866 | + opacity: 0.5; | |
| 867 | + } | |
| 640 | 868 | } |
| 641 | 869 | |
| 642 | 870 | span { |
| 643 | - font-size: 15px; | |
| 871 | + font-size: 16px; | |
| 644 | 872 | font-weight: 500; |
| 645 | 873 | } |
| 646 | 874 | } |
| ... | ... | @@ -649,24 +877,4 @@ export default { |
| 649 | 877 | text-align: right; |
| 650 | 878 | } |
| 651 | 879 | } |
| 652 | - | |
| 653 | -// 滚动条样式 | |
| 654 | -.detail-content::-webkit-scrollbar { | |
| 655 | - width: 8px; | |
| 656 | -} | |
| 657 | - | |
| 658 | -.detail-content::-webkit-scrollbar-track { | |
| 659 | - background: #f8fafc; | |
| 660 | - border-radius: 4px; | |
| 661 | -} | |
| 662 | - | |
| 663 | -.detail-content::-webkit-scrollbar-thumb { | |
| 664 | - background: #cbd5e0; | |
| 665 | - border-radius: 4px; | |
| 666 | - transition: background 0.2s ease; | |
| 667 | - | |
| 668 | - &:hover { | |
| 669 | - background: #a0aec0; | |
| 670 | - } | |
| 671 | -} | |
| 672 | 880 | </style> | ... | ... |
antis-ncc-admin/src/views/wageManagement/director-detail-dialog.vue
| ... | ... | @@ -6,6 +6,8 @@ |
| 6 | 6 | :close-on-click-modal="false" |
| 7 | 7 | @close="handleClose" |
| 8 | 8 | class="detail-dialog" |
| 9 | + :modal="true" | |
| 10 | + :modal-append-to-body="true" | |
| 9 | 11 | > |
| 10 | 12 | <div v-if="detailData" class="detail-content"> |
| 11 | 13 | <!-- 基本信息 --> |
| ... | ... | @@ -616,33 +618,292 @@ export default { |
| 616 | 618 | |
| 617 | 619 | <style lang="scss" scoped> |
| 618 | 620 | .detail-dialog { |
| 621 | + ::v-deep .el-dialog { | |
| 622 | + border-radius: 16px; | |
| 623 | + overflow: hidden; | |
| 624 | + background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #f0f4f8 100%); | |
| 625 | + } | |
| 626 | + | |
| 627 | + ::v-deep .el-dialog__header { | |
| 628 | + background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%); | |
| 629 | + backdrop-filter: blur(10px); | |
| 630 | + padding: 20px 24px; | |
| 631 | + border-bottom: 2px solid rgba(59, 130, 246, 0.2); | |
| 632 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); | |
| 633 | + | |
| 634 | + .el-dialog__title { | |
| 635 | + font-size: 20px; | |
| 636 | + font-weight: 700; | |
| 637 | + background: linear-gradient(135deg, #303133 0%, #606266 100%); | |
| 638 | + -webkit-background-clip: text; | |
| 639 | + -webkit-text-fill-color: transparent; | |
| 640 | + background-clip: text; | |
| 641 | + } | |
| 642 | + | |
| 643 | + .el-dialog__close { | |
| 644 | + color: #606266; | |
| 645 | + font-size: 20px; | |
| 646 | + transition: all 0.3s ease; | |
| 647 | + | |
| 648 | + &:hover { | |
| 649 | + color: #3b82f6; | |
| 650 | + transform: rotate(90deg); | |
| 651 | + } | |
| 652 | + } | |
| 653 | + } | |
| 654 | + | |
| 655 | + ::v-deep .el-dialog__body { | |
| 656 | + padding: 24px; | |
| 657 | + background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #f0f4f8 100%); | |
| 658 | + } | |
| 659 | + | |
| 619 | 660 | .detail-content { |
| 620 | 661 | max-height: 70vh; |
| 621 | 662 | overflow-y: auto; |
| 622 | 663 | padding-right: 10px; |
| 664 | + | |
| 665 | + &::-webkit-scrollbar { | |
| 666 | + width: 8px; | |
| 667 | + } | |
| 668 | + | |
| 669 | + &::-webkit-scrollbar-track { | |
| 670 | + background: rgba(144, 147, 153, 0.1); | |
| 671 | + border-radius: 4px; | |
| 672 | + } | |
| 673 | + | |
| 674 | + &::-webkit-scrollbar-thumb { | |
| 675 | + background: rgba(144, 147, 153, 0.3); | |
| 676 | + border-radius: 4px; | |
| 677 | + transition: background 0.3s ease; | |
| 678 | + | |
| 679 | + &:hover { | |
| 680 | + background: rgba(144, 147, 153, 0.5); | |
| 681 | + } | |
| 682 | + } | |
| 623 | 683 | } |
| 624 | 684 | |
| 625 | 685 | .detail-section { |
| 626 | 686 | margin-bottom: 20px; |
| 627 | - background: #fff; | |
| 628 | - border-radius: 8px; | |
| 629 | - padding: 20px; | |
| 630 | - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
| 687 | + background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%); | |
| 688 | + backdrop-filter: blur(10px); | |
| 689 | + border-radius: 12px; | |
| 690 | + padding: 20px 24px; | |
| 691 | + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04); | |
| 692 | + border: 1px solid rgba(144, 147, 153, 0.15); | |
| 693 | + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| 694 | + position: relative; | |
| 695 | + overflow: hidden; | |
| 696 | + | |
| 697 | + &::before { | |
| 698 | + content: ''; | |
| 699 | + position: absolute; | |
| 700 | + top: 0; | |
| 701 | + left: 0; | |
| 702 | + right: 0; | |
| 703 | + height: 3px; | |
| 704 | + background: linear-gradient(90deg, #3b82f6 0%, #2563eb 50%, #3b82f6 100%); | |
| 705 | + opacity: 0; | |
| 706 | + transition: opacity 0.3s ease; | |
| 707 | + } | |
| 708 | + | |
| 709 | + &:hover { | |
| 710 | + box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06); | |
| 711 | + transform: translateY(-2px); | |
| 712 | + | |
| 713 | + &::before { | |
| 714 | + opacity: 1; | |
| 715 | + } | |
| 716 | + } | |
| 631 | 717 | |
| 632 | 718 | .section-title { |
| 633 | 719 | display: flex; |
| 634 | 720 | align-items: center; |
| 635 | - gap: 8px; | |
| 636 | - margin-bottom: 16px; | |
| 637 | - padding-bottom: 12px; | |
| 638 | - border-bottom: 2px solid #409EFF; | |
| 639 | - font-size: 16px; | |
| 640 | - font-weight: 600; | |
| 641 | - color: #303133; | |
| 721 | + gap: 12px; | |
| 722 | + margin-bottom: 20px; | |
| 723 | + padding-bottom: 16px; | |
| 724 | + border-bottom: 2px solid rgba(59, 130, 246, 0.2); | |
| 725 | + font-size: 18px; | |
| 726 | + font-weight: 700; | |
| 727 | + background: linear-gradient(135deg, #303133 0%, #606266 100%); | |
| 728 | + -webkit-background-clip: text; | |
| 729 | + -webkit-text-fill-color: transparent; | |
| 730 | + background-clip: text; | |
| 731 | + position: relative; | |
| 642 | 732 | |
| 643 | 733 | i { |
| 644 | - color: #409EFF; | |
| 734 | + width: 36px; | |
| 735 | + height: 36px; | |
| 736 | + display: flex; | |
| 737 | + align-items: center; | |
| 738 | + justify-content: center; | |
| 739 | + border-radius: 8px; | |
| 645 | 740 | font-size: 18px; |
| 741 | + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| 742 | + position: relative; | |
| 743 | + overflow: hidden; | |
| 744 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); | |
| 745 | + | |
| 746 | + &::before { | |
| 747 | + content: ''; | |
| 748 | + position: absolute; | |
| 749 | + top: 0; | |
| 750 | + left: -100%; | |
| 751 | + width: 100%; | |
| 752 | + height: 100%; | |
| 753 | + background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); | |
| 754 | + transition: left 0.5s ease; | |
| 755 | + } | |
| 756 | + | |
| 757 | + &.el-icon-user, | |
| 758 | + &.el-icon-user-solid { | |
| 759 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 760 | + color: #3b82f6; | |
| 761 | + } | |
| 762 | + | |
| 763 | + &.el-icon-trophy { | |
| 764 | + background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.15) 100%); | |
| 765 | + color: #f59e0b; | |
| 766 | + } | |
| 767 | + | |
| 768 | + &.el-icon-money, | |
| 769 | + &.el-icon-coin { | |
| 770 | + background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(21, 128, 61, 0.15) 100%); | |
| 771 | + color: #22c55e; | |
| 772 | + } | |
| 773 | + | |
| 774 | + &.el-icon-medal { | |
| 775 | + background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(147, 51, 234, 0.15) 100%); | |
| 776 | + color: #a855f7; | |
| 777 | + } | |
| 778 | + | |
| 779 | + &.el-icon-wallet { | |
| 780 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 781 | + color: #3b82f6; | |
| 782 | + } | |
| 783 | + | |
| 784 | + &.el-icon-circle-minus { | |
| 785 | + background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%); | |
| 786 | + color: #ef4444; | |
| 787 | + } | |
| 788 | + | |
| 789 | + &.el-icon-circle-plus { | |
| 790 | + background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(21, 128, 61, 0.15) 100%); | |
| 791 | + color: #22c55e; | |
| 792 | + } | |
| 793 | + | |
| 794 | + &.el-icon-document, | |
| 795 | + &.el-icon-document-copy { | |
| 796 | + background: linear-gradient(135deg, rgba(107, 114, 128, 0.15) 0%, rgba(75, 85, 99, 0.15) 100%); | |
| 797 | + color: #6b7280; | |
| 798 | + } | |
| 799 | + | |
| 800 | + &.el-icon-credit-card { | |
| 801 | + background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(219, 39, 119, 0.15) 100%); | |
| 802 | + color: #ec4899; | |
| 803 | + } | |
| 804 | + | |
| 805 | + &.el-icon-date, | |
| 806 | + &.el-icon-calendar { | |
| 807 | + background: linear-gradient(135deg, rgba(107, 114, 128, 0.15) 0%, rgba(75, 85, 99, 0.15) 100%); | |
| 808 | + color: #6b7280; | |
| 809 | + } | |
| 810 | + | |
| 811 | + &.el-icon-data-line, | |
| 812 | + &.el-icon-s-data { | |
| 813 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 814 | + color: #3b82f6; | |
| 815 | + } | |
| 816 | + | |
| 817 | + &.el-icon-goods, | |
| 818 | + &.el-icon-shopping-bag-1 { | |
| 819 | + background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(219, 39, 119, 0.15) 100%); | |
| 820 | + color: #ec4899; | |
| 821 | + } | |
| 822 | + | |
| 823 | + &:not([class*="el-icon-"]) { | |
| 824 | + background: linear-gradient(135deg, rgba(96, 98, 102, 0.1) 0%, rgba(144, 147, 153, 0.1) 100%); | |
| 825 | + color: #606266; | |
| 826 | + } | |
| 827 | + | |
| 828 | + &:hover { | |
| 829 | + transform: scale(1.1) rotate(5deg); | |
| 830 | + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); | |
| 831 | + | |
| 832 | + &::before { | |
| 833 | + left: 100%; | |
| 834 | + } | |
| 835 | + | |
| 836 | + &.el-icon-user, | |
| 837 | + &.el-icon-user-solid { | |
| 838 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 839 | + color: #fff; | |
| 840 | + } | |
| 841 | + | |
| 842 | + &.el-icon-trophy { | |
| 843 | + background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); | |
| 844 | + color: #fff; | |
| 845 | + } | |
| 846 | + | |
| 847 | + &.el-icon-money, | |
| 848 | + &.el-icon-coin { | |
| 849 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 850 | + color: #fff; | |
| 851 | + } | |
| 852 | + | |
| 853 | + &.el-icon-medal { | |
| 854 | + background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%); | |
| 855 | + color: #fff; | |
| 856 | + } | |
| 857 | + | |
| 858 | + &.el-icon-wallet { | |
| 859 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 860 | + color: #fff; | |
| 861 | + } | |
| 862 | + | |
| 863 | + &.el-icon-circle-minus { | |
| 864 | + background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); | |
| 865 | + color: #fff; | |
| 866 | + } | |
| 867 | + | |
| 868 | + &.el-icon-circle-plus { | |
| 869 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 870 | + color: #fff; | |
| 871 | + } | |
| 872 | + | |
| 873 | + &.el-icon-document, | |
| 874 | + &.el-icon-document-copy { | |
| 875 | + background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); | |
| 876 | + color: #fff; | |
| 877 | + } | |
| 878 | + | |
| 879 | + &.el-icon-credit-card { | |
| 880 | + background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); | |
| 881 | + color: #fff; | |
| 882 | + } | |
| 883 | + | |
| 884 | + &.el-icon-date, | |
| 885 | + &.el-icon-calendar { | |
| 886 | + background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); | |
| 887 | + color: #fff; | |
| 888 | + } | |
| 889 | + | |
| 890 | + &.el-icon-data-line, | |
| 891 | + &.el-icon-s-data { | |
| 892 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 893 | + color: #fff; | |
| 894 | + } | |
| 895 | + | |
| 896 | + &.el-icon-goods, | |
| 897 | + &.el-icon-shopping-bag-1 { | |
| 898 | + background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); | |
| 899 | + color: #fff; | |
| 900 | + } | |
| 901 | + | |
| 902 | + &:not([class*="el-icon-"]) { | |
| 903 | + background: linear-gradient(135deg, #606266 0%, #909399 100%); | |
| 904 | + color: #fff; | |
| 905 | + } | |
| 906 | + } | |
| 646 | 907 | } |
| 647 | 908 | } |
| 648 | 909 | |
| ... | ... | @@ -657,27 +918,49 @@ export default { |
| 657 | 918 | align-items: center; |
| 658 | 919 | min-width: 200px; |
| 659 | 920 | flex: 0 0 calc(33.333% - 27px); |
| 921 | + padding: 12px 16px; | |
| 922 | + background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(240, 242, 245, 0.8) 100%); | |
| 923 | + border-radius: 8px; | |
| 924 | + border: 1px solid rgba(144, 147, 153, 0.1); | |
| 925 | + transition: all 0.3s ease; | |
| 926 | + cursor: default; | |
| 927 | + | |
| 928 | + &:hover { | |
| 929 | + background: linear-gradient(135deg, rgba(239, 246, 255, 0.9) 0%, rgba(219, 234, 254, 0.9) 100%); | |
| 930 | + border-color: rgba(59, 130, 246, 0.3); | |
| 931 | + transform: translateY(-2px); | |
| 932 | + box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15); | |
| 933 | + } | |
| 660 | 934 | |
| 661 | 935 | .label { |
| 662 | 936 | color: #606266; |
| 663 | 937 | font-size: 14px; |
| 938 | + font-weight: 500; | |
| 664 | 939 | white-space: nowrap; |
| 665 | 940 | margin-right: 8px; |
| 941 | + flex-shrink: 0; | |
| 666 | 942 | } |
| 667 | 943 | |
| 668 | 944 | .value { |
| 669 | 945 | color: #303133; |
| 670 | 946 | font-size: 14px; |
| 671 | 947 | font-weight: 500; |
| 948 | + flex: 1; | |
| 949 | + text-align: right; | |
| 672 | 950 | |
| 673 | 951 | &.highlight { |
| 674 | - color: #409EFF; | |
| 675 | - font-weight: 600; | |
| 952 | + color: #3b82f6; | |
| 953 | + font-weight: 700; | |
| 954 | + font-size: 16px; | |
| 676 | 955 | } |
| 677 | 956 | |
| 678 | 957 | &.large { |
| 679 | - font-size: 18px; | |
| 680 | - color: #67C23A; | |
| 958 | + font-size: 24px; | |
| 959 | + font-weight: 700; | |
| 960 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 961 | + -webkit-background-clip: text; | |
| 962 | + -webkit-text-fill-color: transparent; | |
| 963 | + background-clip: text; | |
| 681 | 964 | } |
| 682 | 965 | } |
| 683 | 966 | } |
| ... | ... | @@ -690,36 +973,29 @@ export default { |
| 690 | 973 | flex-direction: column; |
| 691 | 974 | align-items: center; |
| 692 | 975 | justify-content: center; |
| 693 | - padding: 60px 20px; | |
| 976 | + padding: 80px 20px; | |
| 694 | 977 | color: #909399; |
| 695 | 978 | |
| 696 | 979 | i { |
| 697 | - font-size: 48px; | |
| 698 | - margin-bottom: 16px; | |
| 980 | + font-size: 64px; | |
| 981 | + margin-bottom: 20px; | |
| 982 | + color: #cbd5e1; | |
| 983 | + animation: pulse 2s ease-in-out infinite; | |
| 699 | 984 | } |
| 700 | 985 | |
| 701 | - span { | |
| 702 | - font-size: 14px; | |
| 986 | + @keyframes pulse { | |
| 987 | + 0%, 100% { | |
| 988 | + opacity: 1; | |
| 989 | + } | |
| 990 | + 50% { | |
| 991 | + opacity: 0.5; | |
| 992 | + } | |
| 703 | 993 | } |
| 704 | - } | |
| 705 | -} | |
| 706 | - | |
| 707 | -// 滚动条样式 | |
| 708 | -.detail-content::-webkit-scrollbar { | |
| 709 | - width: 6px; | |
| 710 | -} | |
| 711 | 994 | |
| 712 | -.detail-content::-webkit-scrollbar-track { | |
| 713 | - background: #f1f1f1; | |
| 714 | - border-radius: 3px; | |
| 715 | -} | |
| 716 | - | |
| 717 | -.detail-content::-webkit-scrollbar-thumb { | |
| 718 | - background: #c1c1c1; | |
| 719 | - border-radius: 3px; | |
| 720 | - | |
| 721 | - &:hover { | |
| 722 | - background: #a8a8a8; | |
| 995 | + span { | |
| 996 | + font-size: 16px; | |
| 997 | + font-weight: 500; | |
| 998 | + } | |
| 723 | 999 | } |
| 724 | 1000 | } |
| 725 | 1001 | </style> | ... | ... |
antis-ncc-admin/src/views/wageManagement/headquarters-stock-detail-dialog.vue
| ... | ... | @@ -6,6 +6,8 @@ |
| 6 | 6 | :close-on-click-modal="false" |
| 7 | 7 | @close="handleClose" |
| 8 | 8 | class="detail-dialog" |
| 9 | + :modal="true" | |
| 10 | + :modal-append-to-body="true" | |
| 9 | 11 | > |
| 10 | 12 | <div v-if="detailData" class="detail-content"> |
| 11 | 13 | <!-- 基本信息 --> |
| ... | ... | @@ -154,36 +156,292 @@ export default { |
| 154 | 156 | |
| 155 | 157 | <style lang="scss" scoped> |
| 156 | 158 | .detail-dialog { |
| 159 | + ::v-deep .el-dialog { | |
| 160 | + border-radius: 16px; | |
| 161 | + overflow: hidden; | |
| 162 | + background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #f0f4f8 100%); | |
| 163 | + } | |
| 164 | + | |
| 165 | + ::v-deep .el-dialog__header { | |
| 166 | + background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%); | |
| 167 | + backdrop-filter: blur(10px); | |
| 168 | + padding: 20px 24px; | |
| 169 | + border-bottom: 2px solid rgba(59, 130, 246, 0.2); | |
| 170 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); | |
| 171 | + | |
| 172 | + .el-dialog__title { | |
| 173 | + font-size: 20px; | |
| 174 | + font-weight: 700; | |
| 175 | + background: linear-gradient(135deg, #303133 0%, #606266 100%); | |
| 176 | + -webkit-background-clip: text; | |
| 177 | + -webkit-text-fill-color: transparent; | |
| 178 | + background-clip: text; | |
| 179 | + } | |
| 180 | + | |
| 181 | + .el-dialog__close { | |
| 182 | + color: #606266; | |
| 183 | + font-size: 20px; | |
| 184 | + transition: all 0.3s ease; | |
| 185 | + | |
| 186 | + &:hover { | |
| 187 | + color: #3b82f6; | |
| 188 | + transform: rotate(90deg); | |
| 189 | + } | |
| 190 | + } | |
| 191 | + } | |
| 192 | + | |
| 193 | + ::v-deep .el-dialog__body { | |
| 194 | + padding: 24px; | |
| 195 | + background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #f0f4f8 100%); | |
| 196 | + } | |
| 197 | + | |
| 157 | 198 | .detail-content { |
| 158 | 199 | max-height: 70vh; |
| 159 | 200 | overflow-y: auto; |
| 160 | - padding: 20px; | |
| 201 | + padding-right: 10px; | |
| 202 | + | |
| 203 | + &::-webkit-scrollbar { | |
| 204 | + width: 8px; | |
| 205 | + } | |
| 206 | + | |
| 207 | + &::-webkit-scrollbar-track { | |
| 208 | + background: rgba(144, 147, 153, 0.1); | |
| 209 | + border-radius: 4px; | |
| 210 | + } | |
| 211 | + | |
| 212 | + &::-webkit-scrollbar-thumb { | |
| 213 | + background: rgba(144, 147, 153, 0.3); | |
| 214 | + border-radius: 4px; | |
| 215 | + transition: background 0.3s ease; | |
| 216 | + | |
| 217 | + &:hover { | |
| 218 | + background: rgba(144, 147, 153, 0.5); | |
| 219 | + } | |
| 220 | + } | |
| 161 | 221 | } |
| 162 | 222 | |
| 163 | 223 | .detail-section { |
| 164 | - margin-bottom: 24px; | |
| 165 | - background: #f9f9f9; | |
| 166 | - border-radius: 8px; | |
| 167 | - padding: 16px; | |
| 224 | + margin-bottom: 20px; | |
| 225 | + background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%); | |
| 226 | + backdrop-filter: blur(10px); | |
| 227 | + border-radius: 12px; | |
| 228 | + padding: 20px 24px; | |
| 229 | + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04); | |
| 230 | + border: 1px solid rgba(144, 147, 153, 0.15); | |
| 231 | + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| 232 | + position: relative; | |
| 233 | + overflow: hidden; | |
| 168 | 234 | |
| 169 | - &:last-child { | |
| 170 | - margin-bottom: 0; | |
| 235 | + &::before { | |
| 236 | + content: ''; | |
| 237 | + position: absolute; | |
| 238 | + top: 0; | |
| 239 | + left: 0; | |
| 240 | + right: 0; | |
| 241 | + height: 3px; | |
| 242 | + background: linear-gradient(90deg, #3b82f6 0%, #2563eb 50%, #3b82f6 100%); | |
| 243 | + opacity: 0; | |
| 244 | + transition: opacity 0.3s ease; | |
| 245 | + } | |
| 246 | + | |
| 247 | + &:hover { | |
| 248 | + box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06); | |
| 249 | + transform: translateY(-2px); | |
| 250 | + | |
| 251 | + &::before { | |
| 252 | + opacity: 1; | |
| 253 | + } | |
| 171 | 254 | } |
| 172 | 255 | |
| 173 | 256 | .section-title { |
| 174 | 257 | display: flex; |
| 175 | 258 | align-items: center; |
| 176 | - gap: 8px; | |
| 177 | - margin-bottom: 16px; | |
| 178 | - font-size: 16px; | |
| 179 | - font-weight: 600; | |
| 180 | - color: #303133; | |
| 181 | - border-bottom: 2px solid #409EFF; | |
| 182 | - padding-bottom: 8px; | |
| 259 | + gap: 12px; | |
| 260 | + margin-bottom: 20px; | |
| 261 | + padding-bottom: 16px; | |
| 262 | + border-bottom: 2px solid rgba(59, 130, 246, 0.2); | |
| 263 | + font-size: 18px; | |
| 264 | + font-weight: 700; | |
| 265 | + background: linear-gradient(135deg, #303133 0%, #606266 100%); | |
| 266 | + -webkit-background-clip: text; | |
| 267 | + -webkit-text-fill-color: transparent; | |
| 268 | + background-clip: text; | |
| 269 | + position: relative; | |
| 183 | 270 | |
| 184 | 271 | i { |
| 185 | - color: #409EFF; | |
| 272 | + width: 36px; | |
| 273 | + height: 36px; | |
| 274 | + display: flex; | |
| 275 | + align-items: center; | |
| 276 | + justify-content: center; | |
| 277 | + border-radius: 8px; | |
| 186 | 278 | font-size: 18px; |
| 279 | + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| 280 | + position: relative; | |
| 281 | + overflow: hidden; | |
| 282 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); | |
| 283 | + | |
| 284 | + &::before { | |
| 285 | + content: ''; | |
| 286 | + position: absolute; | |
| 287 | + top: 0; | |
| 288 | + left: -100%; | |
| 289 | + width: 100%; | |
| 290 | + height: 100%; | |
| 291 | + background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); | |
| 292 | + transition: left 0.5s ease; | |
| 293 | + } | |
| 294 | + | |
| 295 | + &.el-icon-user, | |
| 296 | + &.el-icon-user-solid { | |
| 297 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 298 | + color: #3b82f6; | |
| 299 | + } | |
| 300 | + | |
| 301 | + &.el-icon-trophy { | |
| 302 | + background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.15) 100%); | |
| 303 | + color: #f59e0b; | |
| 304 | + } | |
| 305 | + | |
| 306 | + &.el-icon-money, | |
| 307 | + &.el-icon-coin { | |
| 308 | + background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(21, 128, 61, 0.15) 100%); | |
| 309 | + color: #22c55e; | |
| 310 | + } | |
| 311 | + | |
| 312 | + &.el-icon-medal { | |
| 313 | + background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(147, 51, 234, 0.15) 100%); | |
| 314 | + color: #a855f7; | |
| 315 | + } | |
| 316 | + | |
| 317 | + &.el-icon-wallet { | |
| 318 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 319 | + color: #3b82f6; | |
| 320 | + } | |
| 321 | + | |
| 322 | + &.el-icon-circle-minus { | |
| 323 | + background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%); | |
| 324 | + color: #ef4444; | |
| 325 | + } | |
| 326 | + | |
| 327 | + &.el-icon-circle-plus { | |
| 328 | + background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(21, 128, 61, 0.15) 100%); | |
| 329 | + color: #22c55e; | |
| 330 | + } | |
| 331 | + | |
| 332 | + &.el-icon-document, | |
| 333 | + &.el-icon-document-copy { | |
| 334 | + background: linear-gradient(135deg, rgba(107, 114, 128, 0.15) 0%, rgba(75, 85, 99, 0.15) 100%); | |
| 335 | + color: #6b7280; | |
| 336 | + } | |
| 337 | + | |
| 338 | + &.el-icon-credit-card { | |
| 339 | + background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(219, 39, 119, 0.15) 100%); | |
| 340 | + color: #ec4899; | |
| 341 | + } | |
| 342 | + | |
| 343 | + &.el-icon-date, | |
| 344 | + &.el-icon-calendar { | |
| 345 | + background: linear-gradient(135deg, rgba(107, 114, 128, 0.15) 0%, rgba(75, 85, 99, 0.15) 100%); | |
| 346 | + color: #6b7280; | |
| 347 | + } | |
| 348 | + | |
| 349 | + &.el-icon-data-line, | |
| 350 | + &.el-icon-s-data { | |
| 351 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 352 | + color: #3b82f6; | |
| 353 | + } | |
| 354 | + | |
| 355 | + &.el-icon-goods, | |
| 356 | + &.el-icon-shopping-bag-1 { | |
| 357 | + background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(219, 39, 119, 0.15) 100%); | |
| 358 | + color: #ec4899; | |
| 359 | + } | |
| 360 | + | |
| 361 | + &:not([class*="el-icon-"]) { | |
| 362 | + background: linear-gradient(135deg, rgba(96, 98, 102, 0.1) 0%, rgba(144, 147, 153, 0.1) 100%); | |
| 363 | + color: #606266; | |
| 364 | + } | |
| 365 | + | |
| 366 | + &:hover { | |
| 367 | + transform: scale(1.1) rotate(5deg); | |
| 368 | + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); | |
| 369 | + | |
| 370 | + &::before { | |
| 371 | + left: 100%; | |
| 372 | + } | |
| 373 | + | |
| 374 | + &.el-icon-user, | |
| 375 | + &.el-icon-user-solid { | |
| 376 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 377 | + color: #fff; | |
| 378 | + } | |
| 379 | + | |
| 380 | + &.el-icon-trophy { | |
| 381 | + background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); | |
| 382 | + color: #fff; | |
| 383 | + } | |
| 384 | + | |
| 385 | + &.el-icon-money, | |
| 386 | + &.el-icon-coin { | |
| 387 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 388 | + color: #fff; | |
| 389 | + } | |
| 390 | + | |
| 391 | + &.el-icon-medal { | |
| 392 | + background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%); | |
| 393 | + color: #fff; | |
| 394 | + } | |
| 395 | + | |
| 396 | + &.el-icon-wallet { | |
| 397 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 398 | + color: #fff; | |
| 399 | + } | |
| 400 | + | |
| 401 | + &.el-icon-circle-minus { | |
| 402 | + background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); | |
| 403 | + color: #fff; | |
| 404 | + } | |
| 405 | + | |
| 406 | + &.el-icon-circle-plus { | |
| 407 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 408 | + color: #fff; | |
| 409 | + } | |
| 410 | + | |
| 411 | + &.el-icon-document, | |
| 412 | + &.el-icon-document-copy { | |
| 413 | + background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); | |
| 414 | + color: #fff; | |
| 415 | + } | |
| 416 | + | |
| 417 | + &.el-icon-credit-card { | |
| 418 | + background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); | |
| 419 | + color: #fff; | |
| 420 | + } | |
| 421 | + | |
| 422 | + &.el-icon-date, | |
| 423 | + &.el-icon-calendar { | |
| 424 | + background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); | |
| 425 | + color: #fff; | |
| 426 | + } | |
| 427 | + | |
| 428 | + &.el-icon-data-line, | |
| 429 | + &.el-icon-s-data { | |
| 430 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 431 | + color: #fff; | |
| 432 | + } | |
| 433 | + | |
| 434 | + &.el-icon-goods, | |
| 435 | + &.el-icon-shopping-bag-1 { | |
| 436 | + background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); | |
| 437 | + color: #fff; | |
| 438 | + } | |
| 439 | + | |
| 440 | + &:not([class*="el-icon-"]) { | |
| 441 | + background: linear-gradient(135deg, #606266 0%, #909399 100%); | |
| 442 | + color: #fff; | |
| 443 | + } | |
| 444 | + } | |
| 187 | 445 | } |
| 188 | 446 | } |
| 189 | 447 | |
| ... | ... | @@ -191,41 +449,61 @@ export default { |
| 191 | 449 | .info-row { |
| 192 | 450 | display: flex; |
| 193 | 451 | flex-wrap: wrap; |
| 194 | - gap: 20px; | |
| 452 | + gap: 20px 40px; | |
| 195 | 453 | |
| 196 | 454 | .info-item { |
| 197 | - flex: 0 0 calc(33.333% - 14px); | |
| 198 | - min-width: 250px; | |
| 199 | 455 | display: flex; |
| 200 | 456 | align-items: center; |
| 201 | - padding: 8px 12px; | |
| 202 | - background: #fff; | |
| 203 | - border-radius: 4px; | |
| 204 | - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); | |
| 457 | + min-width: 200px; | |
| 458 | + flex: 0 0 calc(33.333% - 27px); | |
| 459 | + padding: 12px 16px; | |
| 460 | + background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(240, 242, 245, 0.8) 100%); | |
| 461 | + border-radius: 8px; | |
| 462 | + border: 1px solid rgba(144, 147, 153, 0.1); | |
| 463 | + transition: all 0.3s ease; | |
| 464 | + cursor: default; | |
| 465 | + | |
| 466 | + &:hover { | |
| 467 | + background: linear-gradient(135deg, rgba(239, 246, 255, 0.9) 0%, rgba(219, 234, 254, 0.9) 100%); | |
| 468 | + border-color: rgba(59, 130, 246, 0.3); | |
| 469 | + transform: translateY(-2px); | |
| 470 | + box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15); | |
| 471 | + } | |
| 205 | 472 | |
| 206 | 473 | .label { |
| 207 | 474 | color: #606266; |
| 475 | + font-size: 14px; | |
| 208 | 476 | font-weight: 500; |
| 209 | - margin-right: 8px; | |
| 210 | 477 | white-space: nowrap; |
| 478 | + margin-right: 8px; | |
| 479 | + flex-shrink: 0; | |
| 211 | 480 | } |
| 212 | 481 | |
| 213 | 482 | .value { |
| 214 | 483 | color: #303133; |
| 484 | + font-size: 14px; | |
| 485 | + font-weight: 500; | |
| 215 | 486 | flex: 1; |
| 216 | 487 | text-align: right; |
| 217 | 488 | |
| 218 | 489 | &.highlight { |
| 219 | - color: #409EFF; | |
| 220 | - font-weight: 600; | |
| 490 | + color: #3b82f6; | |
| 491 | + font-weight: 700; | |
| 492 | + font-size: 16px; | |
| 221 | 493 | } |
| 222 | 494 | |
| 223 | 495 | &.large { |
| 224 | - font-size: 18px; | |
| 496 | + font-size: 24px; | |
| 497 | + font-weight: 700; | |
| 498 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 499 | + -webkit-background-clip: text; | |
| 500 | + -webkit-text-fill-color: transparent; | |
| 501 | + background-clip: text; | |
| 225 | 502 | } |
| 226 | 503 | |
| 227 | 504 | &.profit { |
| 228 | - color: #67C23A; | |
| 505 | + color: #22c55e; | |
| 506 | + font-weight: 600; | |
| 229 | 507 | } |
| 230 | 508 | } |
| 231 | 509 | } |
| ... | ... | @@ -233,29 +511,40 @@ export default { |
| 233 | 511 | } |
| 234 | 512 | } |
| 235 | 513 | |
| 236 | - .dialog-footer { | |
| 237 | - text-align: right; | |
| 238 | - padding: 20px; | |
| 239 | - border-top: 1px solid #e4e7ed; | |
| 240 | - } | |
| 241 | -} | |
| 514 | + .no-data { | |
| 515 | + display: flex; | |
| 516 | + flex-direction: column; | |
| 517 | + align-items: center; | |
| 518 | + justify-content: center; | |
| 519 | + padding: 80px 20px; | |
| 520 | + color: #909399; | |
| 242 | 521 | |
| 243 | -// 滚动条样式 | |
| 244 | -.detail-content::-webkit-scrollbar { | |
| 245 | - width: 6px; | |
| 246 | -} | |
| 522 | + i { | |
| 523 | + font-size: 64px; | |
| 524 | + margin-bottom: 20px; | |
| 525 | + color: #cbd5e1; | |
| 526 | + animation: pulse 2s ease-in-out infinite; | |
| 527 | + } | |
| 247 | 528 | |
| 248 | -.detail-content::-webkit-scrollbar-track { | |
| 249 | - background: #f1f1f1; | |
| 250 | - border-radius: 3px; | |
| 251 | -} | |
| 529 | + @keyframes pulse { | |
| 530 | + 0%, 100% { | |
| 531 | + opacity: 1; | |
| 532 | + } | |
| 533 | + 50% { | |
| 534 | + opacity: 0.5; | |
| 535 | + } | |
| 536 | + } | |
| 252 | 537 | |
| 253 | -.detail-content::-webkit-scrollbar-thumb { | |
| 254 | - background: #c1c1c1; | |
| 255 | - border-radius: 3px; | |
| 538 | + span { | |
| 539 | + font-size: 16px; | |
| 540 | + font-weight: 500; | |
| 541 | + } | |
| 542 | + } | |
| 256 | 543 | |
| 257 | - &:hover { | |
| 258 | - background: #a8a8a8; | |
| 544 | + .dialog-footer { | |
| 545 | + text-align: right; | |
| 546 | + padding: 20px; | |
| 547 | + border-top: 1px solid rgba(228, 231, 237, 0.5); | |
| 259 | 548 | } |
| 260 | 549 | } |
| 261 | 550 | </style> | ... | ... |
antis-ncc-admin/src/views/wageManagement/major-project-director-detail-dialog.vue
| ... | ... | @@ -6,6 +6,8 @@ |
| 6 | 6 | :close-on-click-modal="false" |
| 7 | 7 | @close="handleClose" |
| 8 | 8 | class="detail-dialog" |
| 9 | + :modal="true" | |
| 10 | + :modal-append-to-body="true" | |
| 9 | 11 | > |
| 10 | 12 | <div v-if="detailData" class="detail-content"> |
| 11 | 13 | <!-- 基本信息 --> |
| ... | ... | @@ -308,33 +310,292 @@ export default { |
| 308 | 310 | |
| 309 | 311 | <style lang="scss" scoped> |
| 310 | 312 | .detail-dialog { |
| 313 | + ::v-deep .el-dialog { | |
| 314 | + border-radius: 16px; | |
| 315 | + overflow: hidden; | |
| 316 | + background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #f0f4f8 100%); | |
| 317 | + } | |
| 318 | + | |
| 319 | + ::v-deep .el-dialog__header { | |
| 320 | + background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%); | |
| 321 | + backdrop-filter: blur(10px); | |
| 322 | + padding: 20px 24px; | |
| 323 | + border-bottom: 2px solid rgba(59, 130, 246, 0.2); | |
| 324 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); | |
| 325 | + | |
| 326 | + .el-dialog__title { | |
| 327 | + font-size: 20px; | |
| 328 | + font-weight: 700; | |
| 329 | + background: linear-gradient(135deg, #303133 0%, #606266 100%); | |
| 330 | + -webkit-background-clip: text; | |
| 331 | + -webkit-text-fill-color: transparent; | |
| 332 | + background-clip: text; | |
| 333 | + } | |
| 334 | + | |
| 335 | + .el-dialog__close { | |
| 336 | + color: #606266; | |
| 337 | + font-size: 20px; | |
| 338 | + transition: all 0.3s ease; | |
| 339 | + | |
| 340 | + &:hover { | |
| 341 | + color: #3b82f6; | |
| 342 | + transform: rotate(90deg); | |
| 343 | + } | |
| 344 | + } | |
| 345 | + } | |
| 346 | + | |
| 347 | + ::v-deep .el-dialog__body { | |
| 348 | + padding: 24px; | |
| 349 | + background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #f0f4f8 100%); | |
| 350 | + } | |
| 351 | + | |
| 311 | 352 | .detail-content { |
| 312 | 353 | max-height: 70vh; |
| 313 | 354 | overflow-y: auto; |
| 314 | 355 | padding-right: 10px; |
| 356 | + | |
| 357 | + &::-webkit-scrollbar { | |
| 358 | + width: 8px; | |
| 359 | + } | |
| 360 | + | |
| 361 | + &::-webkit-scrollbar-track { | |
| 362 | + background: rgba(144, 147, 153, 0.1); | |
| 363 | + border-radius: 4px; | |
| 364 | + } | |
| 365 | + | |
| 366 | + &::-webkit-scrollbar-thumb { | |
| 367 | + background: rgba(144, 147, 153, 0.3); | |
| 368 | + border-radius: 4px; | |
| 369 | + transition: background 0.3s ease; | |
| 370 | + | |
| 371 | + &:hover { | |
| 372 | + background: rgba(144, 147, 153, 0.5); | |
| 373 | + } | |
| 374 | + } | |
| 315 | 375 | } |
| 316 | 376 | |
| 317 | 377 | .detail-section { |
| 318 | 378 | margin-bottom: 20px; |
| 319 | - background: #fff; | |
| 320 | - border-radius: 8px; | |
| 321 | - padding: 20px; | |
| 322 | - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
| 379 | + background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%); | |
| 380 | + backdrop-filter: blur(10px); | |
| 381 | + border-radius: 12px; | |
| 382 | + padding: 20px 24px; | |
| 383 | + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04); | |
| 384 | + border: 1px solid rgba(144, 147, 153, 0.15); | |
| 385 | + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| 386 | + position: relative; | |
| 387 | + overflow: hidden; | |
| 388 | + | |
| 389 | + &::before { | |
| 390 | + content: ''; | |
| 391 | + position: absolute; | |
| 392 | + top: 0; | |
| 393 | + left: 0; | |
| 394 | + right: 0; | |
| 395 | + height: 3px; | |
| 396 | + background: linear-gradient(90deg, #3b82f6 0%, #2563eb 50%, #3b82f6 100%); | |
| 397 | + opacity: 0; | |
| 398 | + transition: opacity 0.3s ease; | |
| 399 | + } | |
| 400 | + | |
| 401 | + &:hover { | |
| 402 | + box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06); | |
| 403 | + transform: translateY(-2px); | |
| 404 | + | |
| 405 | + &::before { | |
| 406 | + opacity: 1; | |
| 407 | + } | |
| 408 | + } | |
| 323 | 409 | |
| 324 | 410 | .section-title { |
| 325 | 411 | display: flex; |
| 326 | 412 | align-items: center; |
| 327 | - gap: 8px; | |
| 328 | - margin-bottom: 16px; | |
| 329 | - padding-bottom: 12px; | |
| 330 | - border-bottom: 2px solid #409EFF; | |
| 331 | - font-size: 16px; | |
| 332 | - font-weight: 600; | |
| 333 | - color: #303133; | |
| 413 | + gap: 12px; | |
| 414 | + margin-bottom: 20px; | |
| 415 | + padding-bottom: 16px; | |
| 416 | + border-bottom: 2px solid rgba(59, 130, 246, 0.2); | |
| 417 | + font-size: 18px; | |
| 418 | + font-weight: 700; | |
| 419 | + background: linear-gradient(135deg, #303133 0%, #606266 100%); | |
| 420 | + -webkit-background-clip: text; | |
| 421 | + -webkit-text-fill-color: transparent; | |
| 422 | + background-clip: text; | |
| 423 | + position: relative; | |
| 334 | 424 | |
| 335 | 425 | i { |
| 336 | - color: #409EFF; | |
| 426 | + width: 36px; | |
| 427 | + height: 36px; | |
| 428 | + display: flex; | |
| 429 | + align-items: center; | |
| 430 | + justify-content: center; | |
| 431 | + border-radius: 8px; | |
| 337 | 432 | font-size: 18px; |
| 433 | + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| 434 | + position: relative; | |
| 435 | + overflow: hidden; | |
| 436 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); | |
| 437 | + | |
| 438 | + &::before { | |
| 439 | + content: ''; | |
| 440 | + position: absolute; | |
| 441 | + top: 0; | |
| 442 | + left: -100%; | |
| 443 | + width: 100%; | |
| 444 | + height: 100%; | |
| 445 | + background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); | |
| 446 | + transition: left 0.5s ease; | |
| 447 | + } | |
| 448 | + | |
| 449 | + &.el-icon-user, | |
| 450 | + &.el-icon-user-solid { | |
| 451 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 452 | + color: #3b82f6; | |
| 453 | + } | |
| 454 | + | |
| 455 | + &.el-icon-trophy { | |
| 456 | + background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.15) 100%); | |
| 457 | + color: #f59e0b; | |
| 458 | + } | |
| 459 | + | |
| 460 | + &.el-icon-money, | |
| 461 | + &.el-icon-coin { | |
| 462 | + background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(21, 128, 61, 0.15) 100%); | |
| 463 | + color: #22c55e; | |
| 464 | + } | |
| 465 | + | |
| 466 | + &.el-icon-medal { | |
| 467 | + background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(147, 51, 234, 0.15) 100%); | |
| 468 | + color: #a855f7; | |
| 469 | + } | |
| 470 | + | |
| 471 | + &.el-icon-wallet { | |
| 472 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 473 | + color: #3b82f6; | |
| 474 | + } | |
| 475 | + | |
| 476 | + &.el-icon-circle-minus { | |
| 477 | + background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%); | |
| 478 | + color: #ef4444; | |
| 479 | + } | |
| 480 | + | |
| 481 | + &.el-icon-circle-plus { | |
| 482 | + background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(21, 128, 61, 0.15) 100%); | |
| 483 | + color: #22c55e; | |
| 484 | + } | |
| 485 | + | |
| 486 | + &.el-icon-document, | |
| 487 | + &.el-icon-document-copy { | |
| 488 | + background: linear-gradient(135deg, rgba(107, 114, 128, 0.15) 0%, rgba(75, 85, 99, 0.15) 100%); | |
| 489 | + color: #6b7280; | |
| 490 | + } | |
| 491 | + | |
| 492 | + &.el-icon-credit-card { | |
| 493 | + background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(219, 39, 119, 0.15) 100%); | |
| 494 | + color: #ec4899; | |
| 495 | + } | |
| 496 | + | |
| 497 | + &.el-icon-date, | |
| 498 | + &.el-icon-calendar { | |
| 499 | + background: linear-gradient(135deg, rgba(107, 114, 128, 0.15) 0%, rgba(75, 85, 99, 0.15) 100%); | |
| 500 | + color: #6b7280; | |
| 501 | + } | |
| 502 | + | |
| 503 | + &.el-icon-data-line, | |
| 504 | + &.el-icon-s-data { | |
| 505 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 506 | + color: #3b82f6; | |
| 507 | + } | |
| 508 | + | |
| 509 | + &.el-icon-goods, | |
| 510 | + &.el-icon-shopping-bag-1 { | |
| 511 | + background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(219, 39, 119, 0.15) 100%); | |
| 512 | + color: #ec4899; | |
| 513 | + } | |
| 514 | + | |
| 515 | + &:not([class*="el-icon-"]) { | |
| 516 | + background: linear-gradient(135deg, rgba(96, 98, 102, 0.1) 0%, rgba(144, 147, 153, 0.1) 100%); | |
| 517 | + color: #606266; | |
| 518 | + } | |
| 519 | + | |
| 520 | + &:hover { | |
| 521 | + transform: scale(1.1) rotate(5deg); | |
| 522 | + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); | |
| 523 | + | |
| 524 | + &::before { | |
| 525 | + left: 100%; | |
| 526 | + } | |
| 527 | + | |
| 528 | + &.el-icon-user, | |
| 529 | + &.el-icon-user-solid { | |
| 530 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 531 | + color: #fff; | |
| 532 | + } | |
| 533 | + | |
| 534 | + &.el-icon-trophy { | |
| 535 | + background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); | |
| 536 | + color: #fff; | |
| 537 | + } | |
| 538 | + | |
| 539 | + &.el-icon-money, | |
| 540 | + &.el-icon-coin { | |
| 541 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 542 | + color: #fff; | |
| 543 | + } | |
| 544 | + | |
| 545 | + &.el-icon-medal { | |
| 546 | + background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%); | |
| 547 | + color: #fff; | |
| 548 | + } | |
| 549 | + | |
| 550 | + &.el-icon-wallet { | |
| 551 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 552 | + color: #fff; | |
| 553 | + } | |
| 554 | + | |
| 555 | + &.el-icon-circle-minus { | |
| 556 | + background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); | |
| 557 | + color: #fff; | |
| 558 | + } | |
| 559 | + | |
| 560 | + &.el-icon-circle-plus { | |
| 561 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 562 | + color: #fff; | |
| 563 | + } | |
| 564 | + | |
| 565 | + &.el-icon-document, | |
| 566 | + &.el-icon-document-copy { | |
| 567 | + background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); | |
| 568 | + color: #fff; | |
| 569 | + } | |
| 570 | + | |
| 571 | + &.el-icon-credit-card { | |
| 572 | + background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); | |
| 573 | + color: #fff; | |
| 574 | + } | |
| 575 | + | |
| 576 | + &.el-icon-date, | |
| 577 | + &.el-icon-calendar { | |
| 578 | + background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); | |
| 579 | + color: #fff; | |
| 580 | + } | |
| 581 | + | |
| 582 | + &.el-icon-data-line, | |
| 583 | + &.el-icon-s-data { | |
| 584 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 585 | + color: #fff; | |
| 586 | + } | |
| 587 | + | |
| 588 | + &.el-icon-goods, | |
| 589 | + &.el-icon-shopping-bag-1 { | |
| 590 | + background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); | |
| 591 | + color: #fff; | |
| 592 | + } | |
| 593 | + | |
| 594 | + &:not([class*="el-icon-"]) { | |
| 595 | + background: linear-gradient(135deg, #606266 0%, #909399 100%); | |
| 596 | + color: #fff; | |
| 597 | + } | |
| 598 | + } | |
| 338 | 599 | } |
| 339 | 600 | } |
| 340 | 601 | |
| ... | ... | @@ -349,27 +610,49 @@ export default { |
| 349 | 610 | align-items: center; |
| 350 | 611 | min-width: 200px; |
| 351 | 612 | flex: 0 0 calc(33.333% - 27px); |
| 613 | + padding: 12px 16px; | |
| 614 | + background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(240, 242, 245, 0.8) 100%); | |
| 615 | + border-radius: 8px; | |
| 616 | + border: 1px solid rgba(144, 147, 153, 0.1); | |
| 617 | + transition: all 0.3s ease; | |
| 618 | + cursor: default; | |
| 619 | + | |
| 620 | + &:hover { | |
| 621 | + background: linear-gradient(135deg, rgba(239, 246, 255, 0.9) 0%, rgba(219, 234, 254, 0.9) 100%); | |
| 622 | + border-color: rgba(59, 130, 246, 0.3); | |
| 623 | + transform: translateY(-2px); | |
| 624 | + box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15); | |
| 625 | + } | |
| 352 | 626 | |
| 353 | 627 | .label { |
| 354 | 628 | color: #606266; |
| 355 | 629 | font-size: 14px; |
| 630 | + font-weight: 500; | |
| 356 | 631 | white-space: nowrap; |
| 357 | 632 | margin-right: 8px; |
| 633 | + flex-shrink: 0; | |
| 358 | 634 | } |
| 359 | 635 | |
| 360 | 636 | .value { |
| 361 | 637 | color: #303133; |
| 362 | 638 | font-size: 14px; |
| 363 | 639 | font-weight: 500; |
| 640 | + flex: 1; | |
| 641 | + text-align: right; | |
| 364 | 642 | |
| 365 | 643 | &.highlight { |
| 366 | - color: #409EFF; | |
| 367 | - font-weight: 600; | |
| 644 | + color: #3b82f6; | |
| 645 | + font-weight: 700; | |
| 646 | + font-size: 16px; | |
| 368 | 647 | } |
| 369 | 648 | |
| 370 | 649 | &.large { |
| 371 | - font-size: 18px; | |
| 372 | - color: #67C23A; | |
| 650 | + font-size: 24px; | |
| 651 | + font-weight: 700; | |
| 652 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 653 | + -webkit-background-clip: text; | |
| 654 | + -webkit-text-fill-color: transparent; | |
| 655 | + background-clip: text; | |
| 373 | 656 | } |
| 374 | 657 | } |
| 375 | 658 | } |
| ... | ... | @@ -382,36 +665,29 @@ export default { |
| 382 | 665 | flex-direction: column; |
| 383 | 666 | align-items: center; |
| 384 | 667 | justify-content: center; |
| 385 | - padding: 60px 20px; | |
| 668 | + padding: 80px 20px; | |
| 386 | 669 | color: #909399; |
| 387 | 670 | |
| 388 | 671 | i { |
| 389 | - font-size: 48px; | |
| 390 | - margin-bottom: 16px; | |
| 672 | + font-size: 64px; | |
| 673 | + margin-bottom: 20px; | |
| 674 | + color: #cbd5e1; | |
| 675 | + animation: pulse 2s ease-in-out infinite; | |
| 391 | 676 | } |
| 392 | 677 | |
| 393 | - span { | |
| 394 | - font-size: 14px; | |
| 678 | + @keyframes pulse { | |
| 679 | + 0%, 100% { | |
| 680 | + opacity: 1; | |
| 681 | + } | |
| 682 | + 50% { | |
| 683 | + opacity: 0.5; | |
| 684 | + } | |
| 395 | 685 | } |
| 396 | - } | |
| 397 | -} | |
| 398 | - | |
| 399 | -// 滚动条样式 | |
| 400 | -.detail-content::-webkit-scrollbar { | |
| 401 | - width: 6px; | |
| 402 | -} | |
| 403 | 686 | |
| 404 | -.detail-content::-webkit-scrollbar-track { | |
| 405 | - background: #f1f1f1; | |
| 406 | - border-radius: 3px; | |
| 407 | -} | |
| 408 | - | |
| 409 | -.detail-content::-webkit-scrollbar-thumb { | |
| 410 | - background: #c1c1c1; | |
| 411 | - border-radius: 3px; | |
| 412 | - | |
| 413 | - &:hover { | |
| 414 | - background: #a8a8a8; | |
| 687 | + span { | |
| 688 | + font-size: 16px; | |
| 689 | + font-weight: 500; | |
| 690 | + } | |
| 415 | 691 | } |
| 416 | 692 | } |
| 417 | 693 | </style> | ... | ... |
antis-ncc-admin/src/views/wageManagement/major-project-teacher-detail-dialog.vue
| ... | ... | @@ -6,6 +6,8 @@ |
| 6 | 6 | :close-on-click-modal="false" |
| 7 | 7 | @close="handleClose" |
| 8 | 8 | class="detail-dialog" |
| 9 | + :modal="true" | |
| 10 | + :modal-append-to-body="true" | |
| 9 | 11 | > |
| 10 | 12 | <div v-if="detailData" class="detail-content"> |
| 11 | 13 | <!-- 基本信息 --> |
| ... | ... | @@ -594,33 +596,292 @@ export default { |
| 594 | 596 | |
| 595 | 597 | <style lang="scss" scoped> |
| 596 | 598 | .detail-dialog { |
| 599 | + ::v-deep .el-dialog { | |
| 600 | + border-radius: 16px; | |
| 601 | + overflow: hidden; | |
| 602 | + background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #f0f4f8 100%); | |
| 603 | + } | |
| 604 | + | |
| 605 | + ::v-deep .el-dialog__header { | |
| 606 | + background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%); | |
| 607 | + backdrop-filter: blur(10px); | |
| 608 | + padding: 20px 24px; | |
| 609 | + border-bottom: 2px solid rgba(59, 130, 246, 0.2); | |
| 610 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); | |
| 611 | + | |
| 612 | + .el-dialog__title { | |
| 613 | + font-size: 20px; | |
| 614 | + font-weight: 700; | |
| 615 | + background: linear-gradient(135deg, #303133 0%, #606266 100%); | |
| 616 | + -webkit-background-clip: text; | |
| 617 | + -webkit-text-fill-color: transparent; | |
| 618 | + background-clip: text; | |
| 619 | + } | |
| 620 | + | |
| 621 | + .el-dialog__close { | |
| 622 | + color: #606266; | |
| 623 | + font-size: 20px; | |
| 624 | + transition: all 0.3s ease; | |
| 625 | + | |
| 626 | + &:hover { | |
| 627 | + color: #3b82f6; | |
| 628 | + transform: rotate(90deg); | |
| 629 | + } | |
| 630 | + } | |
| 631 | + } | |
| 632 | + | |
| 633 | + ::v-deep .el-dialog__body { | |
| 634 | + padding: 24px; | |
| 635 | + background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #f0f4f8 100%); | |
| 636 | + } | |
| 637 | + | |
| 597 | 638 | .detail-content { |
| 598 | 639 | max-height: 70vh; |
| 599 | 640 | overflow-y: auto; |
| 600 | 641 | padding-right: 10px; |
| 642 | + | |
| 643 | + &::-webkit-scrollbar { | |
| 644 | + width: 8px; | |
| 645 | + } | |
| 646 | + | |
| 647 | + &::-webkit-scrollbar-track { | |
| 648 | + background: rgba(144, 147, 153, 0.1); | |
| 649 | + border-radius: 4px; | |
| 650 | + } | |
| 651 | + | |
| 652 | + &::-webkit-scrollbar-thumb { | |
| 653 | + background: rgba(144, 147, 153, 0.3); | |
| 654 | + border-radius: 4px; | |
| 655 | + transition: background 0.3s ease; | |
| 656 | + | |
| 657 | + &:hover { | |
| 658 | + background: rgba(144, 147, 153, 0.5); | |
| 659 | + } | |
| 660 | + } | |
| 601 | 661 | } |
| 602 | 662 | |
| 603 | 663 | .detail-section { |
| 604 | 664 | margin-bottom: 20px; |
| 605 | - background: #fff; | |
| 606 | - border-radius: 8px; | |
| 607 | - padding: 20px; | |
| 608 | - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
| 665 | + background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%); | |
| 666 | + backdrop-filter: blur(10px); | |
| 667 | + border-radius: 12px; | |
| 668 | + padding: 20px 24px; | |
| 669 | + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04); | |
| 670 | + border: 1px solid rgba(144, 147, 153, 0.15); | |
| 671 | + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| 672 | + position: relative; | |
| 673 | + overflow: hidden; | |
| 674 | + | |
| 675 | + &::before { | |
| 676 | + content: ''; | |
| 677 | + position: absolute; | |
| 678 | + top: 0; | |
| 679 | + left: 0; | |
| 680 | + right: 0; | |
| 681 | + height: 3px; | |
| 682 | + background: linear-gradient(90deg, #3b82f6 0%, #2563eb 50%, #3b82f6 100%); | |
| 683 | + opacity: 0; | |
| 684 | + transition: opacity 0.3s ease; | |
| 685 | + } | |
| 686 | + | |
| 687 | + &:hover { | |
| 688 | + box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06); | |
| 689 | + transform: translateY(-2px); | |
| 690 | + | |
| 691 | + &::before { | |
| 692 | + opacity: 1; | |
| 693 | + } | |
| 694 | + } | |
| 609 | 695 | |
| 610 | 696 | .section-title { |
| 611 | 697 | display: flex; |
| 612 | 698 | align-items: center; |
| 613 | - gap: 8px; | |
| 614 | - margin-bottom: 16px; | |
| 615 | - padding-bottom: 12px; | |
| 616 | - border-bottom: 2px solid #409EFF; | |
| 617 | - font-size: 16px; | |
| 618 | - font-weight: 600; | |
| 619 | - color: #303133; | |
| 699 | + gap: 12px; | |
| 700 | + margin-bottom: 20px; | |
| 701 | + padding-bottom: 16px; | |
| 702 | + border-bottom: 2px solid rgba(59, 130, 246, 0.2); | |
| 703 | + font-size: 18px; | |
| 704 | + font-weight: 700; | |
| 705 | + background: linear-gradient(135deg, #303133 0%, #606266 100%); | |
| 706 | + -webkit-background-clip: text; | |
| 707 | + -webkit-text-fill-color: transparent; | |
| 708 | + background-clip: text; | |
| 709 | + position: relative; | |
| 620 | 710 | |
| 621 | 711 | i { |
| 622 | - color: #409EFF; | |
| 712 | + width: 36px; | |
| 713 | + height: 36px; | |
| 714 | + display: flex; | |
| 715 | + align-items: center; | |
| 716 | + justify-content: center; | |
| 717 | + border-radius: 8px; | |
| 623 | 718 | font-size: 18px; |
| 719 | + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| 720 | + position: relative; | |
| 721 | + overflow: hidden; | |
| 722 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); | |
| 723 | + | |
| 724 | + &::before { | |
| 725 | + content: ''; | |
| 726 | + position: absolute; | |
| 727 | + top: 0; | |
| 728 | + left: -100%; | |
| 729 | + width: 100%; | |
| 730 | + height: 100%; | |
| 731 | + background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); | |
| 732 | + transition: left 0.5s ease; | |
| 733 | + } | |
| 734 | + | |
| 735 | + &.el-icon-user, | |
| 736 | + &.el-icon-user-solid { | |
| 737 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 738 | + color: #3b82f6; | |
| 739 | + } | |
| 740 | + | |
| 741 | + &.el-icon-trophy { | |
| 742 | + background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.15) 100%); | |
| 743 | + color: #f59e0b; | |
| 744 | + } | |
| 745 | + | |
| 746 | + &.el-icon-money, | |
| 747 | + &.el-icon-coin { | |
| 748 | + background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(21, 128, 61, 0.15) 100%); | |
| 749 | + color: #22c55e; | |
| 750 | + } | |
| 751 | + | |
| 752 | + &.el-icon-medal { | |
| 753 | + background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(147, 51, 234, 0.15) 100%); | |
| 754 | + color: #a855f7; | |
| 755 | + } | |
| 756 | + | |
| 757 | + &.el-icon-wallet { | |
| 758 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 759 | + color: #3b82f6; | |
| 760 | + } | |
| 761 | + | |
| 762 | + &.el-icon-circle-minus { | |
| 763 | + background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%); | |
| 764 | + color: #ef4444; | |
| 765 | + } | |
| 766 | + | |
| 767 | + &.el-icon-circle-plus { | |
| 768 | + background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(21, 128, 61, 0.15) 100%); | |
| 769 | + color: #22c55e; | |
| 770 | + } | |
| 771 | + | |
| 772 | + &.el-icon-document, | |
| 773 | + &.el-icon-document-copy { | |
| 774 | + background: linear-gradient(135deg, rgba(107, 114, 128, 0.15) 0%, rgba(75, 85, 99, 0.15) 100%); | |
| 775 | + color: #6b7280; | |
| 776 | + } | |
| 777 | + | |
| 778 | + &.el-icon-credit-card { | |
| 779 | + background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(219, 39, 119, 0.15) 100%); | |
| 780 | + color: #ec4899; | |
| 781 | + } | |
| 782 | + | |
| 783 | + &.el-icon-date, | |
| 784 | + &.el-icon-calendar { | |
| 785 | + background: linear-gradient(135deg, rgba(107, 114, 128, 0.15) 0%, rgba(75, 85, 99, 0.15) 100%); | |
| 786 | + color: #6b7280; | |
| 787 | + } | |
| 788 | + | |
| 789 | + &.el-icon-data-line, | |
| 790 | + &.el-icon-s-data { | |
| 791 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 792 | + color: #3b82f6; | |
| 793 | + } | |
| 794 | + | |
| 795 | + &.el-icon-goods, | |
| 796 | + &.el-icon-shopping-bag-1 { | |
| 797 | + background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(219, 39, 119, 0.15) 100%); | |
| 798 | + color: #ec4899; | |
| 799 | + } | |
| 800 | + | |
| 801 | + &:not([class*="el-icon-"]) { | |
| 802 | + background: linear-gradient(135deg, rgba(96, 98, 102, 0.1) 0%, rgba(144, 147, 153, 0.1) 100%); | |
| 803 | + color: #606266; | |
| 804 | + } | |
| 805 | + | |
| 806 | + &:hover { | |
| 807 | + transform: scale(1.1) rotate(5deg); | |
| 808 | + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); | |
| 809 | + | |
| 810 | + &::before { | |
| 811 | + left: 100%; | |
| 812 | + } | |
| 813 | + | |
| 814 | + &.el-icon-user, | |
| 815 | + &.el-icon-user-solid { | |
| 816 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 817 | + color: #fff; | |
| 818 | + } | |
| 819 | + | |
| 820 | + &.el-icon-trophy { | |
| 821 | + background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); | |
| 822 | + color: #fff; | |
| 823 | + } | |
| 824 | + | |
| 825 | + &.el-icon-money, | |
| 826 | + &.el-icon-coin { | |
| 827 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 828 | + color: #fff; | |
| 829 | + } | |
| 830 | + | |
| 831 | + &.el-icon-medal { | |
| 832 | + background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%); | |
| 833 | + color: #fff; | |
| 834 | + } | |
| 835 | + | |
| 836 | + &.el-icon-wallet { | |
| 837 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 838 | + color: #fff; | |
| 839 | + } | |
| 840 | + | |
| 841 | + &.el-icon-circle-minus { | |
| 842 | + background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); | |
| 843 | + color: #fff; | |
| 844 | + } | |
| 845 | + | |
| 846 | + &.el-icon-circle-plus { | |
| 847 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 848 | + color: #fff; | |
| 849 | + } | |
| 850 | + | |
| 851 | + &.el-icon-document, | |
| 852 | + &.el-icon-document-copy { | |
| 853 | + background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); | |
| 854 | + color: #fff; | |
| 855 | + } | |
| 856 | + | |
| 857 | + &.el-icon-credit-card { | |
| 858 | + background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); | |
| 859 | + color: #fff; | |
| 860 | + } | |
| 861 | + | |
| 862 | + &.el-icon-date, | |
| 863 | + &.el-icon-calendar { | |
| 864 | + background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); | |
| 865 | + color: #fff; | |
| 866 | + } | |
| 867 | + | |
| 868 | + &.el-icon-data-line, | |
| 869 | + &.el-icon-s-data { | |
| 870 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 871 | + color: #fff; | |
| 872 | + } | |
| 873 | + | |
| 874 | + &.el-icon-goods, | |
| 875 | + &.el-icon-shopping-bag-1 { | |
| 876 | + background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); | |
| 877 | + color: #fff; | |
| 878 | + } | |
| 879 | + | |
| 880 | + &:not([class*="el-icon-"]) { | |
| 881 | + background: linear-gradient(135deg, #606266 0%, #909399 100%); | |
| 882 | + color: #fff; | |
| 883 | + } | |
| 884 | + } | |
| 624 | 885 | } |
| 625 | 886 | } |
| 626 | 887 | |
| ... | ... | @@ -635,27 +896,49 @@ export default { |
| 635 | 896 | align-items: center; |
| 636 | 897 | min-width: 200px; |
| 637 | 898 | flex: 0 0 calc(33.333% - 27px); |
| 899 | + padding: 12px 16px; | |
| 900 | + background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(240, 242, 245, 0.8) 100%); | |
| 901 | + border-radius: 8px; | |
| 902 | + border: 1px solid rgba(144, 147, 153, 0.1); | |
| 903 | + transition: all 0.3s ease; | |
| 904 | + cursor: default; | |
| 905 | + | |
| 906 | + &:hover { | |
| 907 | + background: linear-gradient(135deg, rgba(239, 246, 255, 0.9) 0%, rgba(219, 234, 254, 0.9) 100%); | |
| 908 | + border-color: rgba(59, 130, 246, 0.3); | |
| 909 | + transform: translateY(-2px); | |
| 910 | + box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15); | |
| 911 | + } | |
| 638 | 912 | |
| 639 | 913 | .label { |
| 640 | 914 | color: #606266; |
| 641 | 915 | font-size: 14px; |
| 916 | + font-weight: 500; | |
| 642 | 917 | white-space: nowrap; |
| 643 | 918 | margin-right: 8px; |
| 919 | + flex-shrink: 0; | |
| 644 | 920 | } |
| 645 | 921 | |
| 646 | 922 | .value { |
| 647 | 923 | color: #303133; |
| 648 | 924 | font-size: 14px; |
| 649 | 925 | font-weight: 500; |
| 926 | + flex: 1; | |
| 927 | + text-align: right; | |
| 650 | 928 | |
| 651 | 929 | &.highlight { |
| 652 | - color: #409EFF; | |
| 653 | - font-weight: 600; | |
| 930 | + color: #3b82f6; | |
| 931 | + font-weight: 700; | |
| 932 | + font-size: 16px; | |
| 654 | 933 | } |
| 655 | 934 | |
| 656 | 935 | &.large { |
| 657 | - font-size: 18px; | |
| 658 | - color: #67C23A; | |
| 936 | + font-size: 24px; | |
| 937 | + font-weight: 700; | |
| 938 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 939 | + -webkit-background-clip: text; | |
| 940 | + -webkit-text-fill-color: transparent; | |
| 941 | + background-clip: text; | |
| 659 | 942 | } |
| 660 | 943 | } |
| 661 | 944 | } |
| ... | ... | @@ -668,36 +951,29 @@ export default { |
| 668 | 951 | flex-direction: column; |
| 669 | 952 | align-items: center; |
| 670 | 953 | justify-content: center; |
| 671 | - padding: 60px 20px; | |
| 954 | + padding: 80px 20px; | |
| 672 | 955 | color: #909399; |
| 673 | 956 | |
| 674 | 957 | i { |
| 675 | - font-size: 48px; | |
| 676 | - margin-bottom: 16px; | |
| 958 | + font-size: 64px; | |
| 959 | + margin-bottom: 20px; | |
| 960 | + color: #cbd5e1; | |
| 961 | + animation: pulse 2s ease-in-out infinite; | |
| 677 | 962 | } |
| 678 | 963 | |
| 679 | - span { | |
| 680 | - font-size: 14px; | |
| 964 | + @keyframes pulse { | |
| 965 | + 0%, 100% { | |
| 966 | + opacity: 1; | |
| 967 | + } | |
| 968 | + 50% { | |
| 969 | + opacity: 0.5; | |
| 970 | + } | |
| 681 | 971 | } |
| 682 | - } | |
| 683 | -} | |
| 684 | - | |
| 685 | -// 滚动条样式 | |
| 686 | -.detail-content::-webkit-scrollbar { | |
| 687 | - width: 6px; | |
| 688 | -} | |
| 689 | 972 | |
| 690 | -.detail-content::-webkit-scrollbar-track { | |
| 691 | - background: #f1f1f1; | |
| 692 | - border-radius: 3px; | |
| 693 | -} | |
| 694 | - | |
| 695 | -.detail-content::-webkit-scrollbar-thumb { | |
| 696 | - background: #c1c1c1; | |
| 697 | - border-radius: 3px; | |
| 698 | - | |
| 699 | - &:hover { | |
| 700 | - background: #a8a8a8; | |
| 973 | + span { | |
| 974 | + font-size: 16px; | |
| 975 | + font-weight: 500; | |
| 976 | + } | |
| 701 | 977 | } |
| 702 | 978 | } |
| 703 | 979 | </style> | ... | ... |
antis-ncc-admin/src/views/wageManagement/shop-detail-dialog.vue
| 1 | 1 | <template> |
| 2 | - <el-dialog | |
| 3 | - title="店长工资详情" | |
| 4 | - :visible="visible" | |
| 5 | - width="1400px" | |
| 6 | - :close-on-click-modal="false" | |
| 7 | - @close="handleClose" | |
| 8 | - class="detail-dialog" | |
| 9 | - > | |
| 2 | + <el-dialog title="店长工资详情" :visible="visible" width="1400px" :close-on-click-modal="false" @close="handleClose" | |
| 3 | + class="detail-dialog" :modal="true" :modal-append-to-body="true"> | |
| 10 | 4 | <div v-if="detailData" class="detail-content"> |
| 11 | 5 | <!-- 基本信息 --> |
| 12 | 6 | <div class="detail-section"> |
| ... | ... | @@ -36,7 +30,8 @@ |
| 36 | 30 | <span class="label">是否新店:</span> |
| 37 | 31 | <span class="value">{{ detailData.IsNewStore || '无' }}</span> |
| 38 | 32 | </div> |
| 39 | - <div class="info-item" v-if="detailData.NewStoreProtectionStage !== undefined && detailData.NewStoreProtectionStage !== null"> | |
| 33 | + <div class="info-item" | |
| 34 | + v-if="detailData.NewStoreProtectionStage !== undefined && detailData.NewStoreProtectionStage !== null"> | |
| 40 | 35 | <span class="label">新店保护阶段:</span> |
| 41 | 36 | <span class="value">{{ detailData.NewStoreProtectionStage || '0' }}</span> |
| 42 | 37 | </div> |
| ... | ... | @@ -409,33 +404,292 @@ export default { |
| 409 | 404 | |
| 410 | 405 | <style lang="scss" scoped> |
| 411 | 406 | .detail-dialog { |
| 407 | + ::v-deep .el-dialog { | |
| 408 | + border-radius: 16px; | |
| 409 | + overflow: hidden; | |
| 410 | + background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #f0f4f8 100%); | |
| 411 | + } | |
| 412 | + | |
| 413 | + ::v-deep .el-dialog__header { | |
| 414 | + background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%); | |
| 415 | + backdrop-filter: blur(10px); | |
| 416 | + padding: 20px 24px; | |
| 417 | + border-bottom: 2px solid rgba(59, 130, 246, 0.2); | |
| 418 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); | |
| 419 | + | |
| 420 | + .el-dialog__title { | |
| 421 | + font-size: 20px; | |
| 422 | + font-weight: 700; | |
| 423 | + background: linear-gradient(135deg, #303133 0%, #606266 100%); | |
| 424 | + -webkit-background-clip: text; | |
| 425 | + -webkit-text-fill-color: transparent; | |
| 426 | + background-clip: text; | |
| 427 | + } | |
| 428 | + | |
| 429 | + .el-dialog__close { | |
| 430 | + color: #606266; | |
| 431 | + font-size: 20px; | |
| 432 | + transition: all 0.3s ease; | |
| 433 | + | |
| 434 | + &:hover { | |
| 435 | + color: #3b82f6; | |
| 436 | + transform: rotate(90deg); | |
| 437 | + } | |
| 438 | + } | |
| 439 | + } | |
| 440 | + | |
| 441 | + ::v-deep .el-dialog__body { | |
| 442 | + padding: 24px; | |
| 443 | + background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #f0f4f8 100%); | |
| 444 | + } | |
| 445 | + | |
| 412 | 446 | .detail-content { |
| 413 | 447 | max-height: 70vh; |
| 414 | 448 | overflow-y: auto; |
| 415 | 449 | padding-right: 10px; |
| 450 | + | |
| 451 | + &::-webkit-scrollbar { | |
| 452 | + width: 8px; | |
| 453 | + } | |
| 454 | + | |
| 455 | + &::-webkit-scrollbar-track { | |
| 456 | + background: rgba(144, 147, 153, 0.1); | |
| 457 | + border-radius: 4px; | |
| 458 | + } | |
| 459 | + | |
| 460 | + &::-webkit-scrollbar-thumb { | |
| 461 | + background: rgba(144, 147, 153, 0.3); | |
| 462 | + border-radius: 4px; | |
| 463 | + transition: background 0.3s ease; | |
| 464 | + | |
| 465 | + &:hover { | |
| 466 | + background: rgba(144, 147, 153, 0.5); | |
| 467 | + } | |
| 468 | + } | |
| 416 | 469 | } |
| 417 | 470 | |
| 418 | 471 | .detail-section { |
| 419 | 472 | margin-bottom: 20px; |
| 420 | - background: #fff; | |
| 421 | - border-radius: 8px; | |
| 422 | - padding: 20px; | |
| 423 | - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
| 473 | + background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%); | |
| 474 | + backdrop-filter: blur(10px); | |
| 475 | + border-radius: 12px; | |
| 476 | + padding: 20px 24px; | |
| 477 | + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04); | |
| 478 | + border: 1px solid rgba(144, 147, 153, 0.15); | |
| 479 | + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| 480 | + position: relative; | |
| 481 | + overflow: hidden; | |
| 482 | + | |
| 483 | + &::before { | |
| 484 | + content: ''; | |
| 485 | + position: absolute; | |
| 486 | + top: 0; | |
| 487 | + left: 0; | |
| 488 | + right: 0; | |
| 489 | + height: 3px; | |
| 490 | + background: linear-gradient(90deg, #3b82f6 0%, #2563eb 50%, #3b82f6 100%); | |
| 491 | + opacity: 0; | |
| 492 | + transition: opacity 0.3s ease; | |
| 493 | + } | |
| 494 | + | |
| 495 | + &:hover { | |
| 496 | + box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06); | |
| 497 | + transform: translateY(-2px); | |
| 498 | + | |
| 499 | + &::before { | |
| 500 | + opacity: 1; | |
| 501 | + } | |
| 502 | + } | |
| 424 | 503 | |
| 425 | 504 | .section-title { |
| 426 | 505 | display: flex; |
| 427 | 506 | align-items: center; |
| 428 | - gap: 8px; | |
| 429 | - margin-bottom: 16px; | |
| 430 | - padding-bottom: 12px; | |
| 431 | - border-bottom: 2px solid #409EFF; | |
| 432 | - font-size: 16px; | |
| 433 | - font-weight: 600; | |
| 434 | - color: #303133; | |
| 507 | + gap: 12px; | |
| 508 | + margin-bottom: 20px; | |
| 509 | + padding-bottom: 16px; | |
| 510 | + border-bottom: 2px solid rgba(59, 130, 246, 0.2); | |
| 511 | + font-size: 18px; | |
| 512 | + font-weight: 700; | |
| 513 | + background: linear-gradient(135deg, #303133 0%, #606266 100%); | |
| 514 | + -webkit-background-clip: text; | |
| 515 | + -webkit-text-fill-color: transparent; | |
| 516 | + background-clip: text; | |
| 517 | + position: relative; | |
| 435 | 518 | |
| 436 | 519 | i { |
| 437 | - color: #409EFF; | |
| 520 | + width: 36px; | |
| 521 | + height: 36px; | |
| 522 | + display: flex; | |
| 523 | + align-items: center; | |
| 524 | + justify-content: center; | |
| 525 | + border-radius: 8px; | |
| 438 | 526 | font-size: 18px; |
| 527 | + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| 528 | + position: relative; | |
| 529 | + overflow: hidden; | |
| 530 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); | |
| 531 | + | |
| 532 | + &::before { | |
| 533 | + content: ''; | |
| 534 | + position: absolute; | |
| 535 | + top: 0; | |
| 536 | + left: -100%; | |
| 537 | + width: 100%; | |
| 538 | + height: 100%; | |
| 539 | + background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); | |
| 540 | + transition: left 0.5s ease; | |
| 541 | + } | |
| 542 | + | |
| 543 | + &.el-icon-user, | |
| 544 | + &.el-icon-user-solid { | |
| 545 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 546 | + color: #3b82f6; | |
| 547 | + } | |
| 548 | + | |
| 549 | + &.el-icon-trophy { | |
| 550 | + background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.15) 100%); | |
| 551 | + color: #f59e0b; | |
| 552 | + } | |
| 553 | + | |
| 554 | + &.el-icon-money, | |
| 555 | + &.el-icon-coin { | |
| 556 | + background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(21, 128, 61, 0.15) 100%); | |
| 557 | + color: #22c55e; | |
| 558 | + } | |
| 559 | + | |
| 560 | + &.el-icon-medal { | |
| 561 | + background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(147, 51, 234, 0.15) 100%); | |
| 562 | + color: #a855f7; | |
| 563 | + } | |
| 564 | + | |
| 565 | + &.el-icon-wallet { | |
| 566 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 567 | + color: #3b82f6; | |
| 568 | + } | |
| 569 | + | |
| 570 | + &.el-icon-circle-minus { | |
| 571 | + background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%); | |
| 572 | + color: #ef4444; | |
| 573 | + } | |
| 574 | + | |
| 575 | + &.el-icon-circle-plus { | |
| 576 | + background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(21, 128, 61, 0.15) 100%); | |
| 577 | + color: #22c55e; | |
| 578 | + } | |
| 579 | + | |
| 580 | + &.el-icon-document, | |
| 581 | + &.el-icon-document-copy { | |
| 582 | + background: linear-gradient(135deg, rgba(107, 114, 128, 0.15) 0%, rgba(75, 85, 99, 0.15) 100%); | |
| 583 | + color: #6b7280; | |
| 584 | + } | |
| 585 | + | |
| 586 | + &.el-icon-credit-card { | |
| 587 | + background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(219, 39, 119, 0.15) 100%); | |
| 588 | + color: #ec4899; | |
| 589 | + } | |
| 590 | + | |
| 591 | + &.el-icon-date, | |
| 592 | + &.el-icon-calendar { | |
| 593 | + background: linear-gradient(135deg, rgba(107, 114, 128, 0.15) 0%, rgba(75, 85, 99, 0.15) 100%); | |
| 594 | + color: #6b7280; | |
| 595 | + } | |
| 596 | + | |
| 597 | + &.el-icon-data-line, | |
| 598 | + &.el-icon-s-data { | |
| 599 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 600 | + color: #3b82f6; | |
| 601 | + } | |
| 602 | + | |
| 603 | + &.el-icon-goods, | |
| 604 | + &.el-icon-shopping-bag-1 { | |
| 605 | + background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(219, 39, 119, 0.15) 100%); | |
| 606 | + color: #ec4899; | |
| 607 | + } | |
| 608 | + | |
| 609 | + &:not([class*="el-icon-"]) { | |
| 610 | + background: linear-gradient(135deg, rgba(96, 98, 102, 0.1) 0%, rgba(144, 147, 153, 0.1) 100%); | |
| 611 | + color: #606266; | |
| 612 | + } | |
| 613 | + | |
| 614 | + &:hover { | |
| 615 | + transform: scale(1.1) rotate(5deg); | |
| 616 | + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); | |
| 617 | + | |
| 618 | + &::before { | |
| 619 | + left: 100%; | |
| 620 | + } | |
| 621 | + | |
| 622 | + &.el-icon-user, | |
| 623 | + &.el-icon-user-solid { | |
| 624 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 625 | + color: #fff; | |
| 626 | + } | |
| 627 | + | |
| 628 | + &.el-icon-trophy { | |
| 629 | + background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); | |
| 630 | + color: #fff; | |
| 631 | + } | |
| 632 | + | |
| 633 | + &.el-icon-money, | |
| 634 | + &.el-icon-coin { | |
| 635 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 636 | + color: #fff; | |
| 637 | + } | |
| 638 | + | |
| 639 | + &.el-icon-medal { | |
| 640 | + background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%); | |
| 641 | + color: #fff; | |
| 642 | + } | |
| 643 | + | |
| 644 | + &.el-icon-wallet { | |
| 645 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 646 | + color: #fff; | |
| 647 | + } | |
| 648 | + | |
| 649 | + &.el-icon-circle-minus { | |
| 650 | + background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); | |
| 651 | + color: #fff; | |
| 652 | + } | |
| 653 | + | |
| 654 | + &.el-icon-circle-plus { | |
| 655 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 656 | + color: #fff; | |
| 657 | + } | |
| 658 | + | |
| 659 | + &.el-icon-document, | |
| 660 | + &.el-icon-document-copy { | |
| 661 | + background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); | |
| 662 | + color: #fff; | |
| 663 | + } | |
| 664 | + | |
| 665 | + &.el-icon-credit-card { | |
| 666 | + background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); | |
| 667 | + color: #fff; | |
| 668 | + } | |
| 669 | + | |
| 670 | + &.el-icon-date, | |
| 671 | + &.el-icon-calendar { | |
| 672 | + background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); | |
| 673 | + color: #fff; | |
| 674 | + } | |
| 675 | + | |
| 676 | + &.el-icon-data-line, | |
| 677 | + &.el-icon-s-data { | |
| 678 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 679 | + color: #fff; | |
| 680 | + } | |
| 681 | + | |
| 682 | + &.el-icon-goods, | |
| 683 | + &.el-icon-shopping-bag-1 { | |
| 684 | + background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); | |
| 685 | + color: #fff; | |
| 686 | + } | |
| 687 | + | |
| 688 | + &:not([class*="el-icon-"]) { | |
| 689 | + background: linear-gradient(135deg, #606266 0%, #909399 100%); | |
| 690 | + color: #fff; | |
| 691 | + } | |
| 692 | + } | |
| 439 | 693 | } |
| 440 | 694 | } |
| 441 | 695 | |
| ... | ... | @@ -450,28 +704,49 @@ export default { |
| 450 | 704 | align-items: center; |
| 451 | 705 | min-width: 200px; |
| 452 | 706 | flex: 0 0 calc(33.333% - 27px); |
| 707 | + padding: 12px 16px; | |
| 708 | + background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(240, 242, 245, 0.8) 100%); | |
| 709 | + border-radius: 8px; | |
| 710 | + border: 1px solid rgba(144, 147, 153, 0.1); | |
| 711 | + transition: all 0.3s ease; | |
| 712 | + cursor: default; | |
| 713 | + | |
| 714 | + &:hover { | |
| 715 | + background: linear-gradient(135deg, rgba(239, 246, 255, 0.9) 0%, rgba(219, 234, 254, 0.9) 100%); | |
| 716 | + border-color: rgba(59, 130, 246, 0.3); | |
| 717 | + transform: translateY(-2px); | |
| 718 | + box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15); | |
| 719 | + } | |
| 453 | 720 | |
| 454 | 721 | .label { |
| 455 | 722 | color: #606266; |
| 456 | 723 | font-size: 14px; |
| 724 | + font-weight: 500; | |
| 457 | 725 | white-space: nowrap; |
| 458 | 726 | margin-right: 8px; |
| 727 | + flex-shrink: 0; | |
| 459 | 728 | } |
| 460 | 729 | |
| 461 | 730 | .value { |
| 462 | 731 | color: #303133; |
| 463 | 732 | font-size: 14px; |
| 464 | 733 | font-weight: 500; |
| 734 | + flex: 1; | |
| 735 | + text-align: right; | |
| 465 | 736 | |
| 466 | 737 | &.highlight { |
| 467 | - color: #409EFF; | |
| 468 | - font-weight: 600; | |
| 738 | + color: #3b82f6; | |
| 739 | + font-weight: 700; | |
| 740 | + font-size: 16px; | |
| 469 | 741 | } |
| 470 | 742 | |
| 471 | 743 | &.large { |
| 472 | - font-size: 18px; | |
| 473 | - color: #67C23A; | |
| 474 | - font-weight: 600; | |
| 744 | + font-size: 24px; | |
| 745 | + font-weight: 700; | |
| 746 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 747 | + -webkit-background-clip: text; | |
| 748 | + -webkit-text-fill-color: transparent; | |
| 749 | + background-clip: text; | |
| 475 | 750 | } |
| 476 | 751 | } |
| 477 | 752 | } |
| ... | ... | @@ -484,37 +759,32 @@ export default { |
| 484 | 759 | flex-direction: column; |
| 485 | 760 | align-items: center; |
| 486 | 761 | justify-content: center; |
| 487 | - padding: 60px 20px; | |
| 762 | + padding: 80px 20px; | |
| 488 | 763 | color: #909399; |
| 489 | 764 | |
| 490 | 765 | i { |
| 491 | - font-size: 48px; | |
| 492 | - margin-bottom: 16px; | |
| 766 | + font-size: 64px; | |
| 767 | + margin-bottom: 20px; | |
| 768 | + color: #cbd5e1; | |
| 769 | + animation: pulse 2s ease-in-out infinite; | |
| 493 | 770 | } |
| 494 | 771 | |
| 495 | - span { | |
| 496 | - font-size: 14px; | |
| 497 | - } | |
| 498 | - } | |
| 499 | -} | |
| 500 | - | |
| 501 | -// 滚动条样式 | |
| 502 | -.detail-content::-webkit-scrollbar { | |
| 503 | - width: 6px; | |
| 504 | -} | |
| 772 | + @keyframes pulse { | |
| 505 | 773 | |
| 506 | -.detail-content::-webkit-scrollbar-track { | |
| 507 | - background: #f1f1f1; | |
| 508 | - border-radius: 3px; | |
| 509 | -} | |
| 774 | + 0%, | |
| 775 | + 100% { | |
| 776 | + opacity: 1; | |
| 777 | + } | |
| 510 | 778 | |
| 511 | -.detail-content::-webkit-scrollbar-thumb { | |
| 512 | - background: #c1c1c1; | |
| 513 | - border-radius: 3px; | |
| 779 | + 50% { | |
| 780 | + opacity: 0.5; | |
| 781 | + } | |
| 782 | + } | |
| 514 | 783 | |
| 515 | - &:hover { | |
| 516 | - background: #a8a8a8; | |
| 784 | + span { | |
| 785 | + font-size: 16px; | |
| 786 | + font-weight: 500; | |
| 787 | + } | |
| 517 | 788 | } |
| 518 | 789 | } |
| 519 | 790 | </style> |
| 520 | - | ... | ... |
antis-ncc-admin/src/views/wageManagement/shop-stock-detail-dialog.vue
| ... | ... | @@ -6,6 +6,8 @@ |
| 6 | 6 | :close-on-click-modal="false" |
| 7 | 7 | @close="handleClose" |
| 8 | 8 | class="detail-dialog" |
| 9 | + :modal="true" | |
| 10 | + :modal-append-to-body="true" | |
| 9 | 11 | > |
| 10 | 12 | <div v-if="detailData" class="detail-content"> |
| 11 | 13 | <!-- 基本信息 --> |
| ... | ... | @@ -374,36 +376,292 @@ export default { |
| 374 | 376 | |
| 375 | 377 | <style lang="scss" scoped> |
| 376 | 378 | .detail-dialog { |
| 379 | + ::v-deep .el-dialog { | |
| 380 | + border-radius: 16px; | |
| 381 | + overflow: hidden; | |
| 382 | + background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #f0f4f8 100%); | |
| 383 | + } | |
| 384 | + | |
| 385 | + ::v-deep .el-dialog__header { | |
| 386 | + background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%); | |
| 387 | + backdrop-filter: blur(10px); | |
| 388 | + padding: 20px 24px; | |
| 389 | + border-bottom: 2px solid rgba(59, 130, 246, 0.2); | |
| 390 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); | |
| 391 | + | |
| 392 | + .el-dialog__title { | |
| 393 | + font-size: 20px; | |
| 394 | + font-weight: 700; | |
| 395 | + background: linear-gradient(135deg, #303133 0%, #606266 100%); | |
| 396 | + -webkit-background-clip: text; | |
| 397 | + -webkit-text-fill-color: transparent; | |
| 398 | + background-clip: text; | |
| 399 | + } | |
| 400 | + | |
| 401 | + .el-dialog__close { | |
| 402 | + color: #606266; | |
| 403 | + font-size: 20px; | |
| 404 | + transition: all 0.3s ease; | |
| 405 | + | |
| 406 | + &:hover { | |
| 407 | + color: #3b82f6; | |
| 408 | + transform: rotate(90deg); | |
| 409 | + } | |
| 410 | + } | |
| 411 | + } | |
| 412 | + | |
| 413 | + ::v-deep .el-dialog__body { | |
| 414 | + padding: 24px; | |
| 415 | + background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #f0f4f8 100%); | |
| 416 | + } | |
| 417 | + | |
| 377 | 418 | .detail-content { |
| 378 | 419 | max-height: 70vh; |
| 379 | 420 | overflow-y: auto; |
| 380 | - padding: 20px; | |
| 421 | + padding-right: 10px; | |
| 422 | + | |
| 423 | + &::-webkit-scrollbar { | |
| 424 | + width: 8px; | |
| 425 | + } | |
| 426 | + | |
| 427 | + &::-webkit-scrollbar-track { | |
| 428 | + background: rgba(144, 147, 153, 0.1); | |
| 429 | + border-radius: 4px; | |
| 430 | + } | |
| 431 | + | |
| 432 | + &::-webkit-scrollbar-thumb { | |
| 433 | + background: rgba(144, 147, 153, 0.3); | |
| 434 | + border-radius: 4px; | |
| 435 | + transition: background 0.3s ease; | |
| 436 | + | |
| 437 | + &:hover { | |
| 438 | + background: rgba(144, 147, 153, 0.5); | |
| 439 | + } | |
| 440 | + } | |
| 381 | 441 | } |
| 382 | 442 | |
| 383 | 443 | .detail-section { |
| 384 | - margin-bottom: 24px; | |
| 385 | - background: #f9f9f9; | |
| 386 | - border-radius: 8px; | |
| 387 | - padding: 16px; | |
| 444 | + margin-bottom: 20px; | |
| 445 | + background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%); | |
| 446 | + backdrop-filter: blur(10px); | |
| 447 | + border-radius: 12px; | |
| 448 | + padding: 20px 24px; | |
| 449 | + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04); | |
| 450 | + border: 1px solid rgba(144, 147, 153, 0.15); | |
| 451 | + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| 452 | + position: relative; | |
| 453 | + overflow: hidden; | |
| 388 | 454 | |
| 389 | - &:last-child { | |
| 390 | - margin-bottom: 0; | |
| 455 | + &::before { | |
| 456 | + content: ''; | |
| 457 | + position: absolute; | |
| 458 | + top: 0; | |
| 459 | + left: 0; | |
| 460 | + right: 0; | |
| 461 | + height: 3px; | |
| 462 | + background: linear-gradient(90deg, #3b82f6 0%, #2563eb 50%, #3b82f6 100%); | |
| 463 | + opacity: 0; | |
| 464 | + transition: opacity 0.3s ease; | |
| 465 | + } | |
| 466 | + | |
| 467 | + &:hover { | |
| 468 | + box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06); | |
| 469 | + transform: translateY(-2px); | |
| 470 | + | |
| 471 | + &::before { | |
| 472 | + opacity: 1; | |
| 473 | + } | |
| 391 | 474 | } |
| 392 | 475 | |
| 393 | 476 | .section-title { |
| 394 | 477 | display: flex; |
| 395 | 478 | align-items: center; |
| 396 | - gap: 8px; | |
| 397 | - margin-bottom: 16px; | |
| 398 | - font-size: 16px; | |
| 399 | - font-weight: 600; | |
| 400 | - color: #303133; | |
| 401 | - border-bottom: 2px solid #409EFF; | |
| 402 | - padding-bottom: 8px; | |
| 479 | + gap: 12px; | |
| 480 | + margin-bottom: 20px; | |
| 481 | + padding-bottom: 16px; | |
| 482 | + border-bottom: 2px solid rgba(59, 130, 246, 0.2); | |
| 483 | + font-size: 18px; | |
| 484 | + font-weight: 700; | |
| 485 | + background: linear-gradient(135deg, #303133 0%, #606266 100%); | |
| 486 | + -webkit-background-clip: text; | |
| 487 | + -webkit-text-fill-color: transparent; | |
| 488 | + background-clip: text; | |
| 489 | + position: relative; | |
| 403 | 490 | |
| 404 | 491 | i { |
| 405 | - color: #409EFF; | |
| 492 | + width: 36px; | |
| 493 | + height: 36px; | |
| 494 | + display: flex; | |
| 495 | + align-items: center; | |
| 496 | + justify-content: center; | |
| 497 | + border-radius: 8px; | |
| 406 | 498 | font-size: 18px; |
| 499 | + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| 500 | + position: relative; | |
| 501 | + overflow: hidden; | |
| 502 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); | |
| 503 | + | |
| 504 | + &::before { | |
| 505 | + content: ''; | |
| 506 | + position: absolute; | |
| 507 | + top: 0; | |
| 508 | + left: -100%; | |
| 509 | + width: 100%; | |
| 510 | + height: 100%; | |
| 511 | + background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); | |
| 512 | + transition: left 0.5s ease; | |
| 513 | + } | |
| 514 | + | |
| 515 | + &.el-icon-user, | |
| 516 | + &.el-icon-user-solid { | |
| 517 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 518 | + color: #3b82f6; | |
| 519 | + } | |
| 520 | + | |
| 521 | + &.el-icon-trophy { | |
| 522 | + background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.15) 100%); | |
| 523 | + color: #f59e0b; | |
| 524 | + } | |
| 525 | + | |
| 526 | + &.el-icon-money, | |
| 527 | + &.el-icon-coin { | |
| 528 | + background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(21, 128, 61, 0.15) 100%); | |
| 529 | + color: #22c55e; | |
| 530 | + } | |
| 531 | + | |
| 532 | + &.el-icon-medal { | |
| 533 | + background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(147, 51, 234, 0.15) 100%); | |
| 534 | + color: #a855f7; | |
| 535 | + } | |
| 536 | + | |
| 537 | + &.el-icon-wallet { | |
| 538 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 539 | + color: #3b82f6; | |
| 540 | + } | |
| 541 | + | |
| 542 | + &.el-icon-circle-minus { | |
| 543 | + background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%); | |
| 544 | + color: #ef4444; | |
| 545 | + } | |
| 546 | + | |
| 547 | + &.el-icon-circle-plus { | |
| 548 | + background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(21, 128, 61, 0.15) 100%); | |
| 549 | + color: #22c55e; | |
| 550 | + } | |
| 551 | + | |
| 552 | + &.el-icon-document, | |
| 553 | + &.el-icon-document-copy { | |
| 554 | + background: linear-gradient(135deg, rgba(107, 114, 128, 0.15) 0%, rgba(75, 85, 99, 0.15) 100%); | |
| 555 | + color: #6b7280; | |
| 556 | + } | |
| 557 | + | |
| 558 | + &.el-icon-credit-card { | |
| 559 | + background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(219, 39, 119, 0.15) 100%); | |
| 560 | + color: #ec4899; | |
| 561 | + } | |
| 562 | + | |
| 563 | + &.el-icon-date, | |
| 564 | + &.el-icon-calendar { | |
| 565 | + background: linear-gradient(135deg, rgba(107, 114, 128, 0.15) 0%, rgba(75, 85, 99, 0.15) 100%); | |
| 566 | + color: #6b7280; | |
| 567 | + } | |
| 568 | + | |
| 569 | + &.el-icon-data-line, | |
| 570 | + &.el-icon-s-data { | |
| 571 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 572 | + color: #3b82f6; | |
| 573 | + } | |
| 574 | + | |
| 575 | + &.el-icon-goods, | |
| 576 | + &.el-icon-shopping-bag-1 { | |
| 577 | + background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(219, 39, 119, 0.15) 100%); | |
| 578 | + color: #ec4899; | |
| 579 | + } | |
| 580 | + | |
| 581 | + &:not([class*="el-icon-"]) { | |
| 582 | + background: linear-gradient(135deg, rgba(96, 98, 102, 0.1) 0%, rgba(144, 147, 153, 0.1) 100%); | |
| 583 | + color: #606266; | |
| 584 | + } | |
| 585 | + | |
| 586 | + &:hover { | |
| 587 | + transform: scale(1.1) rotate(5deg); | |
| 588 | + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); | |
| 589 | + | |
| 590 | + &::before { | |
| 591 | + left: 100%; | |
| 592 | + } | |
| 593 | + | |
| 594 | + &.el-icon-user, | |
| 595 | + &.el-icon-user-solid { | |
| 596 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 597 | + color: #fff; | |
| 598 | + } | |
| 599 | + | |
| 600 | + &.el-icon-trophy { | |
| 601 | + background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); | |
| 602 | + color: #fff; | |
| 603 | + } | |
| 604 | + | |
| 605 | + &.el-icon-money, | |
| 606 | + &.el-icon-coin { | |
| 607 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 608 | + color: #fff; | |
| 609 | + } | |
| 610 | + | |
| 611 | + &.el-icon-medal { | |
| 612 | + background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%); | |
| 613 | + color: #fff; | |
| 614 | + } | |
| 615 | + | |
| 616 | + &.el-icon-wallet { | |
| 617 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 618 | + color: #fff; | |
| 619 | + } | |
| 620 | + | |
| 621 | + &.el-icon-circle-minus { | |
| 622 | + background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); | |
| 623 | + color: #fff; | |
| 624 | + } | |
| 625 | + | |
| 626 | + &.el-icon-circle-plus { | |
| 627 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 628 | + color: #fff; | |
| 629 | + } | |
| 630 | + | |
| 631 | + &.el-icon-document, | |
| 632 | + &.el-icon-document-copy { | |
| 633 | + background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); | |
| 634 | + color: #fff; | |
| 635 | + } | |
| 636 | + | |
| 637 | + &.el-icon-credit-card { | |
| 638 | + background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); | |
| 639 | + color: #fff; | |
| 640 | + } | |
| 641 | + | |
| 642 | + &.el-icon-date, | |
| 643 | + &.el-icon-calendar { | |
| 644 | + background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); | |
| 645 | + color: #fff; | |
| 646 | + } | |
| 647 | + | |
| 648 | + &.el-icon-data-line, | |
| 649 | + &.el-icon-s-data { | |
| 650 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 651 | + color: #fff; | |
| 652 | + } | |
| 653 | + | |
| 654 | + &.el-icon-goods, | |
| 655 | + &.el-icon-shopping-bag-1 { | |
| 656 | + background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); | |
| 657 | + color: #fff; | |
| 658 | + } | |
| 659 | + | |
| 660 | + &:not([class*="el-icon-"]) { | |
| 661 | + background: linear-gradient(135deg, #606266 0%, #909399 100%); | |
| 662 | + color: #fff; | |
| 663 | + } | |
| 664 | + } | |
| 407 | 665 | } |
| 408 | 666 | } |
| 409 | 667 | |
| ... | ... | @@ -411,37 +669,56 @@ export default { |
| 411 | 669 | .info-row { |
| 412 | 670 | display: flex; |
| 413 | 671 | flex-wrap: wrap; |
| 414 | - gap: 20px; | |
| 672 | + gap: 20px 40px; | |
| 415 | 673 | |
| 416 | 674 | .info-item { |
| 417 | - flex: 0 0 calc(25% - 15px); | |
| 418 | - min-width: 200px; | |
| 419 | 675 | display: flex; |
| 420 | 676 | align-items: center; |
| 421 | - padding: 8px 12px; | |
| 422 | - background: #fff; | |
| 423 | - border-radius: 4px; | |
| 424 | - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); | |
| 677 | + min-width: 200px; | |
| 678 | + flex: 0 0 calc(33.333% - 27px); | |
| 679 | + padding: 12px 16px; | |
| 680 | + background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(240, 242, 245, 0.8) 100%); | |
| 681 | + border-radius: 8px; | |
| 682 | + border: 1px solid rgba(144, 147, 153, 0.1); | |
| 683 | + transition: all 0.3s ease; | |
| 684 | + cursor: default; | |
| 685 | + | |
| 686 | + &:hover { | |
| 687 | + background: linear-gradient(135deg, rgba(239, 246, 255, 0.9) 0%, rgba(219, 234, 254, 0.9) 100%); | |
| 688 | + border-color: rgba(59, 130, 246, 0.3); | |
| 689 | + transform: translateY(-2px); | |
| 690 | + box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15); | |
| 691 | + } | |
| 425 | 692 | |
| 426 | 693 | .label { |
| 427 | 694 | color: #606266; |
| 695 | + font-size: 14px; | |
| 428 | 696 | font-weight: 500; |
| 429 | - margin-right: 8px; | |
| 430 | 697 | white-space: nowrap; |
| 698 | + margin-right: 8px; | |
| 699 | + flex-shrink: 0; | |
| 431 | 700 | } |
| 432 | 701 | |
| 433 | 702 | .value { |
| 434 | 703 | color: #303133; |
| 704 | + font-size: 14px; | |
| 705 | + font-weight: 500; | |
| 435 | 706 | flex: 1; |
| 436 | 707 | text-align: right; |
| 437 | 708 | |
| 438 | 709 | &.highlight { |
| 439 | - color: #409EFF; | |
| 440 | - font-weight: 600; | |
| 710 | + color: #3b82f6; | |
| 711 | + font-weight: 700; | |
| 712 | + font-size: 16px; | |
| 441 | 713 | } |
| 442 | 714 | |
| 443 | 715 | &.large { |
| 444 | - font-size: 18px; | |
| 716 | + font-size: 24px; | |
| 717 | + font-weight: 700; | |
| 718 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 719 | + -webkit-background-clip: text; | |
| 720 | + -webkit-text-fill-color: transparent; | |
| 721 | + background-clip: text; | |
| 445 | 722 | } |
| 446 | 723 | } |
| 447 | 724 | } |
| ... | ... | @@ -449,29 +726,40 @@ export default { |
| 449 | 726 | } |
| 450 | 727 | } |
| 451 | 728 | |
| 452 | - .dialog-footer { | |
| 453 | - text-align: right; | |
| 454 | - padding: 20px; | |
| 455 | - border-top: 1px solid #e4e7ed; | |
| 456 | - } | |
| 457 | -} | |
| 729 | + .no-data { | |
| 730 | + display: flex; | |
| 731 | + flex-direction: column; | |
| 732 | + align-items: center; | |
| 733 | + justify-content: center; | |
| 734 | + padding: 80px 20px; | |
| 735 | + color: #909399; | |
| 458 | 736 | |
| 459 | -// 滚动条样式 | |
| 460 | -.detail-content::-webkit-scrollbar { | |
| 461 | - width: 6px; | |
| 462 | -} | |
| 737 | + i { | |
| 738 | + font-size: 64px; | |
| 739 | + margin-bottom: 20px; | |
| 740 | + color: #cbd5e1; | |
| 741 | + animation: pulse 2s ease-in-out infinite; | |
| 742 | + } | |
| 463 | 743 | |
| 464 | -.detail-content::-webkit-scrollbar-track { | |
| 465 | - background: #f1f1f1; | |
| 466 | - border-radius: 3px; | |
| 467 | -} | |
| 744 | + @keyframes pulse { | |
| 745 | + 0%, 100% { | |
| 746 | + opacity: 1; | |
| 747 | + } | |
| 748 | + 50% { | |
| 749 | + opacity: 0.5; | |
| 750 | + } | |
| 751 | + } | |
| 468 | 752 | |
| 469 | -.detail-content::-webkit-scrollbar-thumb { | |
| 470 | - background: #c1c1c1; | |
| 471 | - border-radius: 3px; | |
| 753 | + span { | |
| 754 | + font-size: 16px; | |
| 755 | + font-weight: 500; | |
| 756 | + } | |
| 757 | + } | |
| 472 | 758 | |
| 473 | - &:hover { | |
| 474 | - background: #a8a8a8; | |
| 759 | + .dialog-footer { | |
| 760 | + text-align: right; | |
| 761 | + padding: 20px; | |
| 762 | + border-top: 1px solid rgba(228, 231, 237, 0.5); | |
| 475 | 763 | } |
| 476 | 764 | } |
| 477 | 765 | </style> | ... | ... |
antis-ncc-admin/src/views/wageManagement/tech-general-manager-detail-dialog.vue
| ... | ... | @@ -6,6 +6,8 @@ |
| 6 | 6 | :close-on-click-modal="false" |
| 7 | 7 | @close="handleClose" |
| 8 | 8 | class="detail-dialog" |
| 9 | + :modal="true" | |
| 10 | + :modal-append-to-body="true" | |
| 9 | 11 | > |
| 10 | 12 | <div v-if="detailData" class="detail-content"> |
| 11 | 13 | <!-- 基本信息 --> |
| ... | ... | @@ -316,33 +318,292 @@ export default { |
| 316 | 318 | |
| 317 | 319 | <style lang="scss" scoped> |
| 318 | 320 | .detail-dialog { |
| 321 | + ::v-deep .el-dialog { | |
| 322 | + border-radius: 16px; | |
| 323 | + overflow: hidden; | |
| 324 | + background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #f0f4f8 100%); | |
| 325 | + } | |
| 326 | + | |
| 327 | + ::v-deep .el-dialog__header { | |
| 328 | + background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%); | |
| 329 | + backdrop-filter: blur(10px); | |
| 330 | + padding: 20px 24px; | |
| 331 | + border-bottom: 2px solid rgba(59, 130, 246, 0.2); | |
| 332 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); | |
| 333 | + | |
| 334 | + .el-dialog__title { | |
| 335 | + font-size: 20px; | |
| 336 | + font-weight: 700; | |
| 337 | + background: linear-gradient(135deg, #303133 0%, #606266 100%); | |
| 338 | + -webkit-background-clip: text; | |
| 339 | + -webkit-text-fill-color: transparent; | |
| 340 | + background-clip: text; | |
| 341 | + } | |
| 342 | + | |
| 343 | + .el-dialog__close { | |
| 344 | + color: #606266; | |
| 345 | + font-size: 20px; | |
| 346 | + transition: all 0.3s ease; | |
| 347 | + | |
| 348 | + &:hover { | |
| 349 | + color: #3b82f6; | |
| 350 | + transform: rotate(90deg); | |
| 351 | + } | |
| 352 | + } | |
| 353 | + } | |
| 354 | + | |
| 355 | + ::v-deep .el-dialog__body { | |
| 356 | + padding: 24px; | |
| 357 | + background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #f0f4f8 100%); | |
| 358 | + } | |
| 359 | + | |
| 319 | 360 | .detail-content { |
| 320 | 361 | max-height: 70vh; |
| 321 | 362 | overflow-y: auto; |
| 322 | 363 | padding-right: 10px; |
| 364 | + | |
| 365 | + &::-webkit-scrollbar { | |
| 366 | + width: 8px; | |
| 367 | + } | |
| 368 | + | |
| 369 | + &::-webkit-scrollbar-track { | |
| 370 | + background: rgba(144, 147, 153, 0.1); | |
| 371 | + border-radius: 4px; | |
| 372 | + } | |
| 373 | + | |
| 374 | + &::-webkit-scrollbar-thumb { | |
| 375 | + background: rgba(144, 147, 153, 0.3); | |
| 376 | + border-radius: 4px; | |
| 377 | + transition: background 0.3s ease; | |
| 378 | + | |
| 379 | + &:hover { | |
| 380 | + background: rgba(144, 147, 153, 0.5); | |
| 381 | + } | |
| 382 | + } | |
| 323 | 383 | } |
| 324 | 384 | |
| 325 | 385 | .detail-section { |
| 326 | 386 | margin-bottom: 20px; |
| 327 | - background: #fff; | |
| 328 | - border-radius: 8px; | |
| 329 | - padding: 20px; | |
| 330 | - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
| 387 | + background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%); | |
| 388 | + backdrop-filter: blur(10px); | |
| 389 | + border-radius: 12px; | |
| 390 | + padding: 20px 24px; | |
| 391 | + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04); | |
| 392 | + border: 1px solid rgba(144, 147, 153, 0.15); | |
| 393 | + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| 394 | + position: relative; | |
| 395 | + overflow: hidden; | |
| 396 | + | |
| 397 | + &::before { | |
| 398 | + content: ''; | |
| 399 | + position: absolute; | |
| 400 | + top: 0; | |
| 401 | + left: 0; | |
| 402 | + right: 0; | |
| 403 | + height: 3px; | |
| 404 | + background: linear-gradient(90deg, #3b82f6 0%, #2563eb 50%, #3b82f6 100%); | |
| 405 | + opacity: 0; | |
| 406 | + transition: opacity 0.3s ease; | |
| 407 | + } | |
| 408 | + | |
| 409 | + &:hover { | |
| 410 | + box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06); | |
| 411 | + transform: translateY(-2px); | |
| 412 | + | |
| 413 | + &::before { | |
| 414 | + opacity: 1; | |
| 415 | + } | |
| 416 | + } | |
| 331 | 417 | |
| 332 | 418 | .section-title { |
| 333 | 419 | display: flex; |
| 334 | 420 | align-items: center; |
| 335 | - gap: 8px; | |
| 336 | - margin-bottom: 16px; | |
| 337 | - padding-bottom: 12px; | |
| 338 | - border-bottom: 2px solid #409EFF; | |
| 339 | - font-size: 16px; | |
| 340 | - font-weight: 600; | |
| 341 | - color: #303133; | |
| 421 | + gap: 12px; | |
| 422 | + margin-bottom: 20px; | |
| 423 | + padding-bottom: 16px; | |
| 424 | + border-bottom: 2px solid rgba(59, 130, 246, 0.2); | |
| 425 | + font-size: 18px; | |
| 426 | + font-weight: 700; | |
| 427 | + background: linear-gradient(135deg, #303133 0%, #606266 100%); | |
| 428 | + -webkit-background-clip: text; | |
| 429 | + -webkit-text-fill-color: transparent; | |
| 430 | + background-clip: text; | |
| 431 | + position: relative; | |
| 342 | 432 | |
| 343 | 433 | i { |
| 344 | - color: #409EFF; | |
| 434 | + width: 36px; | |
| 435 | + height: 36px; | |
| 436 | + display: flex; | |
| 437 | + align-items: center; | |
| 438 | + justify-content: center; | |
| 439 | + border-radius: 8px; | |
| 345 | 440 | font-size: 18px; |
| 441 | + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| 442 | + position: relative; | |
| 443 | + overflow: hidden; | |
| 444 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); | |
| 445 | + | |
| 446 | + &::before { | |
| 447 | + content: ''; | |
| 448 | + position: absolute; | |
| 449 | + top: 0; | |
| 450 | + left: -100%; | |
| 451 | + width: 100%; | |
| 452 | + height: 100%; | |
| 453 | + background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); | |
| 454 | + transition: left 0.5s ease; | |
| 455 | + } | |
| 456 | + | |
| 457 | + &.el-icon-user, | |
| 458 | + &.el-icon-user-solid { | |
| 459 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 460 | + color: #3b82f6; | |
| 461 | + } | |
| 462 | + | |
| 463 | + &.el-icon-trophy { | |
| 464 | + background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.15) 100%); | |
| 465 | + color: #f59e0b; | |
| 466 | + } | |
| 467 | + | |
| 468 | + &.el-icon-money, | |
| 469 | + &.el-icon-coin { | |
| 470 | + background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(21, 128, 61, 0.15) 100%); | |
| 471 | + color: #22c55e; | |
| 472 | + } | |
| 473 | + | |
| 474 | + &.el-icon-medal { | |
| 475 | + background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(147, 51, 234, 0.15) 100%); | |
| 476 | + color: #a855f7; | |
| 477 | + } | |
| 478 | + | |
| 479 | + &.el-icon-wallet { | |
| 480 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 481 | + color: #3b82f6; | |
| 482 | + } | |
| 483 | + | |
| 484 | + &.el-icon-circle-minus { | |
| 485 | + background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%); | |
| 486 | + color: #ef4444; | |
| 487 | + } | |
| 488 | + | |
| 489 | + &.el-icon-circle-plus { | |
| 490 | + background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(21, 128, 61, 0.15) 100%); | |
| 491 | + color: #22c55e; | |
| 492 | + } | |
| 493 | + | |
| 494 | + &.el-icon-document, | |
| 495 | + &.el-icon-document-copy { | |
| 496 | + background: linear-gradient(135deg, rgba(107, 114, 128, 0.15) 0%, rgba(75, 85, 99, 0.15) 100%); | |
| 497 | + color: #6b7280; | |
| 498 | + } | |
| 499 | + | |
| 500 | + &.el-icon-credit-card { | |
| 501 | + background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(219, 39, 119, 0.15) 100%); | |
| 502 | + color: #ec4899; | |
| 503 | + } | |
| 504 | + | |
| 505 | + &.el-icon-date, | |
| 506 | + &.el-icon-calendar { | |
| 507 | + background: linear-gradient(135deg, rgba(107, 114, 128, 0.15) 0%, rgba(75, 85, 99, 0.15) 100%); | |
| 508 | + color: #6b7280; | |
| 509 | + } | |
| 510 | + | |
| 511 | + &.el-icon-data-line, | |
| 512 | + &.el-icon-s-data { | |
| 513 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 514 | + color: #3b82f6; | |
| 515 | + } | |
| 516 | + | |
| 517 | + &.el-icon-goods, | |
| 518 | + &.el-icon-shopping-bag-1 { | |
| 519 | + background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(219, 39, 119, 0.15) 100%); | |
| 520 | + color: #ec4899; | |
| 521 | + } | |
| 522 | + | |
| 523 | + &:not([class*="el-icon-"]) { | |
| 524 | + background: linear-gradient(135deg, rgba(96, 98, 102, 0.1) 0%, rgba(144, 147, 153, 0.1) 100%); | |
| 525 | + color: #606266; | |
| 526 | + } | |
| 527 | + | |
| 528 | + &:hover { | |
| 529 | + transform: scale(1.1) rotate(5deg); | |
| 530 | + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); | |
| 531 | + | |
| 532 | + &::before { | |
| 533 | + left: 100%; | |
| 534 | + } | |
| 535 | + | |
| 536 | + &.el-icon-user, | |
| 537 | + &.el-icon-user-solid { | |
| 538 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 539 | + color: #fff; | |
| 540 | + } | |
| 541 | + | |
| 542 | + &.el-icon-trophy { | |
| 543 | + background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); | |
| 544 | + color: #fff; | |
| 545 | + } | |
| 546 | + | |
| 547 | + &.el-icon-money, | |
| 548 | + &.el-icon-coin { | |
| 549 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 550 | + color: #fff; | |
| 551 | + } | |
| 552 | + | |
| 553 | + &.el-icon-medal { | |
| 554 | + background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%); | |
| 555 | + color: #fff; | |
| 556 | + } | |
| 557 | + | |
| 558 | + &.el-icon-wallet { | |
| 559 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 560 | + color: #fff; | |
| 561 | + } | |
| 562 | + | |
| 563 | + &.el-icon-circle-minus { | |
| 564 | + background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); | |
| 565 | + color: #fff; | |
| 566 | + } | |
| 567 | + | |
| 568 | + &.el-icon-circle-plus { | |
| 569 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 570 | + color: #fff; | |
| 571 | + } | |
| 572 | + | |
| 573 | + &.el-icon-document, | |
| 574 | + &.el-icon-document-copy { | |
| 575 | + background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); | |
| 576 | + color: #fff; | |
| 577 | + } | |
| 578 | + | |
| 579 | + &.el-icon-credit-card { | |
| 580 | + background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); | |
| 581 | + color: #fff; | |
| 582 | + } | |
| 583 | + | |
| 584 | + &.el-icon-date, | |
| 585 | + &.el-icon-calendar { | |
| 586 | + background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); | |
| 587 | + color: #fff; | |
| 588 | + } | |
| 589 | + | |
| 590 | + &.el-icon-data-line, | |
| 591 | + &.el-icon-s-data { | |
| 592 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 593 | + color: #fff; | |
| 594 | + } | |
| 595 | + | |
| 596 | + &.el-icon-goods, | |
| 597 | + &.el-icon-shopping-bag-1 { | |
| 598 | + background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); | |
| 599 | + color: #fff; | |
| 600 | + } | |
| 601 | + | |
| 602 | + &:not([class*="el-icon-"]) { | |
| 603 | + background: linear-gradient(135deg, #606266 0%, #909399 100%); | |
| 604 | + color: #fff; | |
| 605 | + } | |
| 606 | + } | |
| 346 | 607 | } |
| 347 | 608 | } |
| 348 | 609 | |
| ... | ... | @@ -357,27 +618,49 @@ export default { |
| 357 | 618 | align-items: center; |
| 358 | 619 | min-width: 200px; |
| 359 | 620 | flex: 0 0 calc(33.333% - 27px); |
| 621 | + padding: 12px 16px; | |
| 622 | + background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(240, 242, 245, 0.8) 100%); | |
| 623 | + border-radius: 8px; | |
| 624 | + border: 1px solid rgba(144, 147, 153, 0.1); | |
| 625 | + transition: all 0.3s ease; | |
| 626 | + cursor: default; | |
| 627 | + | |
| 628 | + &:hover { | |
| 629 | + background: linear-gradient(135deg, rgba(239, 246, 255, 0.9) 0%, rgba(219, 234, 254, 0.9) 100%); | |
| 630 | + border-color: rgba(59, 130, 246, 0.3); | |
| 631 | + transform: translateY(-2px); | |
| 632 | + box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15); | |
| 633 | + } | |
| 360 | 634 | |
| 361 | 635 | .label { |
| 362 | 636 | color: #606266; |
| 363 | 637 | font-size: 14px; |
| 638 | + font-weight: 500; | |
| 364 | 639 | white-space: nowrap; |
| 365 | 640 | margin-right: 8px; |
| 641 | + flex-shrink: 0; | |
| 366 | 642 | } |
| 367 | 643 | |
| 368 | 644 | .value { |
| 369 | 645 | color: #303133; |
| 370 | 646 | font-size: 14px; |
| 371 | 647 | font-weight: 500; |
| 648 | + flex: 1; | |
| 649 | + text-align: right; | |
| 372 | 650 | |
| 373 | 651 | &.highlight { |
| 374 | - color: #409EFF; | |
| 375 | - font-weight: 600; | |
| 652 | + color: #3b82f6; | |
| 653 | + font-weight: 700; | |
| 654 | + font-size: 16px; | |
| 376 | 655 | } |
| 377 | 656 | |
| 378 | 657 | &.large { |
| 379 | - font-size: 18px; | |
| 380 | - color: #67C23A; | |
| 658 | + font-size: 24px; | |
| 659 | + font-weight: 700; | |
| 660 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 661 | + -webkit-background-clip: text; | |
| 662 | + -webkit-text-fill-color: transparent; | |
| 663 | + background-clip: text; | |
| 381 | 664 | } |
| 382 | 665 | } |
| 383 | 666 | } |
| ... | ... | @@ -390,36 +673,29 @@ export default { |
| 390 | 673 | flex-direction: column; |
| 391 | 674 | align-items: center; |
| 392 | 675 | justify-content: center; |
| 393 | - padding: 60px 20px; | |
| 676 | + padding: 80px 20px; | |
| 394 | 677 | color: #909399; |
| 395 | 678 | |
| 396 | 679 | i { |
| 397 | - font-size: 48px; | |
| 398 | - margin-bottom: 16px; | |
| 680 | + font-size: 64px; | |
| 681 | + margin-bottom: 20px; | |
| 682 | + color: #cbd5e1; | |
| 683 | + animation: pulse 2s ease-in-out infinite; | |
| 399 | 684 | } |
| 400 | 685 | |
| 401 | - span { | |
| 402 | - font-size: 14px; | |
| 686 | + @keyframes pulse { | |
| 687 | + 0%, 100% { | |
| 688 | + opacity: 1; | |
| 689 | + } | |
| 690 | + 50% { | |
| 691 | + opacity: 0.5; | |
| 692 | + } | |
| 403 | 693 | } |
| 404 | - } | |
| 405 | -} | |
| 406 | - | |
| 407 | -// 滚动条样式 | |
| 408 | -.detail-content::-webkit-scrollbar { | |
| 409 | - width: 6px; | |
| 410 | -} | |
| 411 | 694 | |
| 412 | -.detail-content::-webkit-scrollbar-track { | |
| 413 | - background: #f1f1f1; | |
| 414 | - border-radius: 3px; | |
| 415 | -} | |
| 416 | - | |
| 417 | -.detail-content::-webkit-scrollbar-thumb { | |
| 418 | - background: #c1c1c1; | |
| 419 | - border-radius: 3px; | |
| 420 | - | |
| 421 | - &:hover { | |
| 422 | - background: #a8a8a8; | |
| 695 | + span { | |
| 696 | + font-size: 16px; | |
| 697 | + font-weight: 500; | |
| 698 | + } | |
| 423 | 699 | } |
| 424 | 700 | } |
| 425 | 701 | </style> | ... | ... |
antis-ncc-admin/src/views/wageManagement/tech-stock-detail-dialog.vue
| ... | ... | @@ -6,6 +6,8 @@ |
| 6 | 6 | :close-on-click-modal="false" |
| 7 | 7 | @close="handleClose" |
| 8 | 8 | class="detail-dialog" |
| 9 | + :modal="true" | |
| 10 | + :modal-append-to-body="true" | |
| 9 | 11 | > |
| 10 | 12 | <div v-if="detailData" class="detail-content"> |
| 11 | 13 | <!-- 基本信息 --> |
| ... | ... | @@ -194,36 +196,292 @@ export default { |
| 194 | 196 | |
| 195 | 197 | <style lang="scss" scoped> |
| 196 | 198 | .detail-dialog { |
| 199 | + ::v-deep .el-dialog { | |
| 200 | + border-radius: 16px; | |
| 201 | + overflow: hidden; | |
| 202 | + background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #f0f4f8 100%); | |
| 203 | + } | |
| 204 | + | |
| 205 | + ::v-deep .el-dialog__header { | |
| 206 | + background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%); | |
| 207 | + backdrop-filter: blur(10px); | |
| 208 | + padding: 20px 24px; | |
| 209 | + border-bottom: 2px solid rgba(59, 130, 246, 0.2); | |
| 210 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); | |
| 211 | + | |
| 212 | + .el-dialog__title { | |
| 213 | + font-size: 20px; | |
| 214 | + font-weight: 700; | |
| 215 | + background: linear-gradient(135deg, #303133 0%, #606266 100%); | |
| 216 | + -webkit-background-clip: text; | |
| 217 | + -webkit-text-fill-color: transparent; | |
| 218 | + background-clip: text; | |
| 219 | + } | |
| 220 | + | |
| 221 | + .el-dialog__close { | |
| 222 | + color: #606266; | |
| 223 | + font-size: 20px; | |
| 224 | + transition: all 0.3s ease; | |
| 225 | + | |
| 226 | + &:hover { | |
| 227 | + color: #3b82f6; | |
| 228 | + transform: rotate(90deg); | |
| 229 | + } | |
| 230 | + } | |
| 231 | + } | |
| 232 | + | |
| 233 | + ::v-deep .el-dialog__body { | |
| 234 | + padding: 24px; | |
| 235 | + background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #f0f4f8 100%); | |
| 236 | + } | |
| 237 | + | |
| 197 | 238 | .detail-content { |
| 198 | 239 | max-height: 70vh; |
| 199 | 240 | overflow-y: auto; |
| 200 | - padding: 20px; | |
| 241 | + padding-right: 10px; | |
| 242 | + | |
| 243 | + &::-webkit-scrollbar { | |
| 244 | + width: 8px; | |
| 245 | + } | |
| 246 | + | |
| 247 | + &::-webkit-scrollbar-track { | |
| 248 | + background: rgba(144, 147, 153, 0.1); | |
| 249 | + border-radius: 4px; | |
| 250 | + } | |
| 251 | + | |
| 252 | + &::-webkit-scrollbar-thumb { | |
| 253 | + background: rgba(144, 147, 153, 0.3); | |
| 254 | + border-radius: 4px; | |
| 255 | + transition: background 0.3s ease; | |
| 256 | + | |
| 257 | + &:hover { | |
| 258 | + background: rgba(144, 147, 153, 0.5); | |
| 259 | + } | |
| 260 | + } | |
| 201 | 261 | } |
| 202 | 262 | |
| 203 | 263 | .detail-section { |
| 204 | - margin-bottom: 24px; | |
| 205 | - background: #f9f9f9; | |
| 206 | - border-radius: 8px; | |
| 207 | - padding: 16px; | |
| 264 | + margin-bottom: 20px; | |
| 265 | + background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%); | |
| 266 | + backdrop-filter: blur(10px); | |
| 267 | + border-radius: 12px; | |
| 268 | + padding: 20px 24px; | |
| 269 | + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04); | |
| 270 | + border: 1px solid rgba(144, 147, 153, 0.15); | |
| 271 | + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| 272 | + position: relative; | |
| 273 | + overflow: hidden; | |
| 208 | 274 | |
| 209 | - &:last-child { | |
| 210 | - margin-bottom: 0; | |
| 275 | + &::before { | |
| 276 | + content: ''; | |
| 277 | + position: absolute; | |
| 278 | + top: 0; | |
| 279 | + left: 0; | |
| 280 | + right: 0; | |
| 281 | + height: 3px; | |
| 282 | + background: linear-gradient(90deg, #3b82f6 0%, #2563eb 50%, #3b82f6 100%); | |
| 283 | + opacity: 0; | |
| 284 | + transition: opacity 0.3s ease; | |
| 285 | + } | |
| 286 | + | |
| 287 | + &:hover { | |
| 288 | + box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06); | |
| 289 | + transform: translateY(-2px); | |
| 290 | + | |
| 291 | + &::before { | |
| 292 | + opacity: 1; | |
| 293 | + } | |
| 211 | 294 | } |
| 212 | 295 | |
| 213 | 296 | .section-title { |
| 214 | 297 | display: flex; |
| 215 | 298 | align-items: center; |
| 216 | - gap: 8px; | |
| 217 | - margin-bottom: 16px; | |
| 218 | - font-size: 16px; | |
| 219 | - font-weight: 600; | |
| 220 | - color: #303133; | |
| 221 | - border-bottom: 2px solid #409EFF; | |
| 222 | - padding-bottom: 8px; | |
| 299 | + gap: 12px; | |
| 300 | + margin-bottom: 20px; | |
| 301 | + padding-bottom: 16px; | |
| 302 | + border-bottom: 2px solid rgba(59, 130, 246, 0.2); | |
| 303 | + font-size: 18px; | |
| 304 | + font-weight: 700; | |
| 305 | + background: linear-gradient(135deg, #303133 0%, #606266 100%); | |
| 306 | + -webkit-background-clip: text; | |
| 307 | + -webkit-text-fill-color: transparent; | |
| 308 | + background-clip: text; | |
| 309 | + position: relative; | |
| 223 | 310 | |
| 224 | 311 | i { |
| 225 | - color: #409EFF; | |
| 312 | + width: 36px; | |
| 313 | + height: 36px; | |
| 314 | + display: flex; | |
| 315 | + align-items: center; | |
| 316 | + justify-content: center; | |
| 317 | + border-radius: 8px; | |
| 226 | 318 | font-size: 18px; |
| 319 | + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| 320 | + position: relative; | |
| 321 | + overflow: hidden; | |
| 322 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); | |
| 323 | + | |
| 324 | + &::before { | |
| 325 | + content: ''; | |
| 326 | + position: absolute; | |
| 327 | + top: 0; | |
| 328 | + left: -100%; | |
| 329 | + width: 100%; | |
| 330 | + height: 100%; | |
| 331 | + background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); | |
| 332 | + transition: left 0.5s ease; | |
| 333 | + } | |
| 334 | + | |
| 335 | + &.el-icon-user, | |
| 336 | + &.el-icon-user-solid { | |
| 337 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 338 | + color: #3b82f6; | |
| 339 | + } | |
| 340 | + | |
| 341 | + &.el-icon-trophy { | |
| 342 | + background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.15) 100%); | |
| 343 | + color: #f59e0b; | |
| 344 | + } | |
| 345 | + | |
| 346 | + &.el-icon-money, | |
| 347 | + &.el-icon-coin { | |
| 348 | + background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(21, 128, 61, 0.15) 100%); | |
| 349 | + color: #22c55e; | |
| 350 | + } | |
| 351 | + | |
| 352 | + &.el-icon-medal { | |
| 353 | + background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(147, 51, 234, 0.15) 100%); | |
| 354 | + color: #a855f7; | |
| 355 | + } | |
| 356 | + | |
| 357 | + &.el-icon-wallet { | |
| 358 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 359 | + color: #3b82f6; | |
| 360 | + } | |
| 361 | + | |
| 362 | + &.el-icon-circle-minus { | |
| 363 | + background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%); | |
| 364 | + color: #ef4444; | |
| 365 | + } | |
| 366 | + | |
| 367 | + &.el-icon-circle-plus { | |
| 368 | + background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(21, 128, 61, 0.15) 100%); | |
| 369 | + color: #22c55e; | |
| 370 | + } | |
| 371 | + | |
| 372 | + &.el-icon-document, | |
| 373 | + &.el-icon-document-copy { | |
| 374 | + background: linear-gradient(135deg, rgba(107, 114, 128, 0.15) 0%, rgba(75, 85, 99, 0.15) 100%); | |
| 375 | + color: #6b7280; | |
| 376 | + } | |
| 377 | + | |
| 378 | + &.el-icon-credit-card { | |
| 379 | + background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(219, 39, 119, 0.15) 100%); | |
| 380 | + color: #ec4899; | |
| 381 | + } | |
| 382 | + | |
| 383 | + &.el-icon-date, | |
| 384 | + &.el-icon-calendar { | |
| 385 | + background: linear-gradient(135deg, rgba(107, 114, 128, 0.15) 0%, rgba(75, 85, 99, 0.15) 100%); | |
| 386 | + color: #6b7280; | |
| 387 | + } | |
| 388 | + | |
| 389 | + &.el-icon-data-line, | |
| 390 | + &.el-icon-s-data { | |
| 391 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 392 | + color: #3b82f6; | |
| 393 | + } | |
| 394 | + | |
| 395 | + &.el-icon-goods, | |
| 396 | + &.el-icon-shopping-bag-1 { | |
| 397 | + background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(219, 39, 119, 0.15) 100%); | |
| 398 | + color: #ec4899; | |
| 399 | + } | |
| 400 | + | |
| 401 | + &:not([class*="el-icon-"]) { | |
| 402 | + background: linear-gradient(135deg, rgba(96, 98, 102, 0.1) 0%, rgba(144, 147, 153, 0.1) 100%); | |
| 403 | + color: #606266; | |
| 404 | + } | |
| 405 | + | |
| 406 | + &:hover { | |
| 407 | + transform: scale(1.1) rotate(5deg); | |
| 408 | + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); | |
| 409 | + | |
| 410 | + &::before { | |
| 411 | + left: 100%; | |
| 412 | + } | |
| 413 | + | |
| 414 | + &.el-icon-user, | |
| 415 | + &.el-icon-user-solid { | |
| 416 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 417 | + color: #fff; | |
| 418 | + } | |
| 419 | + | |
| 420 | + &.el-icon-trophy { | |
| 421 | + background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); | |
| 422 | + color: #fff; | |
| 423 | + } | |
| 424 | + | |
| 425 | + &.el-icon-money, | |
| 426 | + &.el-icon-coin { | |
| 427 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 428 | + color: #fff; | |
| 429 | + } | |
| 430 | + | |
| 431 | + &.el-icon-medal { | |
| 432 | + background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%); | |
| 433 | + color: #fff; | |
| 434 | + } | |
| 435 | + | |
| 436 | + &.el-icon-wallet { | |
| 437 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 438 | + color: #fff; | |
| 439 | + } | |
| 440 | + | |
| 441 | + &.el-icon-circle-minus { | |
| 442 | + background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); | |
| 443 | + color: #fff; | |
| 444 | + } | |
| 445 | + | |
| 446 | + &.el-icon-circle-plus { | |
| 447 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 448 | + color: #fff; | |
| 449 | + } | |
| 450 | + | |
| 451 | + &.el-icon-document, | |
| 452 | + &.el-icon-document-copy { | |
| 453 | + background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); | |
| 454 | + color: #fff; | |
| 455 | + } | |
| 456 | + | |
| 457 | + &.el-icon-credit-card { | |
| 458 | + background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); | |
| 459 | + color: #fff; | |
| 460 | + } | |
| 461 | + | |
| 462 | + &.el-icon-date, | |
| 463 | + &.el-icon-calendar { | |
| 464 | + background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); | |
| 465 | + color: #fff; | |
| 466 | + } | |
| 467 | + | |
| 468 | + &.el-icon-data-line, | |
| 469 | + &.el-icon-s-data { | |
| 470 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 471 | + color: #fff; | |
| 472 | + } | |
| 473 | + | |
| 474 | + &.el-icon-goods, | |
| 475 | + &.el-icon-shopping-bag-1 { | |
| 476 | + background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); | |
| 477 | + color: #fff; | |
| 478 | + } | |
| 479 | + | |
| 480 | + &:not([class*="el-icon-"]) { | |
| 481 | + background: linear-gradient(135deg, #606266 0%, #909399 100%); | |
| 482 | + color: #fff; | |
| 483 | + } | |
| 484 | + } | |
| 227 | 485 | } |
| 228 | 486 | } |
| 229 | 487 | |
| ... | ... | @@ -231,37 +489,61 @@ export default { |
| 231 | 489 | .info-row { |
| 232 | 490 | display: flex; |
| 233 | 491 | flex-wrap: wrap; |
| 234 | - gap: 20px; | |
| 492 | + gap: 20px 40px; | |
| 235 | 493 | |
| 236 | 494 | .info-item { |
| 237 | - flex: 0 0 calc(33.333% - 14px); | |
| 238 | - min-width: 250px; | |
| 239 | 495 | display: flex; |
| 240 | 496 | align-items: center; |
| 241 | - padding: 8px 12px; | |
| 242 | - background: #fff; | |
| 243 | - border-radius: 4px; | |
| 244 | - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); | |
| 497 | + min-width: 200px; | |
| 498 | + flex: 0 0 calc(33.333% - 27px); | |
| 499 | + padding: 12px 16px; | |
| 500 | + background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(240, 242, 245, 0.8) 100%); | |
| 501 | + border-radius: 8px; | |
| 502 | + border: 1px solid rgba(144, 147, 153, 0.1); | |
| 503 | + transition: all 0.3s ease; | |
| 504 | + cursor: default; | |
| 505 | + | |
| 506 | + &:hover { | |
| 507 | + background: linear-gradient(135deg, rgba(239, 246, 255, 0.9) 0%, rgba(219, 234, 254, 0.9) 100%); | |
| 508 | + border-color: rgba(59, 130, 246, 0.3); | |
| 509 | + transform: translateY(-2px); | |
| 510 | + box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15); | |
| 511 | + } | |
| 245 | 512 | |
| 246 | 513 | .label { |
| 247 | 514 | color: #606266; |
| 515 | + font-size: 14px; | |
| 248 | 516 | font-weight: 500; |
| 249 | - margin-right: 8px; | |
| 250 | 517 | white-space: nowrap; |
| 518 | + margin-right: 8px; | |
| 519 | + flex-shrink: 0; | |
| 251 | 520 | } |
| 252 | 521 | |
| 253 | 522 | .value { |
| 254 | 523 | color: #303133; |
| 524 | + font-size: 14px; | |
| 525 | + font-weight: 500; | |
| 255 | 526 | flex: 1; |
| 256 | 527 | text-align: right; |
| 257 | 528 | |
| 258 | 529 | &.highlight { |
| 259 | - color: #409EFF; | |
| 260 | - font-weight: 600; | |
| 530 | + color: #3b82f6; | |
| 531 | + font-weight: 700; | |
| 532 | + font-size: 16px; | |
| 261 | 533 | } |
| 262 | 534 | |
| 263 | 535 | &.large { |
| 264 | - font-size: 18px; | |
| 536 | + font-size: 24px; | |
| 537 | + font-weight: 700; | |
| 538 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 539 | + -webkit-background-clip: text; | |
| 540 | + -webkit-text-fill-color: transparent; | |
| 541 | + background-clip: text; | |
| 542 | + } | |
| 543 | + | |
| 544 | + &.profit { | |
| 545 | + color: #22c55e; | |
| 546 | + font-weight: 600; | |
| 265 | 547 | } |
| 266 | 548 | } |
| 267 | 549 | } |
| ... | ... | @@ -269,29 +551,40 @@ export default { |
| 269 | 551 | } |
| 270 | 552 | } |
| 271 | 553 | |
| 272 | - .dialog-footer { | |
| 273 | - text-align: right; | |
| 274 | - padding: 20px; | |
| 275 | - border-top: 1px solid #e4e7ed; | |
| 276 | - } | |
| 277 | -} | |
| 554 | + .no-data { | |
| 555 | + display: flex; | |
| 556 | + flex-direction: column; | |
| 557 | + align-items: center; | |
| 558 | + justify-content: center; | |
| 559 | + padding: 80px 20px; | |
| 560 | + color: #909399; | |
| 278 | 561 | |
| 279 | -// 滚动条样式 | |
| 280 | -.detail-content::-webkit-scrollbar { | |
| 281 | - width: 6px; | |
| 282 | -} | |
| 562 | + i { | |
| 563 | + font-size: 64px; | |
| 564 | + margin-bottom: 20px; | |
| 565 | + color: #cbd5e1; | |
| 566 | + animation: pulse 2s ease-in-out infinite; | |
| 567 | + } | |
| 283 | 568 | |
| 284 | -.detail-content::-webkit-scrollbar-track { | |
| 285 | - background: #f1f1f1; | |
| 286 | - border-radius: 3px; | |
| 287 | -} | |
| 569 | + @keyframes pulse { | |
| 570 | + 0%, 100% { | |
| 571 | + opacity: 1; | |
| 572 | + } | |
| 573 | + 50% { | |
| 574 | + opacity: 0.5; | |
| 575 | + } | |
| 576 | + } | |
| 288 | 577 | |
| 289 | -.detail-content::-webkit-scrollbar-thumb { | |
| 290 | - background: #c1c1c1; | |
| 291 | - border-radius: 3px; | |
| 578 | + span { | |
| 579 | + font-size: 16px; | |
| 580 | + font-weight: 500; | |
| 581 | + } | |
| 582 | + } | |
| 292 | 583 | |
| 293 | - &:hover { | |
| 294 | - background: #a8a8a8; | |
| 584 | + .dialog-footer { | |
| 585 | + text-align: right; | |
| 586 | + padding: 20px; | |
| 587 | + border-top: 1px solid rgba(228, 231, 237, 0.5); | |
| 295 | 588 | } |
| 296 | 589 | } |
| 297 | 590 | </style> | ... | ... |
antis-ncc-admin/src/views/wageManagement/tech-teacher-detail-dialog.vue
| ... | ... | @@ -6,6 +6,8 @@ |
| 6 | 6 | :close-on-click-modal="false" |
| 7 | 7 | @close="handleClose" |
| 8 | 8 | class="detail-dialog" |
| 9 | + :modal="true" | |
| 10 | + :modal-append-to-body="true" | |
| 9 | 11 | > |
| 10 | 12 | <div v-if="detailData" class="detail-content"> |
| 11 | 13 | <!-- 基本信息 --> |
| ... | ... | @@ -380,33 +382,292 @@ export default { |
| 380 | 382 | |
| 381 | 383 | <style lang="scss" scoped> |
| 382 | 384 | .detail-dialog { |
| 385 | + ::v-deep .el-dialog { | |
| 386 | + border-radius: 16px; | |
| 387 | + overflow: hidden; | |
| 388 | + background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #f0f4f8 100%); | |
| 389 | + } | |
| 390 | + | |
| 391 | + ::v-deep .el-dialog__header { | |
| 392 | + background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%); | |
| 393 | + backdrop-filter: blur(10px); | |
| 394 | + padding: 20px 24px; | |
| 395 | + border-bottom: 2px solid rgba(59, 130, 246, 0.2); | |
| 396 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); | |
| 397 | + | |
| 398 | + .el-dialog__title { | |
| 399 | + font-size: 20px; | |
| 400 | + font-weight: 700; | |
| 401 | + background: linear-gradient(135deg, #303133 0%, #606266 100%); | |
| 402 | + -webkit-background-clip: text; | |
| 403 | + -webkit-text-fill-color: transparent; | |
| 404 | + background-clip: text; | |
| 405 | + } | |
| 406 | + | |
| 407 | + .el-dialog__close { | |
| 408 | + color: #606266; | |
| 409 | + font-size: 20px; | |
| 410 | + transition: all 0.3s ease; | |
| 411 | + | |
| 412 | + &:hover { | |
| 413 | + color: #3b82f6; | |
| 414 | + transform: rotate(90deg); | |
| 415 | + } | |
| 416 | + } | |
| 417 | + } | |
| 418 | + | |
| 419 | + ::v-deep .el-dialog__body { | |
| 420 | + padding: 24px; | |
| 421 | + background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 50%, #f0f4f8 100%); | |
| 422 | + } | |
| 423 | + | |
| 383 | 424 | .detail-content { |
| 384 | 425 | max-height: 70vh; |
| 385 | 426 | overflow-y: auto; |
| 386 | 427 | padding-right: 10px; |
| 428 | + | |
| 429 | + &::-webkit-scrollbar { | |
| 430 | + width: 8px; | |
| 431 | + } | |
| 432 | + | |
| 433 | + &::-webkit-scrollbar-track { | |
| 434 | + background: rgba(144, 147, 153, 0.1); | |
| 435 | + border-radius: 4px; | |
| 436 | + } | |
| 437 | + | |
| 438 | + &::-webkit-scrollbar-thumb { | |
| 439 | + background: rgba(144, 147, 153, 0.3); | |
| 440 | + border-radius: 4px; | |
| 441 | + transition: background 0.3s ease; | |
| 442 | + | |
| 443 | + &:hover { | |
| 444 | + background: rgba(144, 147, 153, 0.5); | |
| 445 | + } | |
| 446 | + } | |
| 387 | 447 | } |
| 388 | 448 | |
| 389 | 449 | .detail-section { |
| 390 | 450 | margin-bottom: 20px; |
| 391 | - background: #fff; | |
| 392 | - border-radius: 8px; | |
| 393 | - padding: 20px; | |
| 394 | - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); | |
| 451 | + background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%); | |
| 452 | + backdrop-filter: blur(10px); | |
| 453 | + border-radius: 12px; | |
| 454 | + padding: 20px 24px; | |
| 455 | + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04); | |
| 456 | + border: 1px solid rgba(144, 147, 153, 0.15); | |
| 457 | + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| 458 | + position: relative; | |
| 459 | + overflow: hidden; | |
| 460 | + | |
| 461 | + &::before { | |
| 462 | + content: ''; | |
| 463 | + position: absolute; | |
| 464 | + top: 0; | |
| 465 | + left: 0; | |
| 466 | + right: 0; | |
| 467 | + height: 3px; | |
| 468 | + background: linear-gradient(90deg, #3b82f6 0%, #2563eb 50%, #3b82f6 100%); | |
| 469 | + opacity: 0; | |
| 470 | + transition: opacity 0.3s ease; | |
| 471 | + } | |
| 472 | + | |
| 473 | + &:hover { | |
| 474 | + box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06); | |
| 475 | + transform: translateY(-2px); | |
| 476 | + | |
| 477 | + &::before { | |
| 478 | + opacity: 1; | |
| 479 | + } | |
| 480 | + } | |
| 395 | 481 | |
| 396 | 482 | .section-title { |
| 397 | 483 | display: flex; |
| 398 | 484 | align-items: center; |
| 399 | - gap: 8px; | |
| 400 | - margin-bottom: 16px; | |
| 401 | - padding-bottom: 12px; | |
| 402 | - border-bottom: 2px solid #409EFF; | |
| 403 | - font-size: 16px; | |
| 404 | - font-weight: 600; | |
| 405 | - color: #303133; | |
| 485 | + gap: 12px; | |
| 486 | + margin-bottom: 20px; | |
| 487 | + padding-bottom: 16px; | |
| 488 | + border-bottom: 2px solid rgba(59, 130, 246, 0.2); | |
| 489 | + font-size: 18px; | |
| 490 | + font-weight: 700; | |
| 491 | + background: linear-gradient(135deg, #303133 0%, #606266 100%); | |
| 492 | + -webkit-background-clip: text; | |
| 493 | + -webkit-text-fill-color: transparent; | |
| 494 | + background-clip: text; | |
| 495 | + position: relative; | |
| 406 | 496 | |
| 407 | 497 | i { |
| 408 | - color: #409EFF; | |
| 498 | + width: 36px; | |
| 499 | + height: 36px; | |
| 500 | + display: flex; | |
| 501 | + align-items: center; | |
| 502 | + justify-content: center; | |
| 503 | + border-radius: 8px; | |
| 409 | 504 | font-size: 18px; |
| 505 | + transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| 506 | + position: relative; | |
| 507 | + overflow: hidden; | |
| 508 | + box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); | |
| 509 | + | |
| 510 | + &::before { | |
| 511 | + content: ''; | |
| 512 | + position: absolute; | |
| 513 | + top: 0; | |
| 514 | + left: -100%; | |
| 515 | + width: 100%; | |
| 516 | + height: 100%; | |
| 517 | + background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); | |
| 518 | + transition: left 0.5s ease; | |
| 519 | + } | |
| 520 | + | |
| 521 | + &.el-icon-user, | |
| 522 | + &.el-icon-user-solid { | |
| 523 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 524 | + color: #3b82f6; | |
| 525 | + } | |
| 526 | + | |
| 527 | + &.el-icon-trophy { | |
| 528 | + background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.15) 100%); | |
| 529 | + color: #f59e0b; | |
| 530 | + } | |
| 531 | + | |
| 532 | + &.el-icon-money, | |
| 533 | + &.el-icon-coin { | |
| 534 | + background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(21, 128, 61, 0.15) 100%); | |
| 535 | + color: #22c55e; | |
| 536 | + } | |
| 537 | + | |
| 538 | + &.el-icon-medal { | |
| 539 | + background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(147, 51, 234, 0.15) 100%); | |
| 540 | + color: #a855f7; | |
| 541 | + } | |
| 542 | + | |
| 543 | + &.el-icon-wallet { | |
| 544 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 545 | + color: #3b82f6; | |
| 546 | + } | |
| 547 | + | |
| 548 | + &.el-icon-circle-minus { | |
| 549 | + background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%); | |
| 550 | + color: #ef4444; | |
| 551 | + } | |
| 552 | + | |
| 553 | + &.el-icon-circle-plus { | |
| 554 | + background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(21, 128, 61, 0.15) 100%); | |
| 555 | + color: #22c55e; | |
| 556 | + } | |
| 557 | + | |
| 558 | + &.el-icon-document, | |
| 559 | + &.el-icon-document-copy { | |
| 560 | + background: linear-gradient(135deg, rgba(107, 114, 128, 0.15) 0%, rgba(75, 85, 99, 0.15) 100%); | |
| 561 | + color: #6b7280; | |
| 562 | + } | |
| 563 | + | |
| 564 | + &.el-icon-credit-card { | |
| 565 | + background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(219, 39, 119, 0.15) 100%); | |
| 566 | + color: #ec4899; | |
| 567 | + } | |
| 568 | + | |
| 569 | + &.el-icon-date, | |
| 570 | + &.el-icon-calendar { | |
| 571 | + background: linear-gradient(135deg, rgba(107, 114, 128, 0.15) 0%, rgba(75, 85, 99, 0.15) 100%); | |
| 572 | + color: #6b7280; | |
| 573 | + } | |
| 574 | + | |
| 575 | + &.el-icon-data-line, | |
| 576 | + &.el-icon-s-data { | |
| 577 | + background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%); | |
| 578 | + color: #3b82f6; | |
| 579 | + } | |
| 580 | + | |
| 581 | + &.el-icon-goods, | |
| 582 | + &.el-icon-shopping-bag-1 { | |
| 583 | + background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(219, 39, 119, 0.15) 100%); | |
| 584 | + color: #ec4899; | |
| 585 | + } | |
| 586 | + | |
| 587 | + &:not([class*="el-icon-"]) { | |
| 588 | + background: linear-gradient(135deg, rgba(96, 98, 102, 0.1) 0%, rgba(144, 147, 153, 0.1) 100%); | |
| 589 | + color: #606266; | |
| 590 | + } | |
| 591 | + | |
| 592 | + &:hover { | |
| 593 | + transform: scale(1.1) rotate(5deg); | |
| 594 | + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); | |
| 595 | + | |
| 596 | + &::before { | |
| 597 | + left: 100%; | |
| 598 | + } | |
| 599 | + | |
| 600 | + &.el-icon-user, | |
| 601 | + &.el-icon-user-solid { | |
| 602 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 603 | + color: #fff; | |
| 604 | + } | |
| 605 | + | |
| 606 | + &.el-icon-trophy { | |
| 607 | + background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); | |
| 608 | + color: #fff; | |
| 609 | + } | |
| 610 | + | |
| 611 | + &.el-icon-money, | |
| 612 | + &.el-icon-coin { | |
| 613 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 614 | + color: #fff; | |
| 615 | + } | |
| 616 | + | |
| 617 | + &.el-icon-medal { | |
| 618 | + background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%); | |
| 619 | + color: #fff; | |
| 620 | + } | |
| 621 | + | |
| 622 | + &.el-icon-wallet { | |
| 623 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 624 | + color: #fff; | |
| 625 | + } | |
| 626 | + | |
| 627 | + &.el-icon-circle-minus { | |
| 628 | + background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); | |
| 629 | + color: #fff; | |
| 630 | + } | |
| 631 | + | |
| 632 | + &.el-icon-circle-plus { | |
| 633 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 634 | + color: #fff; | |
| 635 | + } | |
| 636 | + | |
| 637 | + &.el-icon-document, | |
| 638 | + &.el-icon-document-copy { | |
| 639 | + background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); | |
| 640 | + color: #fff; | |
| 641 | + } | |
| 642 | + | |
| 643 | + &.el-icon-credit-card { | |
| 644 | + background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); | |
| 645 | + color: #fff; | |
| 646 | + } | |
| 647 | + | |
| 648 | + &.el-icon-date, | |
| 649 | + &.el-icon-calendar { | |
| 650 | + background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%); | |
| 651 | + color: #fff; | |
| 652 | + } | |
| 653 | + | |
| 654 | + &.el-icon-data-line, | |
| 655 | + &.el-icon-s-data { | |
| 656 | + background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); | |
| 657 | + color: #fff; | |
| 658 | + } | |
| 659 | + | |
| 660 | + &.el-icon-goods, | |
| 661 | + &.el-icon-shopping-bag-1 { | |
| 662 | + background: linear-gradient(135deg, #ec4899 0%, #db2777 100%); | |
| 663 | + color: #fff; | |
| 664 | + } | |
| 665 | + | |
| 666 | + &:not([class*="el-icon-"]) { | |
| 667 | + background: linear-gradient(135deg, #606266 0%, #909399 100%); | |
| 668 | + color: #fff; | |
| 669 | + } | |
| 670 | + } | |
| 410 | 671 | } |
| 411 | 672 | } |
| 412 | 673 | |
| ... | ... | @@ -421,27 +682,49 @@ export default { |
| 421 | 682 | align-items: center; |
| 422 | 683 | min-width: 200px; |
| 423 | 684 | flex: 0 0 calc(33.333% - 27px); |
| 685 | + padding: 12px 16px; | |
| 686 | + background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(240, 242, 245, 0.8) 100%); | |
| 687 | + border-radius: 8px; | |
| 688 | + border: 1px solid rgba(144, 147, 153, 0.1); | |
| 689 | + transition: all 0.3s ease; | |
| 690 | + cursor: default; | |
| 691 | + | |
| 692 | + &:hover { | |
| 693 | + background: linear-gradient(135deg, rgba(239, 246, 255, 0.9) 0%, rgba(219, 234, 254, 0.9) 100%); | |
| 694 | + border-color: rgba(59, 130, 246, 0.3); | |
| 695 | + transform: translateY(-2px); | |
| 696 | + box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15); | |
| 697 | + } | |
| 424 | 698 | |
| 425 | 699 | .label { |
| 426 | 700 | color: #606266; |
| 427 | 701 | font-size: 14px; |
| 702 | + font-weight: 500; | |
| 428 | 703 | white-space: nowrap; |
| 429 | 704 | margin-right: 8px; |
| 705 | + flex-shrink: 0; | |
| 430 | 706 | } |
| 431 | 707 | |
| 432 | 708 | .value { |
| 433 | 709 | color: #303133; |
| 434 | 710 | font-size: 14px; |
| 435 | 711 | font-weight: 500; |
| 712 | + flex: 1; | |
| 713 | + text-align: right; | |
| 436 | 714 | |
| 437 | 715 | &.highlight { |
| 438 | - color: #409EFF; | |
| 439 | - font-weight: 600; | |
| 716 | + color: #3b82f6; | |
| 717 | + font-weight: 700; | |
| 718 | + font-size: 16px; | |
| 440 | 719 | } |
| 441 | 720 | |
| 442 | 721 | &.large { |
| 443 | - font-size: 18px; | |
| 444 | - color: #67C23A; | |
| 722 | + font-size: 24px; | |
| 723 | + font-weight: 700; | |
| 724 | + background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); | |
| 725 | + -webkit-background-clip: text; | |
| 726 | + -webkit-text-fill-color: transparent; | |
| 727 | + background-clip: text; | |
| 445 | 728 | } |
| 446 | 729 | } |
| 447 | 730 | } |
| ... | ... | @@ -454,36 +737,29 @@ export default { |
| 454 | 737 | flex-direction: column; |
| 455 | 738 | align-items: center; |
| 456 | 739 | justify-content: center; |
| 457 | - padding: 60px 20px; | |
| 740 | + padding: 80px 20px; | |
| 458 | 741 | color: #909399; |
| 459 | 742 | |
| 460 | 743 | i { |
| 461 | - font-size: 48px; | |
| 462 | - margin-bottom: 16px; | |
| 744 | + font-size: 64px; | |
| 745 | + margin-bottom: 20px; | |
| 746 | + color: #cbd5e1; | |
| 747 | + animation: pulse 2s ease-in-out infinite; | |
| 463 | 748 | } |
| 464 | 749 | |
| 465 | - span { | |
| 466 | - font-size: 14px; | |
| 750 | + @keyframes pulse { | |
| 751 | + 0%, 100% { | |
| 752 | + opacity: 1; | |
| 753 | + } | |
| 754 | + 50% { | |
| 755 | + opacity: 0.5; | |
| 756 | + } | |
| 467 | 757 | } |
| 468 | - } | |
| 469 | -} | |
| 470 | - | |
| 471 | -// 滚动条样式 | |
| 472 | -.detail-content::-webkit-scrollbar { | |
| 473 | - width: 6px; | |
| 474 | -} | |
| 475 | 758 | |
| 476 | -.detail-content::-webkit-scrollbar-track { | |
| 477 | - background: #f1f1f1; | |
| 478 | - border-radius: 3px; | |
| 479 | -} | |
| 480 | - | |
| 481 | -.detail-content::-webkit-scrollbar-thumb { | |
| 482 | - background: #c1c1c1; | |
| 483 | - border-radius: 3px; | |
| 484 | - | |
| 485 | - &:hover { | |
| 486 | - background: #a8a8a8; | |
| 759 | + span { | |
| 760 | + font-size: 16px; | |
| 761 | + font-weight: 500; | |
| 762 | + } | |
| 487 | 763 | } |
| 488 | 764 | } |
| 489 | 765 | </style> | ... | ... |