啊鑫
7 天以前 fca192d3c38c5dcfbb6ace8bc71d6078f6a079b2
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
@import '../style/var';
 
.van-cascader {
  &__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: @cascader-header-height;
    padding: 0 @padding-md;
  }
 
  &__title {
    font-weight: @font-weight-bold;
    font-size: @cascader-title-font-size;
    line-height: @cascader-title-line-height;
  }
 
  &__close-icon {
    color: @cascader-close-icon-color;
    font-size: @cascader-close-icon-size;
 
    &:active {
      color: @cascader-close-icon-active-color;
    }
  }
 
  &__tabs {
    .van-tab {
      flex: none;
      padding: 0 10px;
    }
 
    &.van-tabs--line .van-tabs__wrap {
      height: @cascader-tabs-height;
    }
 
    .van-tabs__nav--complete {
      padding-right: 6px;
      padding-left: 6px;
    }
  }
 
  &__tab {
    color: @cascader-tab-color;
    font-weight: @font-weight-bold;
 
    &--unselected {
      color: @cascader-unselected-tab-color;
      font-weight: normal;
    }
  }
 
  &__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px @padding-md;
    font-size: @font-size-md;
    line-height: @line-height-md;
 
    &:active {
      background-color: @active-color;
    }
 
    &--selected {
      color: @cascader-active-color;
      font-weight: @font-weight-bold;
    }
  }
 
  &__selected-icon {
    font-size: @cascader-selected-icon-size;
  }
 
  &__options {
    box-sizing: border-box;
    height: @cascader-options-height;
    padding-top: 6px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}