| 1 | @use "@/styles/mixin"; |
| 2 | |
| 3 | .aiRanking { |
| 4 | padding: 15px; |
| 5 | width: 100%; |
| 6 | min-width: 0; |
| 7 | height: 100%; |
| 8 | box-sizing: border-box; |
| 9 | display: flex; |
| 10 | flex-direction: column; |
| 11 | min-height: 0; |
| 12 | font-size: 14px; |
| 13 | :global { |
| 14 | .aiRanking-rank { |
| 15 | width: 100%; |
| 16 | display: flex; |
| 17 | flex-direction: column; |
| 18 | justify-content: center; |
| 19 | align-items: center; |
| 20 | height: 30px; |
| 21 | text-align: center; |
| 22 | line-height: 30px; |
| 23 | font-size: var(--fs-md); |
| 24 | .ant-tag { |
| 25 | margin-top: 6px; |
| 26 | } |
| 27 | &-up, &-down { |
| 28 | width: 100%; |
| 29 | display: flex; |
| 30 | align-items: center; |
| 31 | justify-content: center; |
| 32 | padding: 0; |
| 33 | height: 20px; |
| 34 | margin: 0; |
| 35 | min-width: 40px; |
| 36 | .anticon { |
| 37 | margin: 0 2px 0 0 !important; |
| 38 | } |
| 39 | } |
| 40 | &-up { |
| 41 | background: var(red); |
| 42 | } |
| 43 | &-down { |
| 44 | } |
| 45 | } |
| 46 | .ant-table-tbody { |
| 47 | .ant-table-row { |
| 48 | &:nth-child(odd) { |
| 49 | background: #f2f5f6; |
| 50 | } |
| 51 | td { |
| 52 | .anticon { |
| 53 | margin-left: 5px; |
| 54 | cursor: pointer; |
| 55 | } |
| 56 | } |
| 57 | } |
| 58 | } |
| 59 | .aiRanking-topthree { |
| 60 | width: 30px; |
| 61 | color: #fff; |
| 62 | background: url("../../images/bg-rank-index.png") no-repeat center / cover; |
| 63 | } |
| 64 | .ant-table-thead { |
| 65 | th { |
| 66 | white-space: nowrap; |
| 67 | color: #9a9a9a !important; |
| 68 | padding-top: 10px !important; |
| 69 | padding-bottom: 10px !important; |
| 70 | font-weight: 400 !important; |
| 71 | .anticon { |
| 72 | margin-right: 3px; |
| 73 | } |
| 74 | } |
| 75 | } |
| 76 | .aiRanking-title { |
| 77 | margin-bottom: 20px; |
| 78 | font-weight: 900; |
| 79 | font-size: 24px; |
| 80 | } |
| 81 | .aiRanking-productName { |
| 82 | display: flex; |
| 83 | align-items: center; |
| 84 | overflow: hidden; |
| 85 | label { |
| 86 | font-size: var(--fs-md); |
| 87 | margin-bottom: 6px; |
| 88 | } |
| 89 | .ant-avatar { |
| 90 | white-space: nowrap; |
| 91 | flex-shrink: 0; |
| 92 | } |
| 93 | &-con { |
| 94 | overflow: hidden; |
| 95 | margin-left: 10px; |
| 96 | white-space: nowrap; |
| 97 | text-overflow: ellipsis; |
| 98 | &-des { |
| 99 | overflow: hidden; |
| 100 | text-overflow: ellipsis; |
| 101 | width: 100%; |
| 102 | color: var(--grayColor8); |
| 103 | font-size: var(--fs-xs); |
| 104 | } |
| 105 | } |
| 106 | } |
| 107 | .aiRanking-head { |
| 108 | width: 100%; |
| 109 | margin-bottom: 10px; |
| 110 | background: var(--grayColor0); |
| 111 | border-radius: 6px; |
| 112 | padding: 15px; |
| 113 | box-sizing: border-box; |
| 114 | .aiRanking-head-item { |
| 115 | display: flex; |
| 116 | align-items: center; |
| 117 | margin-bottom: 15px; |
| 118 | &:last-of-type { |
| 119 | margin-bottom: 0; |
| 120 | } |
| 121 | .aiRanking-head-title { |
| 122 | margin-right: 20px; |
| 123 | color: var(--grayColor7); |
| 124 | } |
| 125 | } |
| 126 | } |
| 127 | |
| 128 | .aiRanking-content { |
| 129 | height: 100%; |
| 130 | min-width: 0; |
| 131 | display: flex; |
| 132 | min-height: 0; |
| 133 | @include mixin.table-flex-container-with-selectors; |
| 134 | } |
| 135 | } |
| 136 | } |
| 137 |