s-material-react 1.4.9 → 1.4.11

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 (51) hide show
  1. package/css/common/card.scss +7 -0
  2. package/css/common/countNum.scss +34 -0
  3. package/css/common/icon.scss +46 -4
  4. package/css/common/index.scss +3 -0
  5. package/css/common/refundGoodsDetail.scss +92 -0
  6. package/css/common/refundOption.scss +32 -0
  7. package/css/pages/addressDetail.scss +1 -1
  8. package/css/pages/addressListGroup/addressListBtn.scss +14 -0
  9. package/css/pages/addressListGroup/index.scss +1 -0
  10. package/css/pages/goodsDetail.scss +32 -6
  11. package/css/pages/goodsDetailGroup/GoodsDetailInfoOne.scss +10 -0
  12. package/css/pages/goodsList.scss +35 -22
  13. package/css/pages/index.scss +3 -1
  14. package/css/pages/mineData.scss +1 -0
  15. package/css/pages/mineOrderEntry.scss +5 -1
  16. package/css/pages/order-goodsItem.scss +2 -0
  17. package/css/pages/orderDetail.scss +39 -1
  18. package/css/pages/orderList.scss +40 -3
  19. package/css/pages/placeOrderGroup.scss +5 -3
  20. package/css/pages/refundGroup/index.scss +1 -0
  21. package/css/pages/refundGroup/refundAfter.scss +13 -0
  22. package/dist/common/card/index.d.ts +2 -1
  23. package/dist/common/copyText/index.d.ts +6 -0
  24. package/dist/common/countNum/index.d.ts +1 -0
  25. package/dist/common/refundGoodsDetail/index.d.ts +6 -0
  26. package/dist/common/refundOption/index.d.ts +5 -0
  27. package/dist/components/AddressListGroup/AddressList/components/index.d.ts +1 -0
  28. package/dist/components/AddressListGroup/AddressList/components/skull.d.ts +1 -0
  29. package/dist/components/AddressListGroup/AddressList/index.d.ts +11 -0
  30. package/dist/components/AddressListGroup/AddressListBtn/index.d.ts +8 -0
  31. package/dist/components/AddressListGroup/index.d.ts +2 -0
  32. package/dist/components/GoodsDetailGroup/GoodsDetailCoupon/component/NoData.d.ts +1 -0
  33. package/dist/components/GoodsDetailGroup/GoodsDetailCoupon/component/index.d.ts +1 -0
  34. package/dist/components/Mine/MineData/index.d.ts +1 -0
  35. package/dist/components/OrderList/components/NoData.d.ts +1 -0
  36. package/dist/components/OrderList/components/index.d.ts +1 -0
  37. package/dist/components/OrderList/components/orderItem.d.ts +1 -1
  38. package/dist/components/PaymentModeGroup/index.d.ts +1 -0
  39. package/dist/components/RefundGroup/RefundAfter/index.d.ts +1 -0
  40. package/dist/components/RefundGroup/index.d.ts +1 -0
  41. package/dist/components/index.d.ts +3 -2
  42. package/dist/hooks/index.d.ts +1 -0
  43. package/dist/hooks/useCountDown.d.ts +3 -0
  44. package/dist/index.js +1 -1
  45. package/dist/static/icon/index.d.ts +2 -0
  46. package/dist/utils/index.d.ts +1 -0
  47. package/dist/utils/prices.d.ts +1 -0
  48. package/dist/utils/util.d.ts +2 -1
  49. package/package.json +1 -1
  50. /package/dist/components/{PaymentMode → PaymentModeGroup/PaymentMode}/config.d.ts +0 -0
  51. /package/dist/components/{PaymentMode → PaymentModeGroup/PaymentMode}/index.d.ts +0 -0
@@ -53,5 +53,12 @@
53
53
  color: #ff1643;
54
54
  padding: 2px 4px;
55
55
  }
56
+
57
+ .card-item-info-countDown {
58
+ background-color: rgba(#ff1643, 0.1);
59
+ color: #ff1643;
60
+ display: inline-block;
61
+ padding: 0 2px;
62
+ }
56
63
  }
57
64
  }
@@ -0,0 +1,34 @@
1
+ .count_btn_style {
2
+ display: flex;
3
+ align-items: center;
4
+
5
+ @mixin box_style {
6
+ width: 25px;
7
+ height: 25px;
8
+ margin: 0 auto;
9
+ text-align: center;
10
+ line-height: 25px;
11
+ border-top: 1px solid rgb(135, 133, 133);
12
+ border-bottom: 1px solid rgb(135, 133, 133);
13
+ }
14
+
15
+ .btn_left {
16
+ @include box_style;
17
+ border-bottom-left-radius: 5px;
18
+ border-top-left-radius: 5px;
19
+ border-left: 1px solid rgb(135, 133, 133);
20
+ }
21
+
22
+ .btn_middle {
23
+ @include box_style;
24
+ border-left: 1px solid rgb(135, 133, 133);
25
+ border-right: 1px solid rgb(135, 133, 133);
26
+ }
27
+
28
+ .btn_right {
29
+ @include box_style;
30
+ border-top-right-radius: 5px;
31
+ border-bottom-right-radius: 5px;
32
+ border-right: 1px solid rgb(135, 133, 133);
33
+ }
34
+ }
@@ -1,8 +1,9 @@
1
1
  @font-face {
2
- font-family: 'iconfont'; /* Project id 3540782 */
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');
2
+ font-family: 'iconfont';
3
+ /* Project id 3540782 */
4
+ src: url('//at.alicdn.com/t/c/font_3540782_26vd58ech1ci.woff2?t=1686124852990') format('woff2'),
5
+ url('//at.alicdn.com/t/c/font_3540782_26vd58ech1ci.woff?t=1686124852990') format('woff'),
6
+ url('//at.alicdn.com/t/c/font_3540782_26vd58ech1ci.ttf?t=1686124852990') format('truetype');
6
7
  }
7
8
 
8
9
  .iconfont {
@@ -11,6 +12,7 @@
11
12
  family: iconfont;
12
13
  variant: normal;
13
14
  }
15
+
14
16
  font-size: 16px;
15
17
  line-height: 1;
16
18
  font-style: normal;
@@ -21,6 +23,46 @@
21
23
  -moz-osx-font-smoothing: grayscale;
22
24
  }
23
25
 
26
+ .icon-bangzhu:before {
27
+ content: '\e604';
28
+ }
29
+
30
+ .icon-huanhuo:before {
31
+ content: '\e608';
32
+ }
33
+
34
+ .icon-tuikuantuihuo1:before {
35
+ content: '\e673';
36
+ }
37
+
38
+ .icon-tuikuantuihuo:before {
39
+ content: '\e603';
40
+ }
41
+
42
+ .icon-tuikuan:before {
43
+ content: '\e75a';
44
+ }
45
+
46
+ .icon-jiangxu1:before {
47
+ content: '\e6cc';
48
+ }
49
+
50
+ .icon-shengxu1:before {
51
+ content: '\e6cf';
52
+ }
53
+
54
+ .icon-daifahuo1:before {
55
+ content: '\e614';
56
+ }
57
+
58
+ .icon-zhifushibai:before {
59
+ content: '\e663';
60
+ }
61
+
62
+ .icon-zhifuchenggong:before {
63
+ content: '\e639';
64
+ }
65
+
24
66
  .icon-backtop:before {
25
67
  content: '\e637';
26
68
  }
@@ -7,3 +7,6 @@
7
7
  @import './rateItem.scss';
8
8
  @import './noData.scss';
9
9
  @import './promotionItem';
10
+ @import './refundOption.scss';
11
+ @import './refundGoodsDetail.scss';
12
+ @import './countNum.scss';
@@ -0,0 +1,92 @@
1
+ .refundGoodsDeatil {
2
+ margin-top: 9px;
3
+ background: #fff;
4
+ padding: 30px 15px;
5
+ font-size: 14px;
6
+ font-weight: 500;
7
+ border-radius: 10px;
8
+ position: relative;
9
+
10
+ @mixin textColor {
11
+ color: rgb(135, 133, 133);
12
+ }
13
+
14
+ .goodsDeatilMsg {
15
+ display: flex;
16
+ justify-content: space-between;
17
+ margin-top: 10px;
18
+ position: relative;
19
+
20
+ .goods_img {
21
+ .img {
22
+ width: 80px;
23
+ height: 80px;
24
+ }
25
+ }
26
+
27
+ .goods_content {
28
+ .goods_text {
29
+ display: flex;
30
+ justify-content: space-between;
31
+ font-size: 13px;
32
+ margin: 0px 10px;
33
+
34
+ .goods_title {
35
+ display: -webkit-box; //弹性盒模型
36
+ -webkit-box-orient: vertical; //上下垂直
37
+ -webkit-line-clamp: 2; //自定义行数
38
+ overflow: hidden;
39
+ text-overflow: ellipsis;
40
+ line-height: 20px;
41
+ }
42
+
43
+ .goods_price {
44
+ margin-left: 10px;
45
+ }
46
+ }
47
+
48
+ .goods_nums_btm {
49
+ bottom: 8px;
50
+ }
51
+
52
+ .goods_nums_btm1 {
53
+ bottom: 14px;
54
+ }
55
+
56
+ .goods_nums {
57
+ display: flex;
58
+ justify-content: space-between;
59
+ margin: 0 10px;
60
+
61
+ .goods_size {
62
+ @include textColor;
63
+ font-size: 11px;
64
+ margin-top: 10px;
65
+ }
66
+
67
+ .nums_btn {
68
+ display: flex;
69
+ align-items: center;
70
+ color: rgb(135, 133, 133);
71
+
72
+ .icon_btn {
73
+ margin-right: 10px;
74
+ }
75
+ }
76
+ }
77
+ }
78
+
79
+ .help_btn {
80
+ position: absolute;
81
+ bottom: -11px;
82
+ color: rgb(135, 133, 133);
83
+ font-size: 10px;
84
+ border: 1px solid rgb(135, 133, 133);
85
+ right: 10px;
86
+ padding: 5px;
87
+ border-radius: 10px;
88
+ background: #f9f9f9;
89
+ box-shadow: 1px 1px 1px rgb(135, 133, 133);
90
+ }
91
+ }
92
+ }
@@ -0,0 +1,32 @@
1
+ .refundOptionStyle {
2
+ margin-top: 9px;
3
+ background: #fff;
4
+ padding: 15px 10px;
5
+ font-size: 14px;
6
+ font-weight: 500;
7
+ border-radius: 10px;
8
+
9
+ .optionItem {
10
+ margin-top: 20px;
11
+ display: flex;
12
+ justify-content: space-between;
13
+ align-items: center;
14
+
15
+ .refund_icon {
16
+ width: 5%;
17
+ }
18
+
19
+ .refund_text {
20
+ width: 80%;
21
+
22
+ .refund_type_title {
23
+ margin-bottom: 5px;
24
+ }
25
+
26
+ .refund_tip {
27
+ font-size: 10px;
28
+ color: rgb(135, 133, 133);
29
+ }
30
+ }
31
+ }
32
+ }
@@ -17,7 +17,7 @@
17
17
  }
18
18
 
19
19
  .adm-list-item-content {
20
- border-bottom: 1 rpx solid #d8d8d8 !important;
20
+ border-bottom: 1px solid #d8d8d8 !important;
21
21
  }
22
22
 
23
23
  &:last-child {
@@ -0,0 +1,14 @@
1
+ .addressListBtnWrap {
2
+ padding: 10px;
3
+ box-sizing: border-box;
4
+ }
5
+
6
+ .addressListBtn {
7
+ width: 100%;
8
+ height: 34px;
9
+ border-radius: 34px;
10
+ font-size: 14px;
11
+ display: flex;
12
+ align-items: center;
13
+ justify-content: center;
14
+ }
@@ -0,0 +1 @@
1
+ @import './addressListBtn';
@@ -1,9 +1,10 @@
1
1
  .goodsDetail-topInfo {
2
2
  background-color: #fff;
3
- margin: 0 10px;
3
+ margin: 10px;
4
4
  padding: 13px;
5
5
  display: flex;
6
- border-bottom: 1px solid #ededed;
6
+ // border-bottom: 1px solid #ededed;
7
+ box-shadow: 0 0 2px #b6b6b7;
7
8
 
8
9
  .lPart {
9
10
  flex: 1;
@@ -49,6 +50,7 @@
49
50
  .GoodsDetailWrap {
50
51
  //overflow: scroll;
51
52
  background-color: #f6f6f6;
53
+
52
54
  //padding-top: 12px;
53
55
  //padding-bottom: 12px;
54
56
  .topSlider {
@@ -58,11 +60,11 @@
58
60
 
59
61
  .goodsDetail-promotion {
60
62
  background-color: #fff;
61
- margin: 0 10px;
63
+ margin: 10px;
62
64
  padding: 13px;
63
65
  display: grid;
64
66
  grid-template-columns: 52px 1fr;
65
- border-bottom: 1px solid #ededed;
67
+ box-shadow: 0 0 2px #b6b6b7;
66
68
 
67
69
  .label {
68
70
  font-size: 14px;
@@ -93,12 +95,12 @@
93
95
  .goodsDetail-coupon,
94
96
  .goodsDetail-size {
95
97
  background-color: #fff;
96
- margin: 0 10px;
98
+ margin: 10px;
97
99
  padding: 13px;
98
100
  display: grid;
99
101
  grid-template-columns: 52px 1fr;
100
102
  font-size: 14px;
101
- border-bottom: 1px solid #ededed;
103
+ box-shadow: 0 0 2px #b6b6b7;
102
104
 
103
105
  .info {
104
106
  display: flex;
@@ -332,6 +334,30 @@
332
334
  }
333
335
  }
334
336
 
337
+ .NoDataImg {
338
+ display: flex;
339
+ justify-content: center;
340
+ align-items: center;
341
+ flex-direction: column;
342
+
343
+ .btn {
344
+ width: 100%;
345
+ height: 40px;
346
+ margin: 20px;
347
+ line-height: 40px;
348
+ text-align: center;
349
+ background: #000000;
350
+ color: #ffffff;
351
+ border-radius: 50px;
352
+ }
353
+
354
+ .img {
355
+ width: 250px;
356
+ height: 200px;
357
+ display: block;
358
+ }
359
+ }
360
+
335
361
  .confirm {
336
362
  width: 100%;
337
363
  height: 40px;
@@ -1,3 +1,13 @@
1
+ .disSeller {
2
+ height: 40px;
3
+ font-size: 15px;
4
+ color: #fff;
5
+ border-radius: 20px;
6
+ background: #8c8c97;
7
+ width: 100%;
8
+ line-height: 40px;
9
+ text-align: center;
10
+ }
1
11
  .goodsDetail-info-one {
2
12
  background-color: #fff;
3
13
  margin: 0 10px;
@@ -12,6 +12,7 @@
12
12
  display: flex;
13
13
  align-items: center;
14
14
  justify-content: center;
15
+
15
16
  .icon {
16
17
  width: 14px;
17
18
  height: 14px;
@@ -25,61 +26,76 @@
25
26
  display: grid;
26
27
  cursor: pointer;
27
28
  grid-template-columns: repeat(4, 1fr);
29
+ justify-items: center;
28
30
 
29
31
  .sortItem {
30
32
  text-align: center;
33
+ display: flex;
34
+
31
35
  &.active {
32
36
  color: #ff0934;
33
37
  }
38
+
39
+ .orderIcons {
40
+ display: flex;
41
+ flex-direction: column !important;
42
+ justify-content: center;
43
+ align-items: center;
44
+ margin-left: 5px;
45
+ margin-bottom: 8px;
46
+ }
34
47
  }
35
48
  }
36
49
  }
50
+
37
51
  .goodDetail {
38
52
  display: flex;
39
53
  justify-content: space-between;
40
54
  align-items: center;
41
- height: 25px;
42
- line-height: 25px;
43
- margin: 0 10px;
44
55
  }
56
+
57
+ .detailContent {
58
+ margin: 5px 10px 12px;
59
+ }
60
+
45
61
  .decoration {
46
62
  text-decoration: line-through;
63
+ font-size: 12px;
47
64
  }
65
+
48
66
  .textBox {
49
67
  display: flex;
50
68
  // padding: 0 10px;
51
69
  }
70
+
52
71
  .boxNone {
53
72
  display: none;
54
73
  }
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;
74
+
75
+ .middle_margin {
76
+ margin-bottom: 5px;
77
+ font-size: 12px;
69
78
  }
79
+
80
+ // .btm {
81
+ // height: 0;
82
+ // }
70
83
  .listWrap {
71
84
  background-color: #f6f6f6;
85
+
72
86
  //padding: 10px;
73
87
  .list {
74
88
  display: grid;
75
89
  grid-template-columns: repeat(2, 1fr);
76
90
  // gap: 10px;
77
91
  padding: 10px;
92
+
78
93
  .listItem {
79
94
  overflow: hidden;
80
95
  background-color: #fff;
81
96
  // padding-bottom: 12px;
82
97
  height: fit-content;
98
+
83
99
  .img {
84
100
  display: block;
85
101
  width: 100%;
@@ -88,12 +104,9 @@
88
104
  }
89
105
 
90
106
  .name {
91
- font-size: 12px;
92
- display: block;
107
+ font-size: 14px;
93
108
  // padding: 10px;
94
- height: 25px;
95
- line-height: 25px;
96
- margin: 0 10px;
109
+ margin-bottom: 5px;
97
110
  // margin-bottom: 5px;
98
111
  @include titleLine(1);
99
112
  }
@@ -43,6 +43,8 @@
43
43
  @import './goodsDetailGroup';
44
44
  @import './marketingGroup';
45
45
  @import './basic/backTopGroup';
46
+ @import './addressListGroup';
47
+ @import './refundGroup';
46
48
 
47
49
  //
48
50
  //* {
@@ -50,5 +52,5 @@
50
52
  //}
51
53
  //
52
54
  .design-container .monitor .monitor-node .actived:after {
53
- //display: none;
55
+ display: none;
54
56
  }
@@ -28,6 +28,7 @@
28
28
  .name {
29
29
  font-size: 20px;
30
30
  color: #333;
31
+ font-weight: 600;
31
32
  }
32
33
 
33
34
  .link {
@@ -2,6 +2,8 @@
2
2
  background: #fff;
3
3
  box-shadow: 0 0 10px 0 rgba(231, 227, 227, 0.5);
4
4
  border-radius: 8px;
5
+ margin: 10px;
6
+ border: 1px solid rgba(231, 227, 227, 0.5);
5
7
 
6
8
  .title {
7
9
  height: 46px;
@@ -19,6 +21,7 @@
19
21
  .more {
20
22
  font-size: 12px;
21
23
  margin-right: 13px;
24
+ color: #999;
22
25
  }
23
26
  }
24
27
 
@@ -30,6 +33,7 @@
30
33
 
31
34
  .contentItem {
32
35
  flex: 1;
36
+
33
37
  .icon {
34
38
  width: 22px;
35
39
  height: 22px;
@@ -39,7 +43,7 @@
39
43
 
40
44
  .subTitle {
41
45
  display: block;
42
- font-size: 11px;
46
+ font-size: 14px;
43
47
  }
44
48
  }
45
49
  }
@@ -2,6 +2,8 @@
2
2
  text-align: right;
3
3
 
4
4
  .btn {
5
+ border-radius: 30px;
6
+
5
7
  &.white {
6
8
  --background-color: #fff;
7
9
  --border-color: #000;
@@ -12,12 +12,23 @@
12
12
  align-items: center;
13
13
 
14
14
  .orderDetailTopTitleContent {
15
+ .icon_text {
16
+ display: flex;
17
+ justify-content: center;
18
+ align-items: center;
19
+ }
20
+
15
21
  .title {
16
22
  font-size: 18px;
17
23
  color: #fff;
18
24
  }
19
25
 
20
26
  .subTitleWrap {
27
+ color: #fff;
28
+ position: relative;
29
+ left: 100px;
30
+ margin-top: 20px;
31
+
21
32
  .subTitleIcon {
22
33
  width: 19px;
23
34
  height: 19px;
@@ -34,6 +45,7 @@
34
45
 
35
46
  .orderDetailContent {
36
47
  background-color: #f6f6f6;
48
+
37
49
  .addressInfo {
38
50
  background: #fff;
39
51
  border-radius: 8px;
@@ -79,8 +91,20 @@
79
91
  }
80
92
  }
81
93
 
94
+ .orderBtn {
95
+ display: block;
96
+ width: 72px;
97
+ height: 28px;
98
+ font-size: 12px;
99
+ line-height: 28px;
100
+ border: 1px solid #000000;
101
+ text-align: center;
102
+ border-radius: 20px;
103
+ margin-left: 79%;
104
+ }
105
+
82
106
  .priceInfo {
83
- margin-top: 20px;
107
+ margin-top: 13px;
84
108
  border-top: 1px solid #dcdcdc;
85
109
  padding: 18px 0 13px;
86
110
 
@@ -123,6 +147,20 @@
123
147
  margin: 0 12px 12px;
124
148
  padding: 13px 14px;
125
149
 
150
+ .context_copy {
151
+ display: flex;
152
+ align-items: center;
153
+
154
+ .copy {
155
+ font-size: 12px;
156
+ padding: 0 4px;
157
+ margin-left: 5px;
158
+ color: #999;
159
+ border-color: #999;
160
+ border-radius: 10px;
161
+ }
162
+ }
163
+
126
164
  .orderInfoItem {
127
165
  font-size: 14px;
128
166
  margin-bottom: 6px;
@@ -4,16 +4,50 @@
4
4
  height: 100%;
5
5
  overflow: hidden;
6
6
  background: #f5f5f5;
7
+
7
8
  .qj-tabs {
8
9
  background: #fff;
10
+
11
+ .actived-item {
12
+ color: #000000;
13
+ border-color: #000000;
14
+ }
9
15
  }
16
+
10
17
  .orderList {
11
18
  .tabTitle {
12
19
  --title-font-size: 15px;
13
20
  }
21
+
14
22
  .orderListItemWrap {
15
23
  //overflow-y: auto;
16
24
  //margin-bottom: 20px;
25
+ .nodata_img {
26
+ width: 100%;
27
+ display: flex;
28
+ flex-direction: column;
29
+ justify-content: center;
30
+ align-items: center;
31
+
32
+ .img {
33
+ width: 200px;
34
+ height: 200px;
35
+ margin-top: 20px;
36
+ }
37
+ }
38
+
39
+ .nodata-btn {
40
+ margin-top: 20px;
41
+ width: 150px;
42
+ height: 50px;
43
+ line-height: 50px;
44
+ text-align: center;
45
+ background: #000000;
46
+ color: #ffffff;
47
+ border-radius: 30px;
48
+ font-size: 18px;
49
+ }
50
+
17
51
  .orderListItem {
18
52
  margin-left: 12px;
19
53
  margin-right: 12px;
@@ -26,17 +60,20 @@
26
60
  line-height: 20px;
27
61
  justify-content: space-between;
28
62
  margin-bottom: 12px;
63
+ align-items: center;
29
64
 
30
65
  .orderNo {
31
- font-size: 12px;
66
+ font-size: 14px;
67
+ display: flex;
68
+ align-items: center;
32
69
 
33
70
  .copy {
34
- font-size: 9px;
35
71
  padding: 0 4px;
36
72
  margin-left: 5px;
37
73
  color: #999;
38
74
  border-color: #999;
39
- border-radius: 10px;
75
+ border-radius: 2px;
76
+ font-size: 12px;
40
77
  }
41
78
  }
42
79