@fonixtree/magic-design 1.0.71 → 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 +2 -8
  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 +2 -8
  55. package/package.json +1 -1
@@ -1,57 +1,46 @@
1
1
  .video-layout3-wrap {
2
2
  display: flex;
3
3
  flex-direction: column;
4
- .video-tag-container {
5
- padding-top: 20px;
6
- padding-bottom: 38px;
7
- }
8
-
9
- .video-layout3-item-con {
10
- display: flex;
11
- flex-direction: column;
12
- margin-bottom: 10px;
13
-
14
- &:last-child {
15
- margin-bottom: 0;
16
- }
17
- }
18
-
19
- .video-item-wrap {
20
- height: 212px;
21
- position: relative;
22
-
23
-
24
- &:last-child {
25
- margin-bottom: 0;
26
- }
27
-
28
- .play-btn {
29
- position: absolute;
30
- top: 50%;
31
- left: 50%;
32
- transform: translate(-50%, -50%);
33
- // width: 60px;
34
- // height: 60px;
35
- z-index: 1;
36
- cursor: pointer;
37
-
38
- img {
39
- width: 100%;
40
- height: 100%;
41
- }
42
-
43
- &.bottomLeft {
44
- left: 12px;
45
- bottom: 10px;
46
- transform: unset;
47
- top: unset;
48
- }
49
- }
50
-
51
- .video-share-btn {
52
- position: absolute;
53
- right: 12px;
54
- bottom: 12px;
55
- }
56
- }
57
- }
4
+ }
5
+ .video-layout3-wrap .video-tag-container {
6
+ padding-top: 0.4rem;
7
+ padding-bottom: 0.76rem;
8
+ }
9
+ .video-layout3-wrap .video-layout3-item-con {
10
+ display: flex;
11
+ flex-direction: column;
12
+ margin-bottom: 0.2rem;
13
+ }
14
+ .video-layout3-wrap .video-layout3-item-con:last-child {
15
+ margin-bottom: 0;
16
+ }
17
+ .video-layout3-wrap .video-item-wrap {
18
+ height: 4.24rem;
19
+ position: relative;
20
+ }
21
+ .video-layout3-wrap .video-item-wrap:last-child {
22
+ margin-bottom: 0;
23
+ }
24
+ .video-layout3-wrap .video-item-wrap .play-btn {
25
+ position: absolute;
26
+ top: 50%;
27
+ left: 50%;
28
+ transform: translate(-50%, -50%);
29
+ z-index: 1;
30
+ cursor: pointer;
31
+ }
32
+ .video-layout3-wrap .video-item-wrap .play-btn img {
33
+ width: 100%;
34
+ height: 100%;
35
+ }
36
+ .video-layout3-wrap .video-item-wrap .play-btn.bottomLeft {
37
+ left: 0.24rem;
38
+ bottom: 0.2rem;
39
+ transform: unset;
40
+ top: unset;
41
+ }
42
+ .video-layout3-wrap .video-item-wrap .video-share-btn {
43
+ position: absolute;
44
+ right: 0.24rem;
45
+ bottom: 0.24rem;
46
+ }
@@ -1,4 +1,3 @@
1
1
  .m-video-mobile {
2
- position: relative;
3
-
4
- }
2
+ position: relative;
3
+ }
@@ -1,130 +1,103 @@
1
- .m-Wallet-mobile {
2
-
3
- .headline {
4
- margin-bottom: 7px;
5
- }
6
-
7
- .item-wrap {
8
-
9
- .text-content {
10
- position: relative !important;
11
- display: flex;
12
- align-items: center;
13
- justify-content: center;
14
- flex-wrap: wrap;
15
- border-radius: 10px;
16
- padding: 10px 40px 58px 40px;
17
-
18
- .wallet-btn {
19
- margin-top: 10px;
20
- }
21
-
22
- .peek {
23
- position: absolute;
24
- bottom: 8px;
25
- width: 60px !important;
26
- white-space: nowrap;
27
-
28
- &.left {
29
- left: 40px;
30
- }
31
-
32
- &.right {
33
- right: 40px;
34
- }
35
- }
36
- }
37
- }
38
-
39
- // 按列布局
40
- .column-layout {
41
- display: flex;
42
- flex-wrap: wrap;
43
- justify-content: space-between;
44
-
45
- .text-content {
46
- padding: 10px 0 10px 0;
47
-
48
- .wallet-btn {
49
- margin-top: 10px;
50
- }
51
-
52
- .peek {
53
- bottom: 10px;
54
-
55
- &.left {
56
- left: 16px;
57
- }
58
-
59
- &.right {
60
- right: 16px;
61
- }
62
- }
63
- }
64
- }
65
-
66
- // 翻转布局
67
- .carousel-layout {
68
- position: relative;
69
- min-height: 240px;
70
-
71
- .slick-track {
72
- display: flex;
73
- justify-content: center;
74
- align-items: center;
75
- }
76
-
77
- .carousel-icon-left {
78
- position: absolute;
79
- left: 16px;
80
- top: 0;
81
- bottom: 0;
82
- margin: auto;
83
- cursor: pointer;
84
- z-index: 20;
85
- }
86
-
87
- .carousel-icon-right {
88
- position: absolute;
89
- right: 16px;
90
- top: 0;
91
- bottom: 0;
92
- margin: auto;
93
- cursor: pointer;
94
- z-index: 20;
95
- }
96
-
97
- .swiper-ban {
98
- position: absolute;
99
- width: 100%;
100
- bottom: 36px;
101
- display: flex;
102
- align-items: center;
103
- justify-content: center;
104
- z-index: 20;
105
-
106
- .ban {
107
- font-size: 8px;
108
- width: 1em;
109
- height: 1em;
110
- border-radius: 50%;
111
- background-color: #FFF;
112
- cursor: inherit;
113
- margin-right: 10px;
114
- transition: all .5s;
115
- opacity: 0.4;
116
-
117
- &:last-child {
118
- margin-right: 0;
119
- }
120
-
121
- &.active {
122
- width: 2em;
123
- height: 1em;
124
- border-radius: 100px;
125
- opacity: 1;
126
- }
127
- }
128
- }
129
- }
130
- }
1
+ .m-Wallet-mobile .headline {
2
+ margin-bottom: 0.14rem;
3
+ }
4
+ .m-Wallet-mobile .item-wrap .text-content {
5
+ position: relative !important;
6
+ display: flex;
7
+ align-items: center;
8
+ justify-content: center;
9
+ flex-wrap: wrap;
10
+ border-radius: 0.2rem;
11
+ padding: 0.2rem 0.8rem 1.16rem 0.8rem;
12
+ }
13
+ .m-Wallet-mobile .item-wrap .text-content .wallet-btn {
14
+ margin-top: 0.2rem;
15
+ }
16
+ .m-Wallet-mobile .item-wrap .text-content .peek {
17
+ position: absolute;
18
+ bottom: 0.16rem;
19
+ width: 1.2rem !important;
20
+ white-space: nowrap;
21
+ }
22
+ .m-Wallet-mobile .item-wrap .text-content .peek.left {
23
+ left: 0.8rem;
24
+ }
25
+ .m-Wallet-mobile .item-wrap .text-content .peek.right {
26
+ right: 0.8rem;
27
+ }
28
+ .m-Wallet-mobile .column-layout {
29
+ display: flex;
30
+ flex-wrap: wrap;
31
+ justify-content: space-between;
32
+ }
33
+ .m-Wallet-mobile .column-layout .text-content {
34
+ padding: 0.2rem 0 0.2rem 0;
35
+ }
36
+ .m-Wallet-mobile .column-layout .text-content .wallet-btn {
37
+ margin-top: 0.2rem;
38
+ }
39
+ .m-Wallet-mobile .column-layout .text-content .peek {
40
+ bottom: 0.2rem;
41
+ }
42
+ .m-Wallet-mobile .column-layout .text-content .peek.left {
43
+ left: 0.32rem;
44
+ }
45
+ .m-Wallet-mobile .column-layout .text-content .peek.right {
46
+ right: 0.32rem;
47
+ }
48
+ .m-Wallet-mobile .carousel-layout {
49
+ position: relative;
50
+ min-height: 4.8rem;
51
+ }
52
+ .m-Wallet-mobile .carousel-layout .slick-track {
53
+ display: flex;
54
+ justify-content: center;
55
+ align-items: center;
56
+ }
57
+ .m-Wallet-mobile .carousel-layout .carousel-icon-left {
58
+ position: absolute;
59
+ left: 0.32rem;
60
+ top: 0;
61
+ bottom: 0;
62
+ margin: auto;
63
+ cursor: pointer;
64
+ z-index: 20;
65
+ }
66
+ .m-Wallet-mobile .carousel-layout .carousel-icon-right {
67
+ position: absolute;
68
+ right: 0.32rem;
69
+ top: 0;
70
+ bottom: 0;
71
+ margin: auto;
72
+ cursor: pointer;
73
+ z-index: 20;
74
+ }
75
+ .m-Wallet-mobile .carousel-layout .swiper-ban {
76
+ position: absolute;
77
+ width: 100%;
78
+ bottom: 0.72rem;
79
+ display: flex;
80
+ align-items: center;
81
+ justify-content: center;
82
+ z-index: 20;
83
+ }
84
+ .m-Wallet-mobile .carousel-layout .swiper-ban .ban {
85
+ font-size: 0.16rem;
86
+ width: 1em;
87
+ height: 1em;
88
+ border-radius: 50%;
89
+ background-color: #FFF;
90
+ cursor: inherit;
91
+ margin-right: 0.2rem;
92
+ transition: all 0.5s;
93
+ opacity: 0.4;
94
+ }
95
+ .m-Wallet-mobile .carousel-layout .swiper-ban .ban:last-child {
96
+ margin-right: 0;
97
+ }
98
+ .m-Wallet-mobile .carousel-layout .swiper-ban .ban.active {
99
+ width: 2em;
100
+ height: 1em;
101
+ border-radius: 2rem;
102
+ opacity: 1;
103
+ }
@@ -1,23 +1,22 @@
1
1
  .m-wallet-nuri {
2
2
  display: flex;
3
3
  justify-content: space-between;
4
- .wallet-item {
5
- flex: 1;
6
- margin-left: 10px;
7
- &:first-of-type {
8
- margin-left: 0;
9
- }
10
- .item-head {
11
- display: flex;
12
- align-items: center;
13
- .group-name {
14
- margin-left: 4px;
15
- }
16
- .tip {
17
- margin-left: 6px;
18
- width: 14px;
19
- }
20
- }
21
- }
22
-
23
- }
4
+ }
5
+ .m-wallet-nuri .wallet-item {
6
+ flex: 1;
7
+ margin-left: 0.2rem;
8
+ }
9
+ .m-wallet-nuri .wallet-item:first-of-type {
10
+ margin-left: 0;
11
+ }
12
+ .m-wallet-nuri .wallet-item .item-head {
13
+ display: flex;
14
+ align-items: center;
15
+ }
16
+ .m-wallet-nuri .wallet-item .item-head .group-name {
17
+ margin-left: 0.08rem;
18
+ }
19
+ .m-wallet-nuri .wallet-item .item-head .tip {
20
+ margin-left: 0.12rem;
21
+ width: 0.28rem;
22
+ }
@@ -1,114 +1,84 @@
1
1
  .m-recommend-mobile {
2
2
  display: flex;
3
3
  flex-direction: column;
4
-
5
- .cylon-tabs-nav-operations {
6
- display: none !important;
7
- }
8
-
9
- ::-webkit-scrollbar {
10
- width: 0;
11
- height: 0;
12
- display: none;
13
- }
14
-
15
-
16
- .tab-select-wrap {
17
- display: flex;
18
- align-items: center;
19
- height: 50px;
20
- background: rgb(255 255 255);
21
- overflow: auto;
22
- position: relative;
23
- margin-bottom: 15px;
24
-
25
- .tabTitle {
26
- display: flex;
27
- align-items: center;
28
- text-align: center;
29
- padding: 0 16px;
30
- width: fit-content;
31
- height: 100%;
32
- justify-content: center;
33
- white-space: nowrap;
34
- flex-direction: column;
35
-
36
- img {
37
- height: 20px;
38
- width: 20px;
39
- margin-bottom: 2px;
40
- }
41
- }
42
-
43
- .active-line {
44
- position: absolute;
45
- bottom: 0;
46
- width: 200px;
47
- height: 3px;
48
- background-color: #fff;
49
- transition: .2s all linear;
50
- border-radius: 1.5px;
51
- }
52
- }
53
-
54
- .macyContainer {
55
- display: flex;
56
- margin: 0 16px;
57
- }
58
-
59
- .scrollContainer {
60
- display: flex;
61
- flex-direction: row;
62
- align-items: center;
63
- margin: 0 16px;
64
- overflow-x: auto;
65
- padding-bottom: 15px;
66
-
67
- &.pl_140 {
68
- padding-left: 140px;
69
- }
70
-
71
- .scrollProductList {
72
- display: flex;
73
- flex-direction: row;
74
- align-items: flex-start;
75
-
76
- .productCard {
77
- margin-right: 12px;
78
- }
79
- }
80
-
81
- .scrollProductListRow {
82
- display: flex;
83
- flex-direction: row;
84
- align-items: flex-start;
85
-
86
- .productCardRow {
87
- margin-right: 8px;
88
-
89
- .m-product-item-wrap {
90
- // height: 100%;
91
-
92
- .contentWrap {
93
- // flex: 1;
94
- // flex-direction: column;
95
- // display: flex;
96
-
97
- .productItemContent {
98
- // margin-bottom: auto;
99
- }
100
- }
101
- }
102
- }
103
- }
104
-
105
- }
106
-
107
- .btnSeeAll {
108
- display: block;
109
- width: fit-content;
110
- min-width: 80px;
111
- margin: 0 auto;
112
- flex: none;
113
- }
114
- }
4
+ }
5
+ .m-recommend-mobile .cylon-tabs-nav-operations {
6
+ display: none !important;
7
+ }
8
+ .m-recommend-mobile ::-webkit-scrollbar {
9
+ width: 0;
10
+ height: 0;
11
+ display: none;
12
+ }
13
+ .m-recommend-mobile .tab-select-wrap {
14
+ display: flex;
15
+ align-items: center;
16
+ height: 1rem;
17
+ background: #ffffff;
18
+ overflow: auto;
19
+ position: relative;
20
+ margin-bottom: 0.3rem;
21
+ }
22
+ .m-recommend-mobile .tab-select-wrap .tabTitle {
23
+ display: flex;
24
+ align-items: center;
25
+ text-align: center;
26
+ padding: 0 0.32rem;
27
+ width: fit-content;
28
+ height: 100%;
29
+ justify-content: center;
30
+ white-space: nowrap;
31
+ flex-direction: column;
32
+ }
33
+ .m-recommend-mobile .tab-select-wrap .tabTitle img {
34
+ height: 0.4rem;
35
+ width: 0.4rem;
36
+ margin-bottom: 0.04rem;
37
+ }
38
+ .m-recommend-mobile .tab-select-wrap .active-line {
39
+ position: absolute;
40
+ bottom: 0;
41
+ width: 4rem;
42
+ height: 0.06rem;
43
+ background-color: #fff;
44
+ transition: 0.2s all linear;
45
+ border-radius: 0.03rem;
46
+ }
47
+ .m-recommend-mobile .macyContainer {
48
+ display: flex;
49
+ margin: 0 0.32rem;
50
+ }
51
+ .m-recommend-mobile .scrollContainer {
52
+ display: flex;
53
+ flex-direction: row;
54
+ align-items: center;
55
+ margin: 0 0.32rem;
56
+ overflow-x: auto;
57
+ padding-bottom: 0.3rem;
58
+ }
59
+ .m-recommend-mobile .scrollContainer.pl_140 {
60
+ padding-left: 2.8rem;
61
+ }
62
+ .m-recommend-mobile .scrollContainer .scrollProductList {
63
+ display: flex;
64
+ flex-direction: row;
65
+ align-items: flex-start;
66
+ }
67
+ .m-recommend-mobile .scrollContainer .scrollProductList .productCard {
68
+ margin-right: 0.24rem;
69
+ }
70
+ .m-recommend-mobile .scrollContainer .scrollProductListRow {
71
+ display: flex;
72
+ flex-direction: row;
73
+ align-items: flex-start;
74
+ }
75
+ .m-recommend-mobile .scrollContainer .scrollProductListRow .productCardRow {
76
+ margin-right: 0.16rem;
77
+ }
78
+ .m-recommend-mobile .btnSeeAll {
79
+ display: block;
80
+ width: fit-content;
81
+ min-width: 1.6rem;
82
+ margin: 0 auto;
83
+ flex: none;
84
+ }
@@ -79,9 +79,15 @@ function (_super) {
79
79
  onClick: function onClick() {
80
80
  return _this.onItemClick(item);
81
81
  }
82
- }, /*#__PURE__*/_react["default"].createElement("div", null, item.image.open && /*#__PURE__*/_react["default"].createElement(_components.MetaImage, {
82
+ }, /*#__PURE__*/_react["default"].createElement("div", {
83
+ className: "content-wrap",
84
+ style: {
85
+ pointerEvents: window.magicDesign.mode == 'designer' ? 'auto' : 'none'
86
+ }
87
+ }, item.image.open && /*#__PURE__*/_react["default"].createElement(_components.MetaImage, {
83
88
  className: "img",
84
89
  data: item.image,
90
+ disabled: true,
85
91
  maxWidth: "100%"
86
92
  }), item.title.open && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
87
93
  className: "title",
@@ -1,38 +1,30 @@
1
1
  .common-functions-mobile {
2
- padding: 16px 0;
3
- // padding-top: 85px;
4
- // height: calc(100vh - 318px);
2
+ padding: 0.32rem 0;
5
3
  box-sizing: border-box;
6
4
  overflow: auto;
7
-
8
- ul {
9
- margin: 0;
10
- padding: 0;
11
-
12
- li {
13
- padding: 12px 16px;
14
- box-sizing: border-box;
15
- display: flex;
16
- justify-content: space-between;
17
- align-items: center;
18
-
19
- >div {
20
- display: flex;
21
- align-items: center;
22
-
23
- .img {
24
- width: 28px;
25
- height: 28px;
26
- margin-right: 4px;
27
- }
28
-
29
- .title {
30
- font-size: 14px;
31
- font-weight: 500;
32
- line-height: 20px;
33
- }
34
- }
35
- }
36
- }
37
-
38
- }
5
+ }
6
+ .common-functions-mobile ul {
7
+ margin: 0;
8
+ padding: 0;
9
+ }
10
+ .common-functions-mobile ul li {
11
+ padding: 0.24rem 0.32rem;
12
+ box-sizing: border-box;
13
+ display: flex;
14
+ justify-content: space-between;
15
+ align-items: center;
16
+ }
17
+ .common-functions-mobile ul li .content-wrap {
18
+ display: flex;
19
+ align-items: center;
20
+ }
21
+ .common-functions-mobile ul li .content-wrap .img {
22
+ width: 0.56rem;
23
+ height: 0.56rem;
24
+ margin-right: 0.08rem;
25
+ }
26
+ .common-functions-mobile ul li .content-wrap .title {
27
+ font-size: 0.28rem;
28
+ font-weight: 500;
29
+ line-height: 0.4rem;
30
+ }