king
2022-12-09 cb9ade2afd2a367ad767bc605ab7086c695dd010
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
.home-view {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 92px);
  height: 100%;
  background: #f0f2f5;
  padding: 24px;
  .ant-row-flex {
    display: flex;
    flex-flow: row wrap;
    margin-left: -12px;
    margin-right: -12px;
    .ant-col {
      padding-left: 12px;
      padding-right: 12px;
      margin-bottom: 24px;
      flex: 1;
      .ant-card {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
        color: rgba(0,0,0,.65);
        font-size: 14px;
        font-variant: tabular-nums;
        line-height: 1.5;
        list-style: none;
        font-feature-settings: "tnum";
        position: relative;
        background: #fff;
        border-radius: 2px;
        transition: all .3s;
        .ant-card-body {
          padding: 20px 24px 8px;
          .antd-chart-card {
            position: relative;
            box-sizing: border-box;
            .antd-chart-top {
              position: relative;
              width: 100%;
              overflow: hidden;
              box-sizing: border-box;
              .antd-meta-wrap {
                float: left;
                box-sizing: border-box;
                .antd-meta {
                  height: 22px;
                  color: rgba(0,0,0,.45);
                  font-size: 14px;
                  line-height: 22px;
                  .antd-action {
                    position: absolute;
                    top: 4px;
                    right: 0;
                    line-height: 1;
                    cursor: default;
                    .anticon {
                      color: orange;
                    }
                  }
                }
                .antd-total {
                  height: 38px;
                  margin-top: 4px;
                  margin-bottom: 0;
                  overflow: hidden;
                  color: rgba(0,0,0,.85);
                  font-size: 30px;
                  line-height: 38px;
                  white-space: nowrap;
                  text-overflow: ellipsis;
                  word-break: break-all;
                }
              }
            }
            .antd-chart-content {
              position: relative;
              height: 40px;
              .antd-content-fixed {
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                .antd-trend-item {
                  display: inline-block;
                  font-size: 14px;
                  line-height: 22px;
                  .antd-trend-text {
                    margin-left: 5px;
                  }
                  .antd-trend-up {
                    color: #f5222d;
                  }
                  .antd-trend-down {
                    top: -1px;
                    color: #52c41a;
                  }
                }
              }
            }
            .antd-chart-footer {
              margin-top: 8px;
              padding-top: 9px;
              border-top: 1px solid #e8e8e8;
              .antd-label {
                font-size: 14px;
                line-height: 22px;
                margin-right: 10px;
              }
              .antd-trend-item {
                display: inline-block;
                font-size: 14px;
                line-height: 22px;
                .antd-trend-text {
                  margin-left: 5px;
                }
                .antd-trend-up {
                  color: #f5222d;
                }
                .antd-trend-down {
                  top: -1px;
                  color: #52c41a;
                }
              }
            }
          }
        }
      }
    }
  }
 
  .home-board {
    background: #ffffff;
    .mk-home-title {
      border-bottom: 1px solid #e8e8e8;
      margin: 0 0 16px 0;
      span {
        position: relative;
        display: inline-block;
        padding: 12px 16px;
        color: #1890ff;
      }
      span::after {
        position: absolute;
        content: ' ';
        display: block;
        width: 100%;
        height: 2px;
        background: #1890ff;
        left: 0;
        bottom: -1px;
      }
    }
 
    .mk-home-body {
      .ant-col-left {
        display: inline-block;
        width: 66%;
        vertical-align: top;
      }
      .ant-col-right {
        display: inline-block;
        width: 34%;
        vertical-align: top;
      }
      .sale-trend {
        min-height: 400px;
        padding: 10px 20px;
        margin-bottom: 20px;
      }
      .antd-sales-rank {
        padding: 35px 32px 32px 72px;
        .antd-ranking-title {
          font-size: 16px;
        }
        .antd-ranking-list {
          margin: 20px 0 0;
          padding: 0;
          list-style: none;
          li {
            display: flex;
            align-items: center;
            margin-top: 16px;
            zoom: 1;
            .antd-ranking-active {
              display: inline-block;
              width: 20px;
              height: 20px;
              margin-top: 1.5px;
              margin-right: 16px;
              font-weight: 600;
              font-size: 12px;
              line-height: 20px;
              text-align: center;
              color: #fff;
              background-color: #314659;
              border-radius: 20px;
            }
            .antd-ranking-number {
              display: inline-block;
              width: 20px;
              height: 20px;
              margin-top: 1.5px;
              margin-right: 16px;
              font-weight: 600;
              font-size: 14px;
              line-height: 20px;
              text-align: center;
            }
            .antd-ranking-title {
              flex: 1 1;
              margin-right: 8px;
              overflow: hidden;
              white-space: nowrap;
              text-overflow: ellipsis;
              color: rgba(0,0,0,.65);
              font-size: 14px;
              line-height: 22px;
            }
          }
        }
      }
    }
  }
}