@fonixtree/magic-design 1.0.68 → 1.0.70
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/es/composite-comp/bol/components/Banner/mobile/index.less +78 -52
- package/es/composite-comp/bol/components/Carousel/mobile/index.less +100 -81
- package/es/composite-comp/bol/components/ImageGallery/mobile/index.less +22 -15
- package/es/composite-comp/bol/components/ImageText/mobile/index.less +292 -233
- package/es/composite-comp/bol/components/Video/mobile/Layout1/index.less +27 -21
- package/es/composite-comp/bol/components/Video/mobile/Layout2/index.less +45 -36
- package/es/composite-comp/bol/components/Video/mobile/Layout3/index.less +54 -43
- package/es/composite-comp/bol/components/Video/mobile/index.less +3 -2
- package/es/composite-comp/bol/components/Wallet/mobile/index.less +130 -103
- package/es/composite-comp/bol/components/WalletNuri/mobile/index.less +20 -19
- package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +111 -81
- package/es/composite-comp/dito/components/CommonFunctions/mobile/index.less +35 -27
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +97 -83
- package/es/composite-comp/dito/components/HeadNavigation/mobile/index.less +34 -32
- package/es/composite-comp/dito/components/MenuNavigation/mobile/index.less +4 -4
- package/es/composite-comp/dito/components/MobileNavigation/mobile/index.less +35 -18
- package/es/composite-comp/dito/components/Orders/mobile/index.less +92 -81
- package/es/composite-comp/dito/components/PersonalInformation/mobile/index.less +155 -131
- package/es/composite-comp/dito/components/Recommend/mobile/index.less +86 -73
- package/es/composite-comp/dito/components/SearchBar/mobile/index.less +52 -45
- package/es/composite-comp/dito/components/SignBoard/mobile/index.less +66 -62
- package/es/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.js +0 -2
- package/es/core/Renderer/index.js +3 -1
- package/es/utils/commonUtil.js +3 -12
- package/lib/composite-comp/bol/components/Banner/mobile/index.less +78 -52
- package/lib/composite-comp/bol/components/Carousel/mobile/index.less +100 -81
- package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +22 -15
- package/lib/composite-comp/bol/components/ImageText/mobile/index.less +292 -233
- package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +27 -21
- package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +45 -36
- package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +54 -43
- package/lib/composite-comp/bol/components/Video/mobile/index.less +3 -2
- package/lib/composite-comp/bol/components/Wallet/mobile/index.less +130 -103
- package/lib/composite-comp/bol/components/WalletNuri/mobile/index.less +20 -19
- package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +111 -81
- package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.less +35 -27
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +97 -83
- package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.less +34 -32
- package/lib/composite-comp/dito/components/MenuNavigation/mobile/index.less +4 -4
- package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +35 -18
- package/lib/composite-comp/dito/components/Orders/mobile/index.less +92 -81
- package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.less +155 -131
- package/lib/composite-comp/dito/components/Recommend/mobile/index.less +86 -73
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +52 -45
- package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +66 -62
- package/lib/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.js +0 -2
- package/lib/core/Renderer/index.js +3 -1
- package/lib/utils/commonUtil.js +3 -12
- package/package.json +1 -1
- package/es/assets/fonts/.DS_Store +0 -0
- package/es/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.less +0 -0
- package/lib/assets/fonts/.DS_Store +0 -0
- package/lib/composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig/index.less +0 -0
|
@@ -1,64 +1,68 @@
|
|
|
1
1
|
.m-sign-board-bar {
|
|
2
2
|
width: 100%;
|
|
3
|
-
|
|
4
|
-
.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
.
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
52
|
-
.
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
3
|
+
|
|
4
|
+
.search {
|
|
5
|
+
width: 100%;
|
|
6
|
+
background: #EEEEEE;
|
|
7
|
+
border-radius: 8px;
|
|
8
|
+
padding: 8px 12px;
|
|
9
|
+
height: 36px;
|
|
10
|
+
display: flex;
|
|
11
|
+
justify-content: space-between;
|
|
12
|
+
align-items: center;
|
|
13
|
+
margin-bottom: 4px;
|
|
14
|
+
.search-input {
|
|
15
|
+
height: 20px;
|
|
16
|
+
font-weight: 400;
|
|
17
|
+
font-size: 16px;
|
|
18
|
+
line-height: 20px;
|
|
19
|
+
padding: 0;
|
|
20
|
+
background-color: transparent;
|
|
21
|
+
border: none;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.store-info-wrap {
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
margin-top: 20px;
|
|
29
|
+
.number {
|
|
30
|
+
font-family: 'Montserrat';
|
|
31
|
+
font-weight: 400;
|
|
32
|
+
font-size: 12px;
|
|
33
|
+
line-height: 16px;
|
|
34
|
+
color: #696973;
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
&> img {
|
|
38
|
+
width: 14px;
|
|
39
|
+
}
|
|
40
|
+
&> span {
|
|
41
|
+
font-weight: 700;
|
|
42
|
+
font-size: 14px;
|
|
43
|
+
line-height: 18px;
|
|
44
|
+
color: #333333;
|
|
45
|
+
margin: 0 4px;
|
|
46
|
+
}
|
|
47
|
+
&:nth-child(2) {
|
|
48
|
+
margin-left: 24px;
|
|
49
|
+
flex: 1;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
.chat-btn {
|
|
53
|
+
padding: 5px 12px;
|
|
54
|
+
// height: 26px;
|
|
55
|
+
background: #FFFFFF;
|
|
56
|
+
border: 1px solid #333333;
|
|
57
|
+
border-radius: 4px;
|
|
58
|
+
width: fit-content;
|
|
59
|
+
font-family: 'Montserrat';
|
|
60
|
+
font-weight: 400;
|
|
61
|
+
font-size: 12px;
|
|
62
|
+
line-height: 16px;
|
|
63
|
+
text-transform: uppercase;
|
|
64
|
+
color: #333333;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
}
|
|
@@ -17,8 +17,6 @@ var _coreUtil = require("../../../../utils/coreUtil");
|
|
|
17
17
|
|
|
18
18
|
var _locale = require("../../../../locale");
|
|
19
19
|
|
|
20
|
-
require("./index.less");
|
|
21
|
-
|
|
22
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
23
21
|
|
|
24
22
|
var __extends = void 0 && (void 0).__extends || function () {
|
package/es/utils/commonUtil.js
CHANGED
|
@@ -296,29 +296,20 @@ function commonFetch(url, data, method) {
|
|
|
296
296
|
});
|
|
297
297
|
}
|
|
298
298
|
|
|
299
|
-
var navigateTo = function navigateTo(url
|
|
300
|
-
console.log(url);
|
|
301
|
-
|
|
299
|
+
var navigateTo = function navigateTo(url) {
|
|
302
300
|
if (!url) {
|
|
303
301
|
return;
|
|
304
302
|
}
|
|
305
303
|
|
|
306
304
|
var _a = url.split(';'),
|
|
307
305
|
h5Url = _a[0],
|
|
308
|
-
appUrl = _a[1];
|
|
309
|
-
|
|
310
|
-
if (appUrl && (0, _androidUtil.browserVersion)().isApp) {
|
|
311
|
-
window.location.href = appUrl;
|
|
312
|
-
} // 未配置App路径并且h5绝对路径时直接跳转,其他情况让业务层处理
|
|
306
|
+
appUrl = _a[1]; // 未配置App路径并且h5绝对路径时直接跳转,其他情况让业务层处理
|
|
313
307
|
|
|
314
308
|
|
|
315
309
|
if (!appUrl && !h5Url.startsWith('/')) {
|
|
316
310
|
window.location.href = h5Url;
|
|
317
311
|
} else if (window.magicDesign.history) {
|
|
318
|
-
window.magicDesign.history.push(
|
|
319
|
-
pathname: h5Url,
|
|
320
|
-
state: state
|
|
321
|
-
});
|
|
312
|
+
window.magicDesign.history.push(url);
|
|
322
313
|
} else if (window.magicDesign.navigatePreUrl) {
|
|
323
314
|
// 预览模式跳转
|
|
324
315
|
if (h5Url.startsWith('/')) {
|
|
@@ -1,54 +1,80 @@
|
|
|
1
1
|
.m-banner-mobile {
|
|
2
2
|
position: relative;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
.
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
.
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
3
|
+
// .turnPage {
|
|
4
|
+
// position: absolute;
|
|
5
|
+
// top: 50%;
|
|
6
|
+
// transform: translateY(-50%);
|
|
7
|
+
// z-index: 3;
|
|
8
|
+
// cursor: pointer;
|
|
9
|
+
// }
|
|
10
|
+
// .leftBtn {
|
|
11
|
+
// left: 20px;
|
|
12
|
+
// }
|
|
13
|
+
// .rightBtn {
|
|
14
|
+
// right: 20px;
|
|
15
|
+
// }
|
|
16
|
+
|
|
17
|
+
.cylon-carousel {
|
|
18
|
+
.slick-track {
|
|
19
|
+
display: flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.carouselItem {
|
|
25
|
+
// height: 386px;
|
|
26
|
+
position: relative;
|
|
27
|
+
display: flex;
|
|
28
|
+
|
|
29
|
+
.carouseContent {
|
|
30
|
+
padding: 0 28px;
|
|
31
|
+
position: absolute;
|
|
32
|
+
z-index: 2;
|
|
33
|
+
display: flex;
|
|
34
|
+
flex-direction: column;
|
|
35
|
+
margin-bottom: auto;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.title {
|
|
39
|
+
margin-bottom: 8px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.sub-title {
|
|
43
|
+
margin-bottom: 20px;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.btn-wrap {
|
|
47
|
+
display: flex;
|
|
48
|
+
align-items: center;
|
|
49
|
+
justify-content: flex-start;
|
|
50
|
+
|
|
51
|
+
.btn {
|
|
52
|
+
margin-right: 12px;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.swiper-ban {
|
|
58
|
+
position: absolute;
|
|
59
|
+
width: 100%;
|
|
60
|
+
bottom: 10px;
|
|
61
|
+
display: flex;
|
|
62
|
+
align-items: center;
|
|
63
|
+
justify-content: center;
|
|
64
|
+
|
|
65
|
+
.ban {
|
|
66
|
+
font-size: 16px;
|
|
67
|
+
width: 1.5em;
|
|
68
|
+
height: 0.3em;
|
|
69
|
+
background: #FFF;
|
|
70
|
+
cursor: inherit;
|
|
71
|
+
margin-right: 0.3em;
|
|
72
|
+
transition: all .5s;
|
|
73
|
+
|
|
74
|
+
&.active {
|
|
75
|
+
width: 1.5em;
|
|
76
|
+
opacity: 1;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
@@ -1,84 +1,103 @@
|
|
|
1
1
|
.m-carousel-mobile {
|
|
2
2
|
position: relative;
|
|
3
3
|
width: 100%;
|
|
4
|
-
|
|
5
|
-
.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
.
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
4
|
+
|
|
5
|
+
.content {
|
|
6
|
+
display: flex;
|
|
7
|
+
margin: 0 auto;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.slider-wrap {
|
|
11
|
+
width: 100%;
|
|
12
|
+
margin: 0 auto;
|
|
13
|
+
line-height: 1;
|
|
14
|
+
|
|
15
|
+
.slick-list {
|
|
16
|
+
// margin-left: -11px;
|
|
17
|
+
// margin-right: -11px;
|
|
18
|
+
padding: 0;
|
|
19
|
+
|
|
20
|
+
&:hover {
|
|
21
|
+
padding-top: 100px;
|
|
22
|
+
margin-top: -100px;
|
|
23
|
+
padding-bottom: 100px;
|
|
24
|
+
margin-bottom: -100px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.slick-track {
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
gap: 12px;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.img-wrap {
|
|
35
|
+
.img {
|
|
36
|
+
width: fit-content;
|
|
37
|
+
height: fit-content;
|
|
38
|
+
display: block;
|
|
39
|
+
margin: 0 auto;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.title {
|
|
43
|
+
display: flex;
|
|
44
|
+
justify-content: center;
|
|
45
|
+
margin-top: 12px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.text {
|
|
49
|
+
display: flex;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
margin-top: 6px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.tags {
|
|
55
|
+
margin-top: 8px;
|
|
56
|
+
margin-bottom: 12px;
|
|
57
|
+
display: flex;
|
|
58
|
+
flex-direction: row;
|
|
59
|
+
align-items: center;
|
|
60
|
+
justify-content: center;
|
|
61
|
+
|
|
62
|
+
>div {
|
|
63
|
+
margin-right: 8px;
|
|
64
|
+
|
|
65
|
+
&:last-child {
|
|
66
|
+
margin-right: 0;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.swiper-ban {
|
|
74
|
+
position: absolute;
|
|
75
|
+
width: 100%;
|
|
76
|
+
bottom: 6px;
|
|
77
|
+
display: flex;
|
|
78
|
+
align-items: center;
|
|
79
|
+
justify-content: center;
|
|
80
|
+
|
|
81
|
+
.ban {
|
|
82
|
+
font-size: 8px;
|
|
83
|
+
width: 1em;
|
|
84
|
+
height: 1em;
|
|
85
|
+
border-radius: 50%;
|
|
86
|
+
background: #FFF;
|
|
87
|
+
cursor: inherit;
|
|
88
|
+
margin-right: 10px;
|
|
89
|
+
transition: all .5s;
|
|
90
|
+
|
|
91
|
+
&:last-child {
|
|
92
|
+
margin-right: 0;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&.active {
|
|
96
|
+
width: 2em;
|
|
97
|
+
height: 1em;
|
|
98
|
+
border-radius: 100px;
|
|
99
|
+
opacity: 1;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
@@ -1,15 +1,22 @@
|
|
|
1
|
-
.m-image-gallery-mobile
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
.m-image-gallery-mobile {
|
|
2
|
+
.content {
|
|
3
|
+
.line {
|
|
4
|
+
margin-bottom: 12px;
|
|
5
|
+
|
|
6
|
+
&.isHorizontal {
|
|
7
|
+
display: flex;
|
|
8
|
+
justify-content: flex-start;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&:last-child {
|
|
12
|
+
margin-bottom: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.img-wrap {
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|