s-material-react 1.3.20 → 1.3.22
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.
- package/css/basic/textLine.scss +10 -10
- package/css/common/addressItem.scss +74 -74
- package/css/common/card.scss +42 -42
- package/css/common/coupon.scss +82 -82
- package/css/common/evaluateItem.scss +51 -51
- package/css/common/icon.scss +59 -59
- package/css/common/noData.scss +27 -27
- package/css/common/rateItem.scss +35 -35
- package/css/common/stepNum.scss +16 -16
- package/css/pages/addressDetail.scss +59 -59
- package/css/pages/addressList.scss +43 -41
- package/css/pages/cart.scss +161 -161
- package/css/pages/classifyNav.scss +15 -15
- package/css/pages/couponList.scss +198 -197
- package/css/pages/cube.scss +49 -49
- package/css/pages/evaluateDetail.scss +57 -57
- package/css/pages/evaluateEntry.scss +52 -52
- package/css/pages/evaluateList.scss +22 -22
- package/css/pages/goods.scss +79 -79
- package/css/pages/goodsClassify.scss +129 -109
- package/css/pages/goodsDetail.scss +380 -380
- package/css/pages/goodsDetailTopInfo.scss +40 -40
- package/css/pages/goodsList.scss +62 -63
- package/css/pages/index.scss +6 -3
- package/css/pages/mine.scss +72 -72
- package/css/pages/mineData.scss +48 -0
- package/css/pages/mineFunction.scss +35 -0
- package/css/pages/mineOrderEntry.scss +46 -0
- package/css/pages/order-goodsItem.scss +12 -12
- package/css/pages/orderDetail.scss +123 -123
- package/css/pages/orderEntry.scss +36 -36
- package/css/pages/orderList.scss +60 -60
- package/css/pages/paymentMode.scss +62 -61
- package/css/pages/placeOrder.scss +130 -130
- package/css/pages/placeOrderResult.scss +81 -81
- package/css/pages/searchPage.scss +65 -65
- package/css/pages/service.scss +2 -2
- package/css/pages/slider.scss +15 -15
- package/css/pages/title.scss +1 -1
- package/dist/common/scrollWrap/index.d.ts +1 -2
- package/dist/components/AddressDetail/index.d.ts +11 -1
- package/dist/components/AddressList/index.d.ts +10 -2
- package/dist/components/CouponList/components/couponItem.d.ts +9 -0
- package/dist/components/CouponList/components/index.d.ts +1 -3
- package/dist/components/CouponList/index.d.ts +8 -1
- package/dist/components/EvaluateDetail/index.d.ts +9 -2
- package/dist/components/GoodsClassify/components/classifyFloor.d.ts +1 -0
- package/dist/components/GoodsClassify/index.d.ts +9 -1
- package/dist/components/MineData/index.d.ts +8 -0
- package/dist/components/MineFunction/index.d.ts +1 -0
- package/dist/components/MineOrderEntry/index.d.ts +1 -0
- package/dist/components/OrderDetail/component/footer.d.ts +4 -0
- package/dist/components/OrderDetail/index.d.ts +13 -1
- package/dist/components/PaymentMode/index.d.ts +10 -2
- package/dist/components/PlaceOrder/components/operate.d.ts +4 -0
- package/dist/components/PlaceOrder/index.d.ts +7 -0
- package/dist/components/PlaceOrderResult/index.d.ts +17 -2
- package/dist/components/SearchPage/index.d.ts +4 -1
- package/dist/components/index.d.ts +3 -0
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/dist/components/CouponList/components/overdue.d.ts +0 -5
- package/dist/components/CouponList/components/unUsed.d.ts +0 -5
- package/dist/components/CouponList/components/used.d.ts +0 -5
package/css/basic/textLine.scss
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
@mixin titleLine($num: 1) {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
overflow: hidden;
|
|
3
|
+
text-overflow: ellipsis;
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
5
|
+
@if ($num == 1) {
|
|
6
|
+
white-space: nowrap;
|
|
7
|
+
} @else {
|
|
8
|
+
white-space: pre-wrap;
|
|
9
|
+
display: -webkit-box;
|
|
10
|
+
-webkit-line-clamp: $num;
|
|
11
|
+
-webkit-box-orient: vertical;
|
|
12
|
+
}
|
|
13
13
|
}
|
|
@@ -1,91 +1,91 @@
|
|
|
1
1
|
.addressItem {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
width: 100%;
|
|
3
|
+
background-color: #fff;
|
|
4
|
+
margin-bottom: 10px;
|
|
5
|
+
border-radius: 5px;
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
.upInfo {
|
|
8
|
+
padding: 15px;
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
border-bottom: 1px solid #e2e2e2;
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
12
|
+
.userInfo {
|
|
13
|
+
color: #000;
|
|
14
|
+
font-size: 14px;
|
|
15
|
+
margin-bottom: 8px;
|
|
16
|
+
}
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
.addressInfo {
|
|
19
|
+
display: grid;
|
|
20
|
+
grid-template-columns: 1fr 14px;
|
|
21
|
+
gap: 10px;
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
.address {
|
|
24
|
+
font-size: 12px;
|
|
25
|
+
color: #a7a7a7;
|
|
26
|
+
}
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
}
|
|
28
|
+
.icon {
|
|
29
|
+
width: 14px;
|
|
30
|
+
height: 14px;
|
|
31
|
+
}
|
|
33
32
|
}
|
|
33
|
+
}
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
.checkBoxPc {
|
|
42
|
-
display: flex;
|
|
43
|
-
justify-content: center;
|
|
44
|
-
align-items: center;
|
|
35
|
+
.downInfo {
|
|
36
|
+
display: flex;
|
|
37
|
+
box-sizing: border-box;
|
|
38
|
+
justify-content: space-between;
|
|
39
|
+
padding: 12px 14px;
|
|
45
40
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
41
|
+
.checkBoxPc {
|
|
42
|
+
display: flex;
|
|
43
|
+
justify-content: center;
|
|
44
|
+
align-items: center;
|
|
50
45
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
align-items: center;
|
|
56
|
-
}
|
|
46
|
+
input {
|
|
47
|
+
margin-right: 5px;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
57
50
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
51
|
+
.checkboxMini {
|
|
52
|
+
.checkBoxWrap {
|
|
53
|
+
display: flex;
|
|
54
|
+
justify-content: center;
|
|
55
|
+
align-items: center;
|
|
56
|
+
}
|
|
63
57
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
58
|
+
.wx-checkbox-input {
|
|
59
|
+
width: 12px;
|
|
60
|
+
height: 12px;
|
|
61
|
+
border-radius: 50%;
|
|
62
|
+
}
|
|
68
63
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
line-height: 12px;
|
|
74
|
-
border-radius: 50%;
|
|
75
|
-
text-align: center;
|
|
76
|
-
font-size: 10px;
|
|
77
|
-
color: #fff;
|
|
78
|
-
transform: translate(-50%, -50%) scale(1);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
64
|
+
.wx-checkbox-input .wx-checkbox-input-checked {
|
|
65
|
+
color: red;
|
|
66
|
+
border-color: #000;
|
|
67
|
+
}
|
|
81
68
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
69
|
+
.wx-checkbox-input.wx-checkbox-input-checked::before {
|
|
70
|
+
background-color: #000;
|
|
71
|
+
width: 12px;
|
|
72
|
+
height: 12px;
|
|
73
|
+
line-height: 12px;
|
|
74
|
+
border-radius: 50%;
|
|
75
|
+
text-align: center;
|
|
76
|
+
font-size: 10px;
|
|
77
|
+
color: #fff;
|
|
78
|
+
transform: translate(-50%, -50%) scale(1);
|
|
79
|
+
}
|
|
86
80
|
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
81
|
+
|
|
82
|
+
.del {
|
|
83
|
+
font-size: 12px;
|
|
84
|
+
color: #a7a7a7;
|
|
90
85
|
}
|
|
86
|
+
}
|
|
87
|
+
.adm-checkbox.adm-checkbox-checked .adm-checkbox-icon {
|
|
88
|
+
border-color: #000000;
|
|
89
|
+
background-color: #000000;
|
|
90
|
+
}
|
|
91
91
|
}
|
package/css/common/card.scss
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
@import '../basic/textLine.scss';
|
|
2
2
|
|
|
3
3
|
.card-item {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
display: grid;
|
|
5
|
+
grid-template-columns: 80px 1fr;
|
|
6
|
+
gap: 7px;
|
|
7
|
+
margin-bottom: 12px;
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
&-img {
|
|
10
|
+
width: 80px;
|
|
11
|
+
height: 80px;
|
|
12
|
+
border-radius: 8px;
|
|
13
|
+
}
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
&-info {
|
|
16
|
+
&-container {
|
|
17
|
+
display: grid;
|
|
18
|
+
grid-template-columns: 1fr 60px;
|
|
19
|
+
grid-auto-flow: dense;
|
|
20
|
+
line-height: 18px;
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
&-title {
|
|
23
|
+
@include titleLine(2);
|
|
24
|
+
font-size: 13px;
|
|
25
|
+
}
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
&-price {
|
|
28
|
+
font-size: 14px;
|
|
29
|
+
color: #333333;
|
|
30
|
+
font-weight: 600;
|
|
31
|
+
text-align: right;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
35
|
+
&-sub {
|
|
36
|
+
display: flex;
|
|
37
|
+
justify-content: space-between;
|
|
38
|
+
color: #999999;
|
|
39
|
+
font-size: 13px;
|
|
40
|
+
margin-bottom: 3px;
|
|
41
|
+
}
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
43
|
+
&-tips {
|
|
44
|
+
display: inline-block;
|
|
45
|
+
height: 20px;
|
|
46
|
+
line-height: 20px;
|
|
47
|
+
background-color: rgba(255, 22, 67, 0.1);
|
|
48
|
+
border-radius: 3px;
|
|
49
|
+
color: #ff1643;
|
|
50
|
+
padding: 2px 4px;
|
|
52
51
|
}
|
|
52
|
+
}
|
|
53
53
|
}
|
package/css/common/coupon.scss
CHANGED
|
@@ -1,95 +1,95 @@
|
|
|
1
1
|
.couponItem {
|
|
2
|
+
width: 100%;
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
display: inline-block;
|
|
5
|
+
padding: 10px;
|
|
6
|
+
position: relative;
|
|
7
|
+
background: radial-gradient(transparent 0px, transparent 4px, #1a1922 4px, #1a1922) -10px -10px;
|
|
8
|
+
background-size: 20px 20px;
|
|
9
|
+
margin-bottom: 14px;
|
|
10
|
+
|
|
11
|
+
&:after {
|
|
12
|
+
content: '';
|
|
13
|
+
position: absolute;
|
|
14
|
+
left: 5px;
|
|
15
|
+
top: 5px;
|
|
16
|
+
right: 5px;
|
|
17
|
+
bottom: 5px;
|
|
18
|
+
//box-shadow: 0 0 20px 1px rgba(0, 0, 0, 1);
|
|
19
|
+
z-index: -1;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&:last-child {
|
|
23
|
+
margin-bottom: 0;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.coupon-content {
|
|
27
|
+
height: 100px;
|
|
2
28
|
width: 100%;
|
|
3
|
-
|
|
4
|
-
display:
|
|
5
|
-
|
|
29
|
+
background: #1a1922;
|
|
30
|
+
display: grid;
|
|
31
|
+
grid-template-columns: 100px 1fr 50px;
|
|
6
32
|
position: relative;
|
|
7
|
-
background: radial-gradient(transparent 0px, transparent 4px, #1a1922 4px, #1a1922) -10px -10px;
|
|
8
|
-
background-size: 20px 20px;
|
|
9
|
-
margin-bottom: 14px;
|
|
10
33
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
z-index: -1;
|
|
34
|
+
.coupon-pick {
|
|
35
|
+
line-height: 30px;
|
|
36
|
+
height: 30px;
|
|
37
|
+
background: #bfa676;
|
|
38
|
+
color: #fff;
|
|
39
|
+
text-align: center;
|
|
40
|
+
border-radius: 12px;
|
|
41
|
+
margin-top: 32px;
|
|
20
42
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
43
|
+
.coupon-pick-default {
|
|
44
|
+
line-height: 30px;
|
|
45
|
+
height: 30px;
|
|
46
|
+
background: #666;
|
|
47
|
+
color: #fff;
|
|
48
|
+
text-align: center;
|
|
49
|
+
border-radius: 12px;
|
|
50
|
+
margin-top: 32px;
|
|
51
|
+
}
|
|
52
|
+
.choose {
|
|
53
|
+
position: absolute;
|
|
54
|
+
top: 35px;
|
|
55
|
+
right: 5px;
|
|
56
|
+
//background: #fff;
|
|
57
|
+
border-radius: 100%;
|
|
58
|
+
overflow: hidden;
|
|
24
59
|
}
|
|
25
60
|
|
|
26
|
-
.
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
.coupon-pick {
|
|
35
|
-
line-height: 30px;
|
|
36
|
-
height: 30px;
|
|
37
|
-
background: #bfa676;
|
|
38
|
-
color: #fff;
|
|
39
|
-
text-align: center;
|
|
40
|
-
border-radius: 12px;
|
|
41
|
-
margin-top: 32px;
|
|
42
|
-
}
|
|
43
|
-
.coupon-pick-default {
|
|
44
|
-
line-height: 30px;
|
|
45
|
-
height: 30px;
|
|
46
|
-
background: #666;
|
|
47
|
-
color: #fff;
|
|
48
|
-
text-align: center;
|
|
49
|
-
border-radius: 12px;
|
|
50
|
-
margin-top: 32px;
|
|
51
|
-
}
|
|
52
|
-
.choose {
|
|
53
|
-
position: absolute;
|
|
54
|
-
top: 35px;
|
|
55
|
-
right: 5px;
|
|
56
|
-
//background: #fff;
|
|
57
|
-
border-radius: 100%;
|
|
58
|
-
overflow: hidden;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.price {
|
|
62
|
-
border-right: 1px dashed #fff;
|
|
63
|
-
text-align: center;
|
|
64
|
-
.symbol {
|
|
65
|
-
font-size: 15px;
|
|
66
|
-
margin: 25px 0 10px;
|
|
67
|
-
color: #fff;
|
|
68
|
-
}
|
|
61
|
+
.price {
|
|
62
|
+
border-right: 1px dashed #fff;
|
|
63
|
+
text-align: center;
|
|
64
|
+
.symbol {
|
|
65
|
+
font-size: 15px;
|
|
66
|
+
margin: 25px 0 10px;
|
|
67
|
+
color: #fff;
|
|
68
|
+
}
|
|
69
69
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
70
|
+
.num {
|
|
71
|
+
font-size: 12px;
|
|
72
|
+
color: #fff;
|
|
73
|
+
text-align: center;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
76
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
77
|
+
.info {
|
|
78
|
+
display: flex;
|
|
79
|
+
justify-content: center;
|
|
80
|
+
align-items: center;
|
|
81
|
+
flex-direction: column;
|
|
82
82
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
83
|
+
.title {
|
|
84
|
+
margin-bottom: 12px;
|
|
85
|
+
font-size: 16px;
|
|
86
|
+
color: #fff;
|
|
87
|
+
line-height: 22px;
|
|
88
|
+
}
|
|
89
89
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
}
|
|
90
|
+
.date {
|
|
91
|
+
color: rgba(255, 255, 255, 0.45);
|
|
92
|
+
}
|
|
94
93
|
}
|
|
94
|
+
}
|
|
95
95
|
}
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
.evaluateItem {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.userNameWrap {
|
|
25
|
-
text-align: left;
|
|
26
|
-
display: flex;
|
|
27
|
-
justify-content: center;
|
|
28
|
-
//align-items: center;
|
|
29
|
-
flex-direction: column;
|
|
30
|
-
|
|
31
|
-
.userName {
|
|
32
|
-
//line-height: 38px;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
2
|
+
color: #333333;
|
|
3
|
+
background-color: #ffffff;
|
|
4
|
+
padding: 15px 13px 20px;
|
|
5
|
+
border-bottom: 1px solid #e2e2e2;
|
|
6
|
+
|
|
7
|
+
&:last-child {
|
|
8
|
+
border-bottom: 0 none;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.userInfo {
|
|
12
|
+
display: grid;
|
|
13
|
+
grid-template-columns: 48px auto;
|
|
14
|
+
margin-bottom: 12px;
|
|
15
|
+
|
|
16
|
+
.avatar {
|
|
17
|
+
width: 38px;
|
|
18
|
+
height: 38px;
|
|
19
|
+
display: inline-block;
|
|
20
|
+
margin-right: 10px;
|
|
21
|
+
border-radius: 100%;
|
|
35
22
|
}
|
|
36
23
|
|
|
37
|
-
.
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
24
|
+
.userNameWrap {
|
|
25
|
+
text-align: left;
|
|
26
|
+
display: flex;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
//align-items: center;
|
|
29
|
+
flex-direction: column;
|
|
41
30
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
31
|
+
.userName {
|
|
32
|
+
//line-height: 38px;
|
|
33
|
+
}
|
|
45
34
|
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.size {
|
|
38
|
+
font-size: 12px;
|
|
39
|
+
margin-bottom: 4px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.content {
|
|
43
|
+
font-size: 14px;
|
|
44
|
+
margin-bottom: 12px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.img-group {
|
|
48
|
+
display: grid;
|
|
49
|
+
grid-template-columns: repeat(4, 1fr);
|
|
50
|
+
gap: 7px;
|
|
51
|
+
|
|
52
|
+
.img {
|
|
53
|
+
display: block;
|
|
54
|
+
border-radius: 4px;
|
|
55
|
+
width: 100%;
|
|
57
56
|
}
|
|
57
|
+
}
|
|
58
58
|
}
|