@fonixtree/magic-design 1.0.70 → 1.0.73

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 (55) hide show
  1. package/es/assets/fonts/.DS_Store +0 -0
  2. package/es/composite-comp/bol/components/Banner/mobile/index.less +52 -78
  3. package/es/composite-comp/bol/components/Carousel/mobile/index.less +81 -100
  4. package/es/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -22
  5. package/es/composite-comp/bol/components/ImageText/mobile/index.less +233 -292
  6. package/es/composite-comp/bol/components/Video/mobile/Layout1/index.less +21 -27
  7. package/es/composite-comp/bol/components/Video/mobile/Layout2/index.less +36 -45
  8. package/es/composite-comp/bol/components/Video/mobile/Layout3/index.less +43 -54
  9. package/es/composite-comp/bol/components/Video/mobile/index.less +2 -3
  10. package/es/composite-comp/bol/components/Wallet/mobile/index.less +103 -130
  11. package/es/composite-comp/bol/components/WalletNuri/mobile/index.less +19 -20
  12. package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +81 -111
  13. package/es/composite-comp/dito/components/CommonFunctions/mobile/index.js +7 -1
  14. package/es/composite-comp/dito/components/CommonFunctions/mobile/index.less +27 -35
  15. package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +83 -97
  16. package/es/composite-comp/dito/components/HeadNavigation/mobile/index.less +32 -34
  17. package/es/composite-comp/dito/components/MenuNavigation/mobile/index.less +4 -4
  18. package/es/composite-comp/dito/components/MobileNavigation/mobile/index.less +18 -35
  19. package/es/composite-comp/dito/components/Orders/mobile/index.js +6 -1
  20. package/es/composite-comp/dito/components/Orders/mobile/index.less +85 -92
  21. package/es/composite-comp/dito/components/PersonalInformation/mobile/index.js +6 -1
  22. package/es/composite-comp/dito/components/PersonalInformation/mobile/index.less +133 -155
  23. package/es/composite-comp/dito/components/Recommend/mobile/index.less +73 -86
  24. package/es/composite-comp/dito/components/SearchBar/mobile/index.less +45 -52
  25. package/es/composite-comp/dito/components/SignBoard/mobile/index.less +62 -66
  26. package/es/utils/commonUtil.js +6 -4
  27. package/es/utils/coreUtil.js +4 -53
  28. package/lib/assets/fonts/.DS_Store +0 -0
  29. package/lib/composite-comp/bol/components/Banner/mobile/index.less +52 -78
  30. package/lib/composite-comp/bol/components/Carousel/mobile/index.less +81 -100
  31. package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -22
  32. package/lib/composite-comp/bol/components/ImageText/mobile/index.less +233 -292
  33. package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +21 -27
  34. package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +36 -45
  35. package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +43 -54
  36. package/lib/composite-comp/bol/components/Video/mobile/index.less +2 -3
  37. package/lib/composite-comp/bol/components/Wallet/mobile/index.less +103 -130
  38. package/lib/composite-comp/bol/components/WalletNuri/mobile/index.less +19 -20
  39. package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +81 -111
  40. package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.js +7 -1
  41. package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.less +27 -35
  42. package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +83 -97
  43. package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.less +32 -34
  44. package/lib/composite-comp/dito/components/MenuNavigation/mobile/index.less +4 -4
  45. package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +18 -35
  46. package/lib/composite-comp/dito/components/Orders/mobile/index.js +6 -1
  47. package/lib/composite-comp/dito/components/Orders/mobile/index.less +85 -92
  48. package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.js +6 -1
  49. package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.less +133 -155
  50. package/lib/composite-comp/dito/components/Recommend/mobile/index.less +73 -86
  51. package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +45 -52
  52. package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +62 -66
  53. package/lib/utils/commonUtil.js +6 -4
  54. package/lib/utils/coreUtil.js +4 -53
  55. package/package.json +1 -1
@@ -1,100 +1,86 @@
1
1
  .m-flash-deal-mobile {
2
2
  display: flex;
3
3
  flex-direction: column;
4
- padding: 16px 16px 28px 16px;
5
-
6
- .flash-deal-title {
7
- display: flex;
8
- justify-content: space-between;
9
- align-items: center;
10
-
11
- .left {
12
- display: flex;
13
- align-items: center;
14
-
15
- .icon {
16
- height: 18px;
17
- margin-right: 10px;
18
- }
19
-
20
- .title {
21
- font-family: 'Montserrat';
22
- font-style: normal;
23
- font-weight: 600;
24
- font-size: 14px;
25
- line-height: 18px;
26
- color: #2C2C2C;
27
- margin-right: 10px;
28
- }
29
-
30
- .sub-title {
31
- font-family: 'Montserrat';
32
- font-style: normal;
33
- font-weight: 600;
34
- font-size: 10px;
35
- line-height: 18px;
36
- color: #2C2C2C;
37
- margin-right: 6px;
38
- align-self: end;
39
- }
40
- }
41
-
42
- .right {
43
- display: flex;
44
- align-items: center;
45
-
46
- .text {
47
- font-family: 'Montserrat';
48
- font-style: normal;
49
- font-weight: 600;
50
- font-size: 12px;
51
- line-height: 15px;
52
- color: #0038A8;
53
- margin-right: 5px;
54
- }
55
-
56
- .btn {
57
- white-space: nowrap;
58
- }
59
- }
60
- }
61
-
62
- .flash-deal-list {
63
- margin-top: 16px;
64
- overflow-x: auto;
65
- overflow-y: hidden;
66
- white-space: nowrap;
67
- display: flex;
68
- align-items: flex-start;
69
- justify-content: flex-start;
70
- position: relative;
71
-
72
- .loading-wrap {
73
- display: flex;
74
- align-items: center;
75
- justify-content: center;
76
- padding: 30px;
77
- position: absolute;
78
- top: 0;
79
- bottom: 0;
80
- left: 0;
81
- right: 0;
82
- margin: auto;
83
- }
84
-
85
- // 秒杀特有样式
86
- .m-product-item-wrap {
87
- width: 142px;
88
- margin-right: 8px;
89
-
90
- .product-img {
91
- height: 140px;
92
- width: 140px;
93
- }
94
-
95
- .product-name {
96
- height: 36px;
97
- }
98
- }
99
- }
100
- }
4
+ padding: 0.32rem 0.32rem 0.56rem 0.32rem;
5
+ }
6
+ .m-flash-deal-mobile .flash-deal-title {
7
+ display: flex;
8
+ justify-content: space-between;
9
+ align-items: center;
10
+ }
11
+ .m-flash-deal-mobile .flash-deal-title .left {
12
+ display: flex;
13
+ align-items: center;
14
+ }
15
+ .m-flash-deal-mobile .flash-deal-title .left .icon {
16
+ height: 0.36rem;
17
+ margin-right: 0.2rem;
18
+ }
19
+ .m-flash-deal-mobile .flash-deal-title .left .title {
20
+ font-family: 'Montserrat';
21
+ font-style: normal;
22
+ font-weight: 600;
23
+ font-size: 0.28rem;
24
+ line-height: 0.36rem;
25
+ color: #2C2C2C;
26
+ margin-right: 0.2rem;
27
+ }
28
+ .m-flash-deal-mobile .flash-deal-title .left .sub-title {
29
+ font-family: 'Montserrat';
30
+ font-style: normal;
31
+ font-weight: 600;
32
+ font-size: 0.2rem;
33
+ line-height: 0.36rem;
34
+ color: #2C2C2C;
35
+ margin-right: 0.12rem;
36
+ align-self: end;
37
+ }
38
+ .m-flash-deal-mobile .flash-deal-title .right {
39
+ display: flex;
40
+ align-items: center;
41
+ }
42
+ .m-flash-deal-mobile .flash-deal-title .right .text {
43
+ font-family: 'Montserrat';
44
+ font-style: normal;
45
+ font-weight: 600;
46
+ font-size: 0.24rem;
47
+ line-height: 0.3rem;
48
+ color: #0038A8;
49
+ margin-right: 0.1rem;
50
+ }
51
+ .m-flash-deal-mobile .flash-deal-title .right .btn {
52
+ white-space: nowrap;
53
+ }
54
+ .m-flash-deal-mobile .flash-deal-list {
55
+ margin-top: 0.32rem;
56
+ overflow-x: auto;
57
+ overflow-y: hidden;
58
+ white-space: nowrap;
59
+ display: flex;
60
+ align-items: flex-start;
61
+ justify-content: flex-start;
62
+ position: relative;
63
+ }
64
+ .m-flash-deal-mobile .flash-deal-list .loading-wrap {
65
+ display: flex;
66
+ align-items: center;
67
+ justify-content: center;
68
+ padding: 0.6rem;
69
+ position: absolute;
70
+ top: 0;
71
+ bottom: 0;
72
+ left: 0;
73
+ right: 0;
74
+ margin: auto;
75
+ }
76
+ .m-flash-deal-mobile .flash-deal-list .m-product-item-wrap {
77
+ width: 2.84rem;
78
+ margin-right: 0.16rem;
79
+ }
80
+ .m-flash-deal-mobile .flash-deal-list .m-product-item-wrap .product-img {
81
+ height: 2.8rem;
82
+ width: 2.8rem;
83
+ }
84
+ .m-flash-deal-mobile .flash-deal-list .m-product-item-wrap .product-name {
85
+ height: 0.72rem;
86
+ }
@@ -1,36 +1,34 @@
1
1
  .m-head-navigation {
2
2
  width: 100%;
3
-
4
- .head-wrap {
5
- padding: 15px;
6
- display: flex;
7
- align-items: center;
8
- justify-content: space-between;
9
- border-bottom: 1px solid #E6EAF0;
10
-
11
- .head-title {
12
- font-family: Open Sans;
13
- font-size: 14px;
14
- font-weight: 400;
15
- line-height: 22px;
16
- color: #000;
17
- }
18
- .icon-wrap {
19
- transition: all 0.1s;
20
- }
21
- .rotate {
22
- transform: rotate(90deg);
23
- }
24
- }
25
- .content-wrap {
26
- display: flex;
27
- flex-wrap: wrap;
28
- .head-item {
29
- margin-bottom: 8px;
30
- margin-left: 7px;
31
- }
32
- }
33
- .item-padding-top {
34
- padding-top: 8px;
35
- }
36
- }
3
+ }
4
+ .m-head-navigation .head-wrap {
5
+ padding: 0.3rem;
6
+ display: flex;
7
+ align-items: center;
8
+ justify-content: space-between;
9
+ border-bottom: 0.02rem solid #E6EAF0;
10
+ }
11
+ .m-head-navigation .head-wrap .head-title {
12
+ font-family: Open Sans;
13
+ font-size: 0.28rem;
14
+ font-weight: 400;
15
+ line-height: 0.44rem;
16
+ color: #000;
17
+ }
18
+ .m-head-navigation .head-wrap .icon-wrap {
19
+ transition: all 0.1s;
20
+ }
21
+ .m-head-navigation .head-wrap .rotate {
22
+ transform: rotate(90deg);
23
+ }
24
+ .m-head-navigation .content-wrap {
25
+ display: flex;
26
+ flex-wrap: wrap;
27
+ }
28
+ .m-head-navigation .content-wrap .head-item {
29
+ margin-bottom: 0.16rem;
30
+ margin-left: 0.14rem;
31
+ }
32
+ .m-head-navigation .item-padding-top {
33
+ padding-top: 0.16rem;
34
+ }
@@ -2,7 +2,7 @@
2
2
  width: 100%;
3
3
  display: flex;
4
4
  align-items: center;
5
- .menu-item {
6
- flex: 1;
7
- }
8
- }
5
+ }
6
+ .m-menu-navigation .menu-item {
7
+ flex: 1;
8
+ }
@@ -1,38 +1,21 @@
1
- .mobile-navigation-mobile {
2
- // display: flex;
3
- // flex-direction: column;
4
- // padding-top: 18px;
5
- .group-wrap {
6
- padding: 0 20px;
7
- display: flex;
8
- .one-card {
9
- // display: flex;
10
-
11
- .card-image-wrap {
12
- margin-bottom: 4px;
13
- width: 100%;
14
- }
15
- }
16
- }
17
-
1
+ .mobile-navigation-mobile .group-wrap {
2
+ padding: 0 0.4rem;
3
+ display: flex;
18
4
  }
19
-
20
- .newline {
21
- .group-wrap {
22
- flex-wrap: wrap;
23
- }
5
+ .mobile-navigation-mobile .group-wrap .one-card .card-image-wrap {
6
+ margin-bottom: 0.08rem;
7
+ width: 100%;
24
8
  }
25
-
26
- .tile {
27
- .group-wrap {
28
- // overflow-x: scroll;
29
- overflow-x: auto;
30
- flex-wrap: nowrap;
31
- scroll-snap-type: x;
32
- padding: 0 15px;
33
- .one-card {
34
- flex-shrink: 0;
35
- scroll-snap-align: end;
36
- }
37
- }
9
+ .newline .group-wrap {
10
+ flex-wrap: wrap;
11
+ }
12
+ .tile .group-wrap {
13
+ overflow-x: auto;
14
+ flex-wrap: nowrap;
15
+ scroll-snap-type: x;
16
+ padding: 0 0.3rem;
17
+ }
18
+ .tile .group-wrap .one-card {
19
+ flex-shrink: 0;
20
+ scroll-snap-align: end;
38
21
  }
@@ -323,6 +323,11 @@ function (_super) {
323
323
  onClick: function onClick() {
324
324
  return _this.onItemClick(item.sourceType);
325
325
  }
326
+ }, /*#__PURE__*/_react["default"].createElement("div", {
327
+ className: "content-wrap",
328
+ style: {
329
+ pointerEvents: window.magicDesign.mode == 'designer' ? 'auto' : 'none'
330
+ }
326
331
  }, /*#__PURE__*/_react["default"].createElement("div", {
327
332
  className: "img-wrap"
328
333
  }, item.image.open && _this.getImageHtml(item)), item.title.open && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
@@ -331,7 +336,7 @@ function (_super) {
331
336
  onTextInput: function onTextInput(text) {
332
337
  item.title.text = text;
333
338
  }
334
- }));
339
+ })));
335
340
  }))));
336
341
  };
337
342
 
@@ -1,93 +1,86 @@
1
1
  .orders-mobile {
2
- padding: 0 16px;
3
-
4
- .fixed-wrap {
5
- display: flex;
6
- flex-direction: column;
7
- background-color: #fff;
8
- box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
9
- border-radius: 16px;
10
- width: auto;
11
- padding: 16px;
12
-
13
- .top {
14
- display: flex;
15
- flex-direction: row;
16
- justify-content: space-between;
17
- font-weight: 600;
18
- line-height: 18px;
19
- color: var(--font-color);
20
-
21
- .title {
22
- font-size: 14px;
23
- font-weight: 600;
24
- color: #2C2C2C;
25
- }
26
-
27
- .btn-wrap {
28
- display: flex;
29
- flex-direction: row;
30
- justify-content: center;
31
- align-items: center;
32
-
33
- .text {
34
- font-size: 14px;
35
- color: #929292;
36
- font-weight: 400;
37
- margin-right: 4px;
38
- }
39
- }
40
- }
41
-
42
- .list {
43
- display: flex;
44
- flex-direction: row;
45
- justify-content: space-between;
46
- height: 66px;
47
- margin-top: 24px;
48
- margin-bottom: 1px;
49
-
50
- .item {
51
- display: flex;
52
- flex-direction: column;
53
- justify-content: center;
54
- align-items: center;
55
- flex: 1;
56
-
57
- .img-wrap {
58
- position: relative;
59
- display: flex;
60
- margin-bottom: 8px;
61
- width: 36px;
62
- height: 36px;
63
-
64
- .pot {
65
- display: inline-block;
66
- padding: 0 4px;
67
- background: #ce1126;
68
- border: 1px solid #ce1126;
69
- font-size: 8px;
70
- text-align: center;
71
- color: #fff;
72
- position: absolute;
73
- top: -2px;
74
- left: 20px;
75
- min-width: 16px;
76
- height: 16px;
77
- border-radius: 50%;
78
- line-height: 15px;
79
- }
80
- }
81
-
82
- .title {
83
- height: 22px;
84
- font-size: 12px;
85
- line-height: 11px;
86
- color: #2C2C2C;
87
- text-align: center;
88
- }
89
- }
90
- }
91
- }
92
-
93
- }
2
+ padding: 0 0.32rem;
3
+ }
4
+ .orders-mobile .fixed-wrap {
5
+ display: flex;
6
+ flex-direction: column;
7
+ background-color: #fff;
8
+ box-shadow: 0 0.06rem 0.12rem rgba(0, 0, 0, 0.16);
9
+ border-radius: 0.32rem;
10
+ width: auto;
11
+ padding: 0.32rem;
12
+ }
13
+ .orders-mobile .fixed-wrap .top {
14
+ display: flex;
15
+ flex-direction: row;
16
+ justify-content: space-between;
17
+ font-weight: 600;
18
+ line-height: 0.36rem;
19
+ color: var(--font-color);
20
+ }
21
+ .orders-mobile .fixed-wrap .top .title {
22
+ font-size: 0.28rem;
23
+ font-weight: 600;
24
+ color: #2C2C2C;
25
+ }
26
+ .orders-mobile .fixed-wrap .top .btn-wrap {
27
+ display: flex;
28
+ flex-direction: row;
29
+ justify-content: center;
30
+ align-items: center;
31
+ }
32
+ .orders-mobile .fixed-wrap .top .btn-wrap .text {
33
+ font-size: 0.28rem;
34
+ color: #929292;
35
+ font-weight: 400;
36
+ margin-right: 0.08rem;
37
+ }
38
+ .orders-mobile .fixed-wrap .list {
39
+ display: flex;
40
+ flex-direction: row;
41
+ justify-content: space-between;
42
+ height: 1.32rem;
43
+ margin-top: 0.48rem;
44
+ margin-bottom: 0.02rem;
45
+ }
46
+ .orders-mobile .fixed-wrap .list .item {
47
+ display: flex;
48
+ flex: 1 1;
49
+ }
50
+ .orders-mobile .fixed-wrap .list .item .content-wrap {
51
+ width: 100%;
52
+ display: flex;
53
+ flex-direction: column;
54
+ justify-content: center;
55
+ align-items: center;
56
+ }
57
+ .orders-mobile .fixed-wrap .list .item .img-wrap {
58
+ position: relative;
59
+ display: flex;
60
+ margin-bottom: 0.16rem;
61
+ width: 0.72rem;
62
+ height: 0.72rem;
63
+ }
64
+ .orders-mobile .fixed-wrap .list .item .img-wrap .pot {
65
+ display: inline-block;
66
+ padding: 0 0.08rem;
67
+ background: #ce1126;
68
+ border: 0.02rem solid #ce1126;
69
+ font-size: 0.16rem;
70
+ text-align: center;
71
+ color: #fff;
72
+ position: absolute;
73
+ top: -0.04rem;
74
+ left: 0.4rem;
75
+ min-width: 0.32rem;
76
+ height: 0.32rem;
77
+ border-radius: 50%;
78
+ line-height: 0.3rem;
79
+ }
80
+ .orders-mobile .fixed-wrap .list .item .title {
81
+ height: 0.44rem;
82
+ font-size: 0.24rem;
83
+ line-height: 0.22rem;
84
+ color: #2C2C2C;
85
+ text-align: center;
86
+ }
@@ -551,6 +551,11 @@ function (_super) {
551
551
  onClick: function onClick() {
552
552
  return _this.onItemClick(item.sourceType);
553
553
  }
554
+ }, /*#__PURE__*/_react["default"].createElement("div", {
555
+ className: "content-wrap",
556
+ style: {
557
+ pointerEvents: window.magicDesign.mode == 'designer' ? 'auto' : 'none'
558
+ }
554
559
  }, item.number.open && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
555
560
  className: "number",
556
561
  data: __assign(__assign({}, item.number), {
@@ -563,7 +568,7 @@ function (_super) {
563
568
  onTextInput: function onTextInput(text) {
564
569
  item.title.text = text;
565
570
  }
566
- }));
571
+ })));
567
572
  })), editImgModalVisible && /*#__PURE__*/_react["default"].createElement(_common.CropperModal, {
568
573
  onClose: function onClose() {
569
574
  _this.setState({