zhangyong
2023-08-22 1353e87cb21a4032d585d7404bae9042f2ebcf08
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
@use 'mixins/mixins' as *;
@use 'mixins/var' as *;
@use 'common/var' as *;
 
@include b(statistic) {
  @include set-component-css-var('statistic', $statistic);
 
  @include e(head) {
    font-weight: getCssVar('statistic-title-font-weight');
    font-size: getCssVar('statistic-title-font-size');
    color: getCssVar('statistic-title-color');
    line-height: 20px;
    margin-bottom: 4px;
  }
 
  @include e(content) {
    font-weight: getCssVar('statistic-content-font-weight');
    font-size: getCssVar('statistic-content-font-size');
    color: getCssVar('statistic-content-color');
 
    @include e(value) {
      display: inline-block;
    }
 
    @include e(prefix) {
      margin-right: 4px;
      display: inline-block;
    }
 
    @include e(suffix) {
      margin-left: 4px;
      display: inline-block;
    }
  }
}