zhengyiming
3 天以前 9453bef1fc4a3121b28ffa6617f0fbfc81d9f634
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
@use './common.scss' as *;
 
.recharge-list-wrapper {
  margin-top: 28px;
 
  .recharge-list-item {
    position: relative;
    height: 160px;
    background: #f3f8ff;
    border-radius: 16px;
    margin-bottom: 26px;
    display: flex;
    align-items: center;
    padding: 0 32px;
 
    &:last-child {
      margin-bottom: 0;
    }
 
    .recharge-list-item-icon {
      width: 68px;
      height: 68px;
      margin-right: 24px;
    }
 
    .recharge-list-item-text {
      font-weight: 400;
      font-size: 34px;
      color: boleGetCssVar('text-color', 'primary');
      flex: 1;
      min-width: 0;
    }
 
    .recharge-list-item-button {
      font-size: 26px;
      height: 48px;
      padding: 18px;
    }
 
    .discountTag {
      position: absolute;
      padding: 0px 20px;
      border-radius: 0px 16px 0 16px;
      background: linear-gradient(133deg, #ff6d6e 0%, #ff4d4f 100%);
      color: #fff;
      font-size: 20px;
      line-height: 32px;
      position: absolute;
      top: -16px;
      left: 0;
    }
  }
}
 
.common-content {
  padding: 0 boleGetCssVar('size', 'body-padding-h');
}
 
.parValue-radio-group {
  width: 100%;
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
 
  .parValue-item {
    margin-right: 0;
 
    .nut-radio__button {
      width: 100%;
      padding: 16rpx 0;
      background-color: transparent;
      border: 1rpx solid #e2e5eb;
      text-align: center;
      border-radius: 4px;
      position: relative;
    }
 
    .nut-radio__button--active {
      color: #fb5100;
      border-color: #fb5100;
      overflow: hidden;
 
      &::after {
        border-radius: 8rpx;
        background-color: rgba(251, 81, 0, 0.08);
        opacity: 1;
      }
 
      .parValue-item-inner {
        .discountTag {
          display: block;
        }
      }
    }
 
    .parValue-item-inner {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
 
      .amount-wrapper {
        display: flex;
        align-items: flex-end;
        margin-bottom: 4px;
 
        .amount {
          font-size: 40px;
          font-weight: 400;
          line-height: 44px;
        }
        .unit {
          font-size: 24px;
          font-weight: 400;
          line-height: 32px;
        }
      }
 
      .price-wrapper {
        display: flex;
        color: #858d98;
        font-size: 24px;
        font-weight: 400;
        line-height: 32px;
 
        .price {
          color: #fb5100;
          margin-left: 6px;
        }
      }
 
      .discountTag {
        display: none;
        position: absolute;
        padding: 2px 8px;
        border-radius: 0px 0 20px 0;
        border: 1px solid #fb5100;
        background: linear-gradient(
          186deg,
          rgba(255, 129, 45, 0.08) 14.82%,
          rgba(238, 67, 67, 0.08) 91.5%
        );
        color: #fb5100;
        font-size: 22px;
        font-weight: 700;
        line-height: 28px;
        position: absolute;
        top: -2px;
        left: -2px;
      }
    }
  }
}
 
.order-bill-recharge {
  .nut-cell-group__wrap {
    background-color: transparent;
 
    .nut-cell {
      background-color: transparent;
    }
  }
  .recharge-button {
    width: 100%;
    margin: 40px 0;
 
    .recharge-button-inner {
      display: flex;
      .recharge-button-text {
        margin-left: 20px;
      }
    }
 
    &.nut-button--plain {
      border-width: 1px;
    }
  }
 
  &.electric {
    .nut-dialog {
      .nut-dialog__content {
        max-height: 1400rpx;
      }
    }
  }
}