s-material-react 2.2.65 → 2.2.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,370 +1,370 @@
1
- $radius: 8px;
2
-
3
- .placeOrder-chooseAddress {
4
- .group {
5
- display: flex;
6
- justify-content: space-between;
7
- align-items: center;
8
- margin-bottom: 8px;
9
- line-height: 58px;
10
-
11
- .local {
12
- width: 17px;
13
- height: 16px;
14
- margin-right: 7px;
15
- //background-color: yellowgreen;
16
- display: inline-block;
17
- }
18
-
19
- .address {
20
- font-size: 14px;
21
- color: #000;
22
- }
23
- }
24
-
25
- .address-info {
26
- width: 100%;
27
-
28
- .left {
29
- display: flex;
30
- align-items: center;
31
- gap: 8px;
32
- }
33
-
34
- .left-title {
35
- display: flex;
36
- font-size: 12px;
37
- flex-basis: auto;
38
- color: #333333;
39
- margin-top: 10px;
40
- }
41
-
42
- .left-padding {
43
- padding-left: 5px;
44
- }
45
-
46
- .left-title-default {
47
- background: #34c0bc;
48
- font-size: 10px;
49
- color: #fff;
50
- padding: 2px 4px;
51
- margin-left: 5px;
52
- border-radius: 5px;
53
- }
54
-
55
- .left-detail {
56
- font-size: 16px;
57
- margin-right: auto;
58
- }
59
- }
60
-
61
- .arrow {
62
- width: 6px;
63
- height: 10px;
64
- //background-color: yellowgreen;
65
- }
66
- }
67
-
68
- .orderListItem {
69
- .shop-info-wrap {
70
- display: flex;
71
- align-items: center;
72
- gap: 8px;
73
- margin-bottom: 12px;
74
- }
75
-
76
- .good-name {
77
- font-size: 14px;
78
- color: #333;
79
- display: -webkit-box;
80
- -webkit-box-orient: vertical;
81
- -webkit-line-clamp: 3;
82
- overflow: hidden;
83
- word-break: break-word;
84
- }
85
-
86
- .shop-info-price {
87
- // color: #ff2d1e;
88
- font-size: 16px;
89
- }
90
-
91
- .shop-name {
92
- font-size: 16px;
93
- color: #333;
94
- overflow: hidden;
95
- text-overflow: ellipsis;
96
- white-space: nowrap;
97
- }
98
-
99
- .card-item {
100
- grid-template-columns: 100px 1fr;
101
- margin-bottom: 0;
102
- }
103
-
104
- .card-item-img {
105
- height: 100px;
106
- width: 100px;
107
- }
108
- }
109
-
110
- .place-order-goods {
111
- padding: 15px 15px 0;
112
- margin: 12px 12px 0;
113
- border-radius: $radius $radius 0 0;
114
- background: #fff;
115
-
116
- .shop-info-wrap {
117
- display: flex;
118
- align-items: center;
119
- gap: 8px;
120
- margin-bottom: 12px;
121
- }
122
-
123
- .good-name {
124
- font-size: 14px;
125
- color: #333;
126
- }
127
-
128
- .shop-info-price {
129
- // color: #ff2d1e;
130
- font-size: 16px;
131
- }
132
-
133
- .shop-name {
134
- font-size: 16px;
135
- color: #333;
136
- overflow: hidden;
137
- text-overflow: ellipsis;
138
- white-space: nowrap;
139
- }
140
-
141
- .card-item {
142
- grid-template-columns: 100px 1fr;
143
- margin-bottom: 10px;
144
- &:last-of-type {
145
- margin-bottom: unset;
146
- }
147
- }
148
-
149
- .card-item-img {
150
- height: 100px;
151
- width: 100px;
152
- }
153
- }
154
-
155
- .placeOrder-blcWrap {
156
- margin: 0 12px;
157
- padding: 15px 15px 0;
158
- background-color: #fff;
159
-
160
- &.price {
161
- border-radius: $radius;
162
- padding: 15px;
163
- }
164
-
165
- .content {
166
- width: 240px;
167
- height: 100px;
168
- margin-top: 2px;
169
- border: solid 1px #f1f1f1;
170
- padding: 6px;
171
- border-radius: 4px;
172
- }
173
- .title {
174
- font-size: 16px;
175
- font-weight: 500;
176
- color: #333333;
177
- margin-bottom: 17px;
178
- }
179
-
180
- .placeOrder-blcItem {
181
- display: flex;
182
- justify-content: space-between;
183
- margin-bottom: 17px;
184
-
185
- &:last-child {
186
- margin-bottom: 0;
187
- }
188
-
189
- &.express {
190
- font-size: 14px;
191
- }
192
-
193
- .label {
194
- color: #333;
195
- }
196
-
197
- .value {
198
- color: #333;
199
-
200
- .icon {
201
- width: 6px;
202
- height: 10px;
203
- display: inline-block;
204
- //background-color: yellowgreen;
205
- margin-left: 5px;
206
- }
207
- }
208
- }
209
- }
210
-
211
- .placeOrderFooter {
212
- background-color: #fff;
213
- // height: 54px;
214
- line-height: 54px;
215
- display: flex;
216
- justify-content: space-between;
217
- padding: 0 12px;
218
- box-sizing: border-box;
219
- align-items: center;
220
- position: sticky;
221
- bottom: 0;
222
- box-shadow: 0 -2px 10px 0 rgba(0, 0, 0, 0.05);
223
- padding-bottom: calc(env(safe-area-inset-bottom) + var(--keyboard-height, 0px));
224
-
225
- .price {
226
- font-size: 14px;
227
- color: #34c0bc;
228
- }
229
-
230
- .price-value {
231
- font-size: 18px;
232
- color: #ff2d1e;
233
- }
234
-
235
- .btn {
236
- width: 105px;
237
- height: 40px;
238
- line-height: 40px;
239
- color: #ffffff;
240
- padding: 0 12px;
241
- background-color: #34c0bc;
242
- text-align: center;
243
- border-radius: 20px;
244
- }
245
- }
246
-
247
- .coupon-select {
248
- background-color: #ffffff;
249
- margin: 0 12px;
250
- padding: 15px;
251
- display: flex;
252
- align-items: center;
253
- justify-content: space-between;
254
- border-radius: 0 0 $radius $radius;
255
- //display: grid;
256
- //grid-template-columns: 52px 1fr;
257
- font-size: 14px;
258
- .img-fields {
259
- width: 100px;
260
- height: 100px;
261
- overflow: hidden;
262
- border: 1px dashed #ccc;
263
- box-sizing: border-box;
264
- display: flex;
265
- align-items: center;
266
- justify-content: center;
267
- border-radius: 6px;
268
- color: #394259;
269
-
270
- .img {
271
- width: 100px;
272
- display: block;
273
- }
274
- }
275
- }
276
-
277
- .pay-mode {
278
- margin-top: 12px;
279
- margin-bottom: 12px;
280
- border-radius: $radius;
281
- .info {
282
- margin-left: auto;
283
- margin-right: 10px;
284
- display: flex;
285
- align-items: center;
286
- }
287
-
288
- .pay-method-icon {
289
- width: 28px;
290
- height: 28px;
291
- margin-right: 5px;
292
- }
293
- }
294
-
295
- .info {
296
- display: flex;
297
- justify-content: space-between;
298
-
299
- .label {
300
- color: #999;
301
- }
302
-
303
- .icon {
304
- cursor: pointer;
305
- width: 14px;
306
- height: 3px;
307
- margin-top: 8px;
308
- }
309
- }
310
-
311
- .placeOrderAddressTabs {
312
- margin: 0 12px;
313
- border-radius: 8px;
314
- overflow: hidden;
315
-
316
- .delivery-header {
317
- display: flex;
318
- align-items: center;
319
- padding: 12px;
320
-
321
- .delivery-label {
322
- font-size: 14px;
323
- color: #333333;
324
- margin-right: 12px;
325
- white-space: nowrap;
326
- }
327
-
328
- .tabs {
329
- flex: 1;
330
- display: flex;
331
- height: 42px;
332
- line-height: 50px;
333
-
334
- .tabsItem {
335
- flex: 1;
336
- display: inline-block;
337
- font-size: 16px;
338
- position: relative;
339
- color: #333333;
340
- text-align: center;
341
-
342
- &.active {
343
- color: #34c0bc;
344
- font-weight: 500;
345
-
346
- .line {
347
- display: block;
348
- }
349
- }
350
-
351
- .line {
352
- width: 40px;
353
- height: 3px;
354
- background-color: #34c0bc;
355
- position: absolute;
356
- bottom: 0;
357
- left: 50%;
358
- margin-left: -20px;
359
- display: none;
360
- }
361
- }
362
- }
363
- }
364
-
365
- .content {
366
- border-radius: 12px;
367
- background: #fff;
368
- padding: 15px 22px;
369
- }
370
- }
1
+ $radius: 8px;
2
+
3
+ .placeOrder-chooseAddress {
4
+ .group {
5
+ display: flex;
6
+ justify-content: space-between;
7
+ align-items: center;
8
+ margin-bottom: 8px;
9
+ line-height: 58px;
10
+
11
+ .local {
12
+ width: 17px;
13
+ height: 16px;
14
+ margin-right: 7px;
15
+ //background-color: yellowgreen;
16
+ display: inline-block;
17
+ }
18
+
19
+ .address {
20
+ font-size: 14px;
21
+ color: #000;
22
+ }
23
+ }
24
+
25
+ .address-info {
26
+ width: 100%;
27
+
28
+ .left {
29
+ display: flex;
30
+ align-items: center;
31
+ gap: 8px;
32
+ }
33
+
34
+ .left-title {
35
+ display: flex;
36
+ font-size: 12px;
37
+ flex-basis: auto;
38
+ color: #333333;
39
+ margin-top: 10px;
40
+ }
41
+
42
+ .left-padding {
43
+ padding-left: 5px;
44
+ }
45
+
46
+ .left-title-default {
47
+ background: #34c0bc;
48
+ font-size: 10px;
49
+ color: #fff;
50
+ padding: 2px 4px;
51
+ margin-left: 5px;
52
+ border-radius: 5px;
53
+ }
54
+
55
+ .left-detail {
56
+ font-size: 16px;
57
+ margin-right: auto;
58
+ }
59
+ }
60
+
61
+ .arrow {
62
+ width: 6px;
63
+ height: 10px;
64
+ //background-color: yellowgreen;
65
+ }
66
+ }
67
+
68
+ .orderListItem {
69
+ .shop-info-wrap {
70
+ display: flex;
71
+ align-items: center;
72
+ gap: 8px;
73
+ margin-bottom: 12px;
74
+ }
75
+
76
+ .good-name {
77
+ font-size: 14px;
78
+ color: #333;
79
+ display: -webkit-box;
80
+ -webkit-box-orient: vertical;
81
+ -webkit-line-clamp: 3;
82
+ overflow: hidden;
83
+ word-break: break-word;
84
+ }
85
+
86
+ .shop-info-price {
87
+ // color: #ff2d1e;
88
+ font-size: 16px;
89
+ }
90
+
91
+ .shop-name {
92
+ font-size: 16px;
93
+ color: #333;
94
+ overflow: hidden;
95
+ text-overflow: ellipsis;
96
+ white-space: nowrap;
97
+ }
98
+
99
+ .card-item {
100
+ grid-template-columns: 100px 1fr;
101
+ margin-bottom: 0;
102
+ }
103
+
104
+ .card-item-img {
105
+ height: 100px;
106
+ width: 100px;
107
+ }
108
+ }
109
+
110
+ .place-order-goods {
111
+ padding: 15px 15px 0;
112
+ margin: 12px 12px 0;
113
+ border-radius: $radius $radius 0 0;
114
+ background: #fff;
115
+
116
+ .shop-info-wrap {
117
+ display: flex;
118
+ align-items: center;
119
+ gap: 8px;
120
+ margin-bottom: 12px;
121
+ }
122
+
123
+ .good-name {
124
+ font-size: 14px;
125
+ color: #333;
126
+ }
127
+
128
+ .shop-info-price {
129
+ // color: #ff2d1e;
130
+ font-size: 16px;
131
+ }
132
+
133
+ .shop-name {
134
+ font-size: 16px;
135
+ color: #333;
136
+ overflow: hidden;
137
+ text-overflow: ellipsis;
138
+ white-space: nowrap;
139
+ }
140
+
141
+ .card-item {
142
+ grid-template-columns: 100px 1fr;
143
+ margin-bottom: 10px;
144
+ &:last-of-type {
145
+ margin-bottom: unset;
146
+ }
147
+ }
148
+
149
+ .card-item-img {
150
+ height: 100px;
151
+ width: 100px;
152
+ }
153
+ }
154
+
155
+ .placeOrder-blcWrap {
156
+ margin: 0 12px;
157
+ padding: 15px 15px 0;
158
+ background-color: #fff;
159
+
160
+ &.price {
161
+ border-radius: $radius;
162
+ padding: 15px;
163
+ }
164
+
165
+ .content {
166
+ width: 240px;
167
+ height: 100px;
168
+ margin-top: 2px;
169
+ border: solid 1px #f1f1f1;
170
+ padding: 6px;
171
+ border-radius: 4px;
172
+ }
173
+ .title {
174
+ font-size: 16px;
175
+ font-weight: 500;
176
+ color: #333333;
177
+ margin-bottom: 17px;
178
+ }
179
+
180
+ .placeOrder-blcItem {
181
+ display: flex;
182
+ justify-content: space-between;
183
+ margin-bottom: 17px;
184
+
185
+ &:last-child {
186
+ margin-bottom: 0;
187
+ }
188
+
189
+ &.express {
190
+ font-size: 14px;
191
+ }
192
+
193
+ .label {
194
+ color: #333;
195
+ }
196
+
197
+ .value {
198
+ color: #333;
199
+
200
+ .icon {
201
+ width: 6px;
202
+ height: 10px;
203
+ display: inline-block;
204
+ //background-color: yellowgreen;
205
+ margin-left: 5px;
206
+ }
207
+ }
208
+ }
209
+ }
210
+
211
+ .placeOrderFooter {
212
+ background-color: #fff;
213
+ // height: 54px;
214
+ line-height: 54px;
215
+ display: flex;
216
+ justify-content: space-between;
217
+ padding: 0 12px;
218
+ box-sizing: border-box;
219
+ align-items: center;
220
+ position: sticky;
221
+ bottom: 0;
222
+ box-shadow: 0 -2px 10px 0 rgba(0, 0, 0, 0.05);
223
+ padding-bottom: calc(env(safe-area-inset-bottom) + var(--keyboard-height, 0px));
224
+
225
+ .price {
226
+ font-size: 14px;
227
+ color: #34c0bc;
228
+ }
229
+
230
+ .price-value {
231
+ font-size: 18px;
232
+ color: #ff2d1e;
233
+ }
234
+
235
+ .btn {
236
+ width: 105px;
237
+ height: 40px;
238
+ line-height: 40px;
239
+ color: #ffffff;
240
+ padding: 0 12px;
241
+ background-color: #34c0bc;
242
+ text-align: center;
243
+ border-radius: 20px;
244
+ }
245
+ }
246
+
247
+ .coupon-select {
248
+ background-color: #ffffff;
249
+ margin: 0 12px;
250
+ padding: 15px;
251
+ display: flex;
252
+ align-items: center;
253
+ justify-content: space-between;
254
+ border-radius: 0 0 $radius $radius;
255
+ //display: grid;
256
+ //grid-template-columns: 52px 1fr;
257
+ font-size: 14px;
258
+ .img-fields {
259
+ width: 100px;
260
+ height: 100px;
261
+ overflow: hidden;
262
+ border: 1px dashed #ccc;
263
+ box-sizing: border-box;
264
+ display: flex;
265
+ align-items: center;
266
+ justify-content: center;
267
+ border-radius: 6px;
268
+ color: #394259;
269
+
270
+ .img {
271
+ width: 100px;
272
+ display: block;
273
+ }
274
+ }
275
+ }
276
+
277
+ .pay-mode {
278
+ margin-top: 12px;
279
+ margin-bottom: 12px;
280
+ border-radius: $radius;
281
+ .info {
282
+ margin-left: auto;
283
+ margin-right: 10px;
284
+ display: flex;
285
+ align-items: center;
286
+ }
287
+
288
+ .pay-method-icon {
289
+ width: 28px;
290
+ height: 28px;
291
+ margin-right: 5px;
292
+ }
293
+ }
294
+
295
+ .info {
296
+ display: flex;
297
+ justify-content: space-between;
298
+
299
+ .label {
300
+ color: #999;
301
+ }
302
+
303
+ .icon {
304
+ cursor: pointer;
305
+ width: 14px;
306
+ height: 3px;
307
+ margin-top: 8px;
308
+ }
309
+ }
310
+
311
+ .placeOrderAddressTabs {
312
+ margin: 0 12px;
313
+ border-radius: 8px;
314
+ overflow: hidden;
315
+
316
+ .delivery-header {
317
+ display: flex;
318
+ align-items: center;
319
+ padding: 12px;
320
+
321
+ .delivery-label {
322
+ font-size: 14px;
323
+ color: #333333;
324
+ margin-right: 12px;
325
+ white-space: nowrap;
326
+ }
327
+
328
+ .tabs {
329
+ flex: 1;
330
+ display: flex;
331
+ height: 42px;
332
+ line-height: 50px;
333
+
334
+ .tabsItem {
335
+ flex: 1;
336
+ display: inline-block;
337
+ font-size: 16px;
338
+ position: relative;
339
+ color: #333333;
340
+ text-align: center;
341
+
342
+ &.active {
343
+ color: #34c0bc;
344
+ font-weight: 500;
345
+
346
+ .line {
347
+ display: block;
348
+ }
349
+ }
350
+
351
+ .line {
352
+ width: 40px;
353
+ height: 3px;
354
+ background-color: #34c0bc;
355
+ position: absolute;
356
+ bottom: 0;
357
+ left: 50%;
358
+ margin-left: -20px;
359
+ display: none;
360
+ }
361
+ }
362
+ }
363
+ }
364
+
365
+ .content {
366
+ border-radius: 12px;
367
+ background: #fff;
368
+ padding: 15px 22px;
369
+ }
370
+ }