啊鑫
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
@import '../style/var';
 
.van-address-list {
  box-sizing: border-box;
  height: 100%;
  padding: @address-list-padding;
 
  &__bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: @address-list-add-button-z-index;
    box-sizing: border-box;
    width: 100%;
    padding: 0 @padding-md;
    padding-bottom: constant(safe-area-inset-bottom);
    padding-bottom: env(safe-area-inset-bottom);
    background-color: @white;
  }
 
  &__add {
    height: 40px;
    margin: 5px 0;
  }
 
  &__disabled-text {
    padding: @address-list-disabled-text-padding;
    color: @address-list-disabled-text-color;
    font-size: @address-list-disabled-text-font-size;
    line-height: @address-list-disabled-text-line-height;
  }
}
 
.van-address-item {
  padding: @address-list-item-padding;
  background-color: @white;
  border-radius: @border-radius-lg;
 
  &:not(:last-child) {
    margin-bottom: @padding-sm;
  }
 
  &__value {
    padding-right: 44px;
  }
 
  &__name {
    display: flex;
    align-items: center;
    margin-bottom: @padding-xs;
    font-size: @font-size-lg;
    line-height: @line-height-lg;
  }
 
  &__tag {
    flex: none;
    margin-left: @padding-xs;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 1.4em;
  }
 
  &__address {
    color: @address-list-item-text-color;
    font-size: @address-list-item-font-size;
    line-height: @address-list-item-line-height;
  }
 
  &--disabled {
    .van-address-item__name,
    .van-address-item__address {
      color: @address-list-item-disabled-text-color;
    }
  }
 
  &__edit {
    position: absolute;
    top: 50%;
    right: @padding-md;
    color: @gray-6;
    font-size: @address-list-edit-icon-size;
    transform: translate(0, -50%);
  }
 
  .van-cell {
    padding: 0;
  }
 
  .van-radio__label {
    margin-left: @padding-sm;
  }
 
  .van-radio__icon--checked .van-icon {
    background-color: @address-list-item-radio-icon-color;
    border-color: @address-list-item-radio-icon-color;
  }
}