zhou zhou
10 小时以前 46d872c1a5b77aa8799de4a64888a0a24a1422d6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
.art-table {
  position: relative;
  height: 100%;
 
  .el-table {
    height: 100%;
    margin-top: 10px;
  }
 
  :deep(.el-loading-mask) {
    z-index: 100;
    background-color: var(--default-box-color) !important;
  }
 
  // Loading 过渡动画 - 消失时淡出
  .loading-fade-leave-active {
    transition: opacity 0.3s ease-out;
  }
 
  .loading-fade-leave-to {
    opacity: 0;
  }
 
  // 空状态垂直居中
  &.is-empty {
    :deep(.el-scrollbar__wrap) {
      display: flex;
    }
  }
 
  .pagination {
    display: flex;
    margin-top: 13px;
 
    :deep(.el-select) {
      width: 102px !important;
    }
 
    // 分页对齐方式
    &.left {
      justify-content: flex-start;
    }
 
    &.center {
      justify-content: center;
    }
 
    &.right {
      justify-content: flex-end;
    }
 
    // 自定义分页组件样式
    &.custom-pagination {
      :deep(.el-pagination) {
        .btn-prev,
        .btn-next {
          background-color: transparent;
          border: 1px solid var(--art-gray-300);
          transition: border-color 0.15s;
 
          &:hover:not(.is-disabled) {
            color: var(--theme-color);
            border-color: var(--theme-color);
          }
        }
 
        li {
          box-sizing: border-box;
          font-weight: 400 !important;
          background-color: transparent;
          border: 1px solid var(--art-gray-300);
          transition: border-color 0.15s;
 
          &.is-active {
            font-weight: 400;
            color: #fff;
            background-color: var(--theme-color);
            border: 1px solid var(--theme-color);
          }
 
          &:hover:not(.is-disabled) {
            border-color: var(--theme-color);
          }
        }
      }
    }
  }
}
 
// 移动端分页
@media (width <= 640px) {
  :deep(.el-pagination) {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 0;
    align-items: center;
    justify-content: center;
  }
}