s-material-react 1.3.36 → 1.3.38

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.
Files changed (56) hide show
  1. package/css/common/icon.scss +7 -3
  2. package/css/common/index.scss +1 -0
  3. package/css/common/promotionItem.scss +87 -0
  4. package/css/pages/basic/backTopGroup/backTop.scss +4 -0
  5. package/css/pages/basic/backTopGroup/index.scss +1 -0
  6. package/css/pages/cart.scss +127 -85
  7. package/css/pages/classifyNavGroup/classifyNav.scss +16 -17
  8. package/css/pages/classifyNavGroup/classifyNavOne.scss +0 -3
  9. package/css/pages/goods.scss +0 -1
  10. package/css/pages/goodsClassifyGroup/goodsClassifyOne.scss +1 -1
  11. package/css/pages/goodsClassifyGroup/goodsClassifyTwo.scss +0 -1
  12. package/css/pages/goodsDetailGroup/GoodsDetailInfoOne.scss +1 -1
  13. package/css/pages/goodsGroup/goodsSlider.scss +0 -1
  14. package/css/pages/goodsGroup/goodsSlideshow.scss +2 -3
  15. package/css/pages/goodsList.scss +36 -10
  16. package/css/pages/index.scss +3 -2
  17. package/css/pages/marketingGroup/getCouponOne.scss +121 -0
  18. package/css/pages/marketingGroup/index.scss +1 -0
  19. package/css/pages/orderList.scss +1 -1
  20. package/css/pages/search.scss +3 -3
  21. package/css/pages/searchStyleTwo.scss +3 -3
  22. package/css/pages/slider.scss +14 -14
  23. package/dist/components/BackTop/index.d.ts +8 -0
  24. package/dist/components/CartGroup/cartList/common/cartPopup.d.ts +16 -0
  25. package/dist/components/CartGroup/cartList/common/promotion.d.ts +7 -0
  26. package/dist/components/CartGroup/cartList/common/promotionPopup.d.ts +10 -0
  27. package/dist/components/CartGroup/cartList/index.d.ts +9 -0
  28. package/dist/components/CartGroup/cartOperate/index.d.ts +9 -0
  29. package/dist/components/CartGroup/cartTop/index.d.ts +4 -0
  30. package/dist/components/CartGroup/components/cartItem.d.ts +3 -0
  31. package/dist/components/CartGroup/components/index.d.ts +1 -0
  32. package/dist/components/CartGroup/index.d.ts +3 -0
  33. package/dist/components/ClassifyNavGroup/ClassifyNavOne/index.d.ts +1 -1
  34. package/dist/components/ClassifyNavGroup/ClassifyNavThree/index.d.ts +1 -1
  35. package/dist/components/ClassifyNavGroup/ClassifyNavTwo/index.d.ts +1 -1
  36. package/dist/components/GoodsClassifyGroup/GoodsClassifyOne/components/classifyOneContent.d.ts +1 -1
  37. package/dist/components/GoodsClassifyGroup/GoodsClassifyOne/components/classifyOneFloor.d.ts +1 -1
  38. package/dist/components/GoodsClassifyGroup/GoodsClassifyOne/components/classifyOneHeader.d.ts +1 -1
  39. package/dist/components/GoodsClassifyGroup/GoodsClassifyTwo/components/goodsClassifyTwoContent.d.ts +1 -1
  40. package/dist/components/GoodsClassifyGroup/GoodsClassifyTwo/components/level3Arr.d.ts +1 -1
  41. package/dist/components/GoodsClassifyGroup/GoodsClassifyTwo/index.d.ts +1 -1
  42. package/dist/components/GoodsDetailGroup/GoodsDetailHandleBarOne/index.d.ts +1 -1
  43. package/dist/components/GoodsDetailGroup/GoodsDetailInfoOne/handleBar.d.ts +1 -1
  44. package/dist/components/GoodsDetailGroup/GoodsDetailInfoOne/index.d.ts +1 -1
  45. package/dist/components/GoodsGroup/GoodsSlider/index.d.ts +1 -1
  46. package/dist/components/GoodsGroup/GoodsSlideshow/index.d.ts +1 -1
  47. package/dist/components/LineGroup/TextLine/index.d.ts +1 -1
  48. package/dist/components/MarketingGroup/GetCouponOne/components/oneLineOneBlc/index.d.ts +14 -0
  49. package/dist/components/MarketingGroup/GetCouponOne/components/oneLineTwoBlc/index.d.ts +15 -0
  50. package/dist/components/MarketingGroup/GetCouponOne/index.d.ts +10 -0
  51. package/dist/components/MarketingGroup/PromotionList/index.d.ts +2 -0
  52. package/dist/components/MarketingGroup/index.d.ts +2 -0
  53. package/dist/components/PlaceOrderGroup/PlaceOrderAddress/index.d.ts +1 -1
  54. package/dist/components/index.d.ts +3 -0
  55. package/dist/index.js +1 -1
  56. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  @font-face {
2
2
  font-family: 'iconfont'; /* Project id 3540782 */
3
- src: url('//at.alicdn.com/t/c/font_3540782_tk2k34lqfkn.woff2?t=1679627495575') format('woff2'),
4
- url('//at.alicdn.com/t/c/font_3540782_tk2k34lqfkn.woff?t=1679627495575') format('woff'),
5
- url('//at.alicdn.com/t/c/font_3540782_tk2k34lqfkn.ttf?t=1679627495575') format('truetype');
3
+ src: url('//at.alicdn.com/t/c/font_3540782_9656zj9vb8j.woff2?t=1684824218273') format('woff2'),
4
+ url('//at.alicdn.com/t/c/font_3540782_9656zj9vb8j.woff?t=1684824218273') format('woff'),
5
+ url('//at.alicdn.com/t/c/font_3540782_9656zj9vb8j.ttf?t=1684824218273') format('truetype');
6
6
  }
7
7
 
8
8
  .iconfont {
@@ -21,6 +21,10 @@
21
21
  -moz-osx-font-smoothing: grayscale;
22
22
  }
23
23
 
24
+ .icon-backtop:before {
25
+ content: '\e637';
26
+ }
27
+
24
28
  .icon-gonggao:before {
25
29
  content: '\e607';
26
30
  }
@@ -6,3 +6,4 @@
6
6
  @import './stepNum.scss';
7
7
  @import './rateItem.scss';
8
8
  @import './noData.scss';
9
+ @import './promotionItem';
@@ -0,0 +1,87 @@
1
+ .promotionItem {
2
+ display: flex;
3
+ min-height: 120px;
4
+ box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
5
+ margin: 0 10px;
6
+ border-radius: 6px;
7
+ overflow: hidden;
8
+
9
+ .lPart {
10
+ flex: 1;
11
+ background: linear-gradient(270deg, #1a1922 0%, #383647 100%);
12
+ border-radius: 6px;
13
+ position: relative;
14
+ padding-top: 20px;
15
+
16
+ .round {
17
+ width: 24px;
18
+ height: 24px;
19
+ border-radius: 100%;
20
+ background-color: #ffffff;
21
+ position: absolute;
22
+ top: 50%;
23
+ right: -12px;
24
+ margin-top: -12px;
25
+ }
26
+
27
+ .tagBg {
28
+ height: 26px;
29
+ line-height: 26px;
30
+ width: 200px;
31
+ background: #ffffff;
32
+ transform: rotate(-45deg);
33
+ text-align: center;
34
+ position: absolute;
35
+ top: 14px;
36
+ left: -72px;
37
+
38
+ .txt {
39
+ font-size: 14px;
40
+ color: #394259;
41
+ font-weight: 500;
42
+ text-align: center;
43
+ }
44
+ }
45
+
46
+ .rule {
47
+ font-size: 24px;
48
+ font-weight: 500;
49
+ color: #ffffff;
50
+ text-align: center;
51
+ margin-bottom: 10px;
52
+ }
53
+
54
+ .title {
55
+ font-size: 14px;
56
+ font-weight: 400;
57
+ color: #ffffff;
58
+ text-align: center;
59
+ display: block;
60
+ margin-bottom: 2px;
61
+ }
62
+
63
+ .time {
64
+ color: rgba(255, 255, 255, 0.45);
65
+ font-size: 12px;
66
+ text-align: center;
67
+ display: block;
68
+
69
+ .num {
70
+ display: inline-block;
71
+ }
72
+ }
73
+ }
74
+
75
+ .rPart {
76
+ width: 48px;
77
+ padding: 4px 4px 4px 0;
78
+
79
+ .sideBorder {
80
+ border: 1px solid #c3c6cd;
81
+ border-left: none;
82
+ height: 100%;
83
+ border-top-right-radius: 6px;
84
+ border-bottom-right-radius: 6px;
85
+ }
86
+ }
87
+ }
@@ -0,0 +1,4 @@
1
+ .backTop {
2
+ display: flex;
3
+ align-items: center;
4
+ }
@@ -0,0 +1 @@
1
+ @import './backTop';
@@ -1,11 +1,47 @@
1
+ .cart-wrap {
2
+ padding: 0 10px;
3
+ h4 {
4
+ font-size: 14px;
5
+ text-align: left;
6
+ padding-top: 15px;
7
+ margin-bottom: 10px;
8
+ }
9
+ .cart-bg {
10
+ border: solid 1px #efefef;
11
+ background: #fff;
12
+ .cart-dis-title {
13
+ margin: 10px;
14
+ padding-bottom: 10px;
15
+ display: flex;
16
+ align-items: center;
17
+ border-bottom: 1px #efefef solid;
18
+ .tips {
19
+ background: #b79f77;
20
+ color: #fff;
21
+ font-size: 12px;
22
+ border-radius: 20px;
23
+ padding: 2px 6px;
24
+ }
25
+ }
26
+ }
27
+ }
28
+
29
+ .promotion-item {
30
+ display: grid;
31
+ grid-template-columns: auto 50px;
32
+ margin-bottom: 10px;
33
+ .content {
34
+ text-align: left;
35
+ }
36
+ }
37
+
1
38
  .cart {
2
39
  background-color: #f6f6f6;
3
-
4
40
  .edit {
5
41
  text-align: right;
6
42
  border-bottom: 1px solid #e2e2e2;
7
43
  padding: 6px 0;
8
- background-color: #ffffff;
44
+ //background-color: #fff;
9
45
 
10
46
  .btn {
11
47
  display: inline-block;
@@ -27,7 +63,7 @@
27
63
  grid-template-columns: 20px 82px 1fr;
28
64
  gap: 10px;
29
65
  border-bottom: 1px solid #e2e2e2;
30
- background-color: #ffffff;
66
+ //background-color: #ffffff;
31
67
 
32
68
  .checkBoxWrap {
33
69
  position: relative;
@@ -98,105 +134,108 @@
98
134
  }
99
135
 
100
136
  //}
101
-
102
- .dashboard {
103
- height: 50px;
104
- line-height: 50px;
105
- width: 100%;
106
- padding: 0 10px;
107
- box-sizing: border-box;
137
+ }
138
+ .cart-dashboard {
139
+ height: 50px;
140
+ line-height: 50px;
141
+ width: 100%;
142
+ padding: 0 10px;
143
+ box-sizing: border-box;
144
+ display: flex;
145
+ justify-content: space-between;
146
+ background: rgba(255, 255, 255, 1);
147
+ border-top: 1px solid #eeeeee;
148
+ overflow: hidden;
149
+ position: sticky;
150
+ bottom: 0;
151
+
152
+ .choose {
108
153
  display: flex;
109
- justify-content: space-between;
110
- background: rgba(255, 255, 255, 1);
111
- border-top: 1px solid #eeeeee;
112
- overflow: hidden;
113
- position: sticky;
114
- bottom: 0;
115
-
116
- .choose {
117
- display: flex;
118
- justify-content: center;
119
- align-items: center;
120
-
121
- .wx-checkbox-input {
122
- width: 18px;
123
- height: 18px;
124
- border-radius: 50%;
125
- }
154
+ justify-content: center;
155
+ align-items: center;
126
156
 
127
- .wx-checkbox-input.wx-checkbox-input-checked {
128
- background-color: #000000;
129
- }
130
-
131
- .wx-checkbox-input.wx-checkbox-input-checked::before {
132
- color: #ffffff;
133
- font-size: 14px;
134
- }
157
+ .wx-checkbox-input {
158
+ width: 18px;
159
+ height: 18px;
160
+ border-radius: 50%;
135
161
  }
136
162
 
137
- .check {
138
- display: flex;
139
- align-items: center;
163
+ .wx-checkbox-input.wx-checkbox-input-checked {
164
+ background-color: #000000;
165
+ }
140
166
 
141
- .priceGroup {
142
- vertical-align: top;
143
- margin-right: 8px;
144
- color: #a7a7a7;
145
- display: grid;
146
- grid-template-rows: 50% 50%;
147
- height: 100%;
167
+ .wx-checkbox-input.wx-checkbox-input-checked::before {
168
+ color: #ffffff;
169
+ font-size: 14px;
170
+ }
171
+ }
148
172
 
149
- .discount {
150
- font-size: 12px;
151
- display: flex;
152
- align-items: center;
153
- }
173
+ .check {
174
+ display: flex;
175
+ align-items: center;
154
176
 
155
- .all {
156
- font-size: 14px;
157
- display: flex;
158
- align-items: center;
159
- }
177
+ .priceGroup {
178
+ vertical-align: top;
179
+ margin-right: 8px;
180
+ color: #a7a7a7;
181
+ display: grid;
182
+ grid-template-rows: 50% 50%;
183
+ height: 100%;
160
184
 
161
- .data {
162
- color: #000000;
163
- }
185
+ .discount {
186
+ font-size: 12px;
187
+ display: flex;
188
+ align-items: center;
164
189
  }
165
190
 
166
- .btn {
167
- height: 40px;
168
- line-height: 40px;
169
- padding: 0 26px;
170
- border-radius: 20px;
171
- background: #000000;
191
+ .all {
172
192
  font-size: 14px;
173
- color: #fff;
174
- display: inline-block;
175
- vertical-align: top;
193
+ display: flex;
194
+ align-items: center;
176
195
  }
177
- }
178
196
 
179
- .del {
180
- .btn {
181
- height: 40px;
182
- line-height: 40px;
183
- padding: 0 26px;
184
- border-radius: 20px;
185
- background: #ff1643;
186
- font-size: 14px;
187
- color: #fff;
188
- display: inline-block;
189
- vertical-align: top;
197
+ .data {
198
+ color: #000000;
190
199
  }
191
200
  }
201
+
202
+ .btn {
203
+ height: 40px;
204
+ line-height: 40px;
205
+ padding: 0 26px;
206
+ border-radius: 20px;
207
+ background: #000000;
208
+ font-size: 14px;
209
+ color: #fff;
210
+ display: inline-block;
211
+ vertical-align: top;
212
+ }
192
213
  }
193
- }
194
214
 
215
+ .del {
216
+ .btn {
217
+ margin-top: 6px;
218
+ height: 40px;
219
+ line-height: 40px;
220
+ padding: 0 26px;
221
+ border-radius: 20px;
222
+ background: #ff1643;
223
+ font-size: 14px;
224
+ color: #fff;
225
+ display: inline-block;
226
+ vertical-align: top;
227
+ }
228
+ }
229
+ }
195
230
  .cart-edit {
231
+ position: sticky;
232
+ top: 0;
233
+ background: #fff;
196
234
  text-align: right;
235
+ z-index: 1000;
197
236
  border-bottom: 1px solid #e2e2e2;
198
237
  padding: 6px 0;
199
- background-color: #ffffff;
238
+ //background-color: #ffffff;
200
239
 
201
240
  .btn {
202
241
  display: inline-block;
@@ -206,11 +245,14 @@
206
245
  padding: 10px 12px;
207
246
  }
208
247
  }
209
- .cart-promote-active{
248
+ .cart-promote-active {
210
249
  margin: 0 12px;
211
250
  text-align: left;
212
- padding-bottom: 10px;
213
- border-bottom: 1px solid #e2e2e2;
251
+ padding: 10px 0;
252
+ border-top: 1px solid #efefef;
253
+ display: grid;
254
+ cursor: pointer;
255
+ grid-template-columns: auto 30px;
214
256
  }
215
257
  .cart-list-item {
216
258
  width: 100%;
@@ -220,7 +262,7 @@
220
262
  grid-template-columns: 20px 82px 1fr;
221
263
  gap: 10px;
222
264
  //
223
- background-color: #ffffff;
265
+ //background-color: #ffffff;
224
266
  .checkBoxWrap {
225
267
  position: relative;
226
268
 
@@ -1,20 +1,19 @@
1
1
  .classifyNav {
2
- width: 100%;
3
- display: grid;
4
- grid-template-columns: repeat(4, 1fr);
5
-
6
- .classifyNavItem {
7
- .img {
8
- width: 60px;
9
- height: 60px;
10
- display: block;
11
- margin: 10px auto 0;
12
- }
13
- .label {
14
- display: block;
15
- text-align: center;
16
- margin-top: 6px;
17
- }
2
+ width: 100%;
3
+ display: grid;
4
+ grid-template-columns: repeat(4, 1fr);
5
+
6
+ .classifyNavItem {
7
+ .img {
8
+ width: 60px;
9
+ height: 60px;
10
+ display: block;
11
+ margin: 10px auto 0;
12
+ }
13
+ .label {
14
+ display: block;
15
+ text-align: center;
16
+ margin-top: 6px;
18
17
  }
19
18
  }
20
-
19
+ }
@@ -6,15 +6,12 @@
6
6
  padding: 10px 0;
7
7
  box-sizing: border-box;
8
8
 
9
-
10
9
  .classifyNav-item {
11
-
12
10
  .classifyNav-item-img {
13
11
  margin: 0 auto 5px;
14
12
  width: 60px;
15
13
  height: 60px;
16
14
  display: block;
17
15
  }
18
-
19
16
  }
20
17
  }
@@ -15,7 +15,6 @@
15
15
  margin-top: 10px;
16
16
  padding: 8px;
17
17
  position: relative;
18
-
19
18
  }
20
19
 
21
20
  .titleType {
@@ -50,7 +50,7 @@
50
50
  z-index: 99;
51
51
  border-radius: 10px;
52
52
  overflow: hidden;
53
- background-color: #FFFFFF;
53
+ background-color: #ffffff;
54
54
  border: 1px solid #dddddd;
55
55
 
56
56
  .goodsClassifyOne-tipWrap-handleBar {
@@ -1,5 +1,4 @@
1
1
  .goodsClassifyTwo {
2
-
3
2
  .goodsClassifyTwoWrap {
4
3
  display: flex;
5
4
 
@@ -2,7 +2,7 @@
2
2
  background-color: #fff;
3
3
  margin: 0 10px;
4
4
  padding: 13px;
5
- border-bottom: 1px solid #EDEDED;
5
+ border-bottom: 1px solid #ededed;
6
6
 
7
7
  .title {
8
8
  font-size: 18px;
@@ -28,7 +28,6 @@
28
28
  box-sizing: border-box;
29
29
 
30
30
  .title {
31
-
32
31
  }
33
32
 
34
33
  .info {
@@ -36,7 +36,7 @@
36
36
  margin: 0 auto;
37
37
  border: 1px solid #000;
38
38
  overflow: hidden;
39
- background: #FFFFFF;
39
+ background: #ffffff;
40
40
 
41
41
  &.active {
42
42
  transform: scale(1);
@@ -77,13 +77,12 @@
77
77
  line-height: 40px;
78
78
  background: #000;
79
79
  border-radius: 100px;
80
- color: #FFFFFF;
80
+ color: #ffffff;
81
81
  text-align: center;
82
82
  font-size: 18px;
83
83
  }
84
84
 
85
85
  .adm-swiper-slide {
86
-
87
86
  }
88
87
  }
89
88
  }
@@ -34,13 +34,38 @@
34
34
  }
35
35
  }
36
36
  }
37
- .goodDetail{
37
+ .goodDetail {
38
38
  display: flex;
39
39
  justify-content: space-between;
40
40
  align-items: center;
41
+ height: 25px;
42
+ line-height: 25px;
43
+ margin: 0 10px;
41
44
  }
42
- .anticon{
43
- flex-direction: row-reverse;
45
+ .decoration {
46
+ text-decoration: line-through;
47
+ }
48
+ .textBox {
49
+ display: flex;
50
+ // padding: 0 10px;
51
+ }
52
+ .boxNone {
53
+ display: none;
54
+ }
55
+ .mgtop {
56
+ margin-top: 10px;
57
+ }
58
+ .mgbtm {
59
+ margin-bottom: 10px;
60
+ }
61
+ .mgrf {
62
+ margin-left: 10px;
63
+ margin-right: 10px;
64
+ line-height: 25px;
65
+ height: 25px;
66
+ }
67
+ .btm {
68
+ height: 0;
44
69
  }
45
70
  .listWrap {
46
71
  background-color: #f6f6f6;
@@ -53,20 +78,23 @@
53
78
  .listItem {
54
79
  overflow: hidden;
55
80
  background-color: #fff;
56
- padding-bottom: 12px;
57
-
81
+ // padding-bottom: 12px;
82
+ height: fit-content;
58
83
  .img {
59
84
  display: block;
60
85
  width: 100%;
61
86
  height: 170px;
62
- margin-bottom: 5px;
87
+ // margin-bottom: 5px;
63
88
  }
64
89
 
65
90
  .name {
66
91
  font-size: 12px;
67
92
  display: block;
68
- padding: 0 10px;
69
- margin-bottom: 5px;
93
+ // padding: 10px;
94
+ height: 25px;
95
+ line-height: 25px;
96
+ margin: 0 10px;
97
+ // margin-bottom: 5px;
70
98
  @include titleLine(1);
71
99
  }
72
100
 
@@ -74,9 +102,7 @@
74
102
  display: block;
75
103
  color: #ff0934;
76
104
  font-size: 12px;
77
- padding: 0 10px;
78
105
  }
79
-
80
106
  }
81
107
  }
82
108
  }
@@ -35,13 +35,14 @@
35
35
  @import './search.scss';
36
36
  @import './searchStyleTwo.scss';
37
37
 
38
-
39
38
  // basic
40
39
  @import './lineGroup';
41
40
  @import './goodsGroup';
42
41
  // business
43
42
  @import './goodsClassifyGroup';
44
43
  @import './goodsDetailGroup';
44
+ @import './marketingGroup';
45
+ @import './basic/backTopGroup';
45
46
 
46
47
  //
47
48
  //* {
@@ -49,5 +50,5 @@
49
50
  //}
50
51
  //
51
52
  .design-container .monitor .monitor-node .actived:after {
52
- //display: none;
53
+ display: none;
53
54
  }