@fonixtree/magic-design 1.0.71 → 1.0.74
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.js +4 -2
- package/es/composite-comp/bol/components/Banner/mobile/index.less +52 -78
- package/es/composite-comp/bol/components/Carousel/mobile/index.less +81 -100
- package/es/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -22
- package/es/composite-comp/bol/components/ImageText/mobile/index.less +233 -292
- package/es/composite-comp/bol/components/Video/mobile/Layout1/index.less +21 -27
- package/es/composite-comp/bol/components/Video/mobile/Layout2/index.less +36 -45
- package/es/composite-comp/bol/components/Video/mobile/Layout3/index.less +43 -54
- package/es/composite-comp/bol/components/Video/mobile/index.less +2 -3
- package/es/composite-comp/bol/components/Wallet/mobile/index.less +103 -130
- package/es/composite-comp/bol/components/WalletNuri/mobile/index.less +19 -20
- package/es/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +81 -111
- package/es/composite-comp/dito/components/CommonFunctions/mobile/index.js +7 -1
- package/es/composite-comp/dito/components/CommonFunctions/mobile/index.less +27 -35
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.js +8 -1
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +83 -97
- package/es/composite-comp/dito/components/HeadNavigation/mobile/index.less +32 -34
- package/es/composite-comp/dito/components/MenuNavigation/mobile/index.less +4 -4
- package/es/composite-comp/dito/components/MobileNavigation/mobile/index.js +11 -0
- package/es/composite-comp/dito/components/MobileNavigation/mobile/index.less +18 -35
- package/es/composite-comp/dito/components/Orders/mobile/index.js +6 -1
- package/es/composite-comp/dito/components/Orders/mobile/index.less +85 -92
- package/es/composite-comp/dito/components/PersonalInformation/mobile/index.js +6 -1
- package/es/composite-comp/dito/components/PersonalInformation/mobile/index.less +133 -155
- package/es/composite-comp/dito/components/Recommend/mobile/index.js +4 -2
- package/es/composite-comp/dito/components/Recommend/mobile/index.less +73 -86
- package/es/composite-comp/dito/components/SearchBar/mobile/index.js +13 -1
- package/es/composite-comp/dito/components/SearchBar/mobile/index.less +45 -52
- package/es/composite-comp/dito/components/SignBoard/mobile/index.less +62 -66
- package/es/utils/commonUtil.js +6 -4
- package/es/utils/coreUtil.js +2 -8
- package/lib/composite-comp/bol/components/Banner/mobile/index.js +4 -2
- package/lib/composite-comp/bol/components/Banner/mobile/index.less +52 -78
- package/lib/composite-comp/bol/components/Carousel/mobile/index.less +81 -100
- package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -22
- package/lib/composite-comp/bol/components/ImageText/mobile/index.less +233 -292
- package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +21 -27
- package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +36 -45
- package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +43 -54
- package/lib/composite-comp/bol/components/Video/mobile/index.less +2 -3
- package/lib/composite-comp/bol/components/Wallet/mobile/index.less +103 -130
- package/lib/composite-comp/bol/components/WalletNuri/mobile/index.less +19 -20
- package/lib/composite-comp/dito/components/AffiliateRecommend/mobile/index.less +81 -111
- package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.js +7 -1
- package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.less +27 -35
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.js +8 -1
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +83 -97
- package/lib/composite-comp/dito/components/HeadNavigation/mobile/index.less +32 -34
- package/lib/composite-comp/dito/components/MenuNavigation/mobile/index.less +4 -4
- package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.js +11 -0
- package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +18 -35
- package/lib/composite-comp/dito/components/Orders/mobile/index.js +6 -1
- package/lib/composite-comp/dito/components/Orders/mobile/index.less +85 -92
- package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.js +6 -1
- package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.less +133 -155
- package/lib/composite-comp/dito/components/Recommend/mobile/index.js +4 -2
- package/lib/composite-comp/dito/components/Recommend/mobile/index.less +73 -86
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +13 -1
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +45 -52
- package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +62 -66
- package/lib/utils/commonUtil.js +6 -4
- package/lib/utils/coreUtil.js +2 -8
- package/package.json +1 -1
|
@@ -1,68 +1,64 @@
|
|
|
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
|
-
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
}
|
|
3
|
+
}
|
|
4
|
+
.m-sign-board-bar .search {
|
|
5
|
+
width: 100%;
|
|
6
|
+
background: #EEEEEE;
|
|
7
|
+
border-radius: 0.16rem;
|
|
8
|
+
padding: 0.16rem 0.24rem;
|
|
9
|
+
height: 0.72rem;
|
|
10
|
+
display: flex;
|
|
11
|
+
justify-content: space-between;
|
|
12
|
+
align-items: center;
|
|
13
|
+
margin-bottom: 0.08rem;
|
|
14
|
+
}
|
|
15
|
+
.m-sign-board-bar .search .search-input {
|
|
16
|
+
height: 0.4rem;
|
|
17
|
+
font-weight: 400;
|
|
18
|
+
font-size: 0.32rem;
|
|
19
|
+
line-height: 0.4rem;
|
|
20
|
+
padding: 0;
|
|
21
|
+
background-color: transparent;
|
|
22
|
+
border: none;
|
|
23
|
+
}
|
|
24
|
+
.m-sign-board-bar .store-info-wrap {
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
margin-top: 0.4rem;
|
|
28
|
+
}
|
|
29
|
+
.m-sign-board-bar .store-info-wrap .number {
|
|
30
|
+
font-family: 'Montserrat';
|
|
31
|
+
font-weight: 400;
|
|
32
|
+
font-size: 0.24rem;
|
|
33
|
+
line-height: 0.32rem;
|
|
34
|
+
color: #696973;
|
|
35
|
+
display: flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
}
|
|
38
|
+
.m-sign-board-bar .store-info-wrap .number > img {
|
|
39
|
+
width: 0.28rem;
|
|
40
|
+
}
|
|
41
|
+
.m-sign-board-bar .store-info-wrap .number > span {
|
|
42
|
+
font-weight: 700;
|
|
43
|
+
font-size: 0.28rem;
|
|
44
|
+
line-height: 0.36rem;
|
|
45
|
+
color: #333333;
|
|
46
|
+
margin: 0 0.08rem;
|
|
47
|
+
}
|
|
48
|
+
.m-sign-board-bar .store-info-wrap .number:nth-child(2) {
|
|
49
|
+
margin-left: 0.48rem;
|
|
50
|
+
flex: 1;
|
|
51
|
+
}
|
|
52
|
+
.m-sign-board-bar .store-info-wrap .chat-btn {
|
|
53
|
+
padding: 0.1rem 0.24rem;
|
|
54
|
+
background: #FFFFFF;
|
|
55
|
+
border: 0.02rem solid #333333;
|
|
56
|
+
border-radius: 0.08rem;
|
|
57
|
+
width: fit-content;
|
|
58
|
+
font-family: 'Montserrat';
|
|
59
|
+
font-weight: 400;
|
|
60
|
+
font-size: 0.24rem;
|
|
61
|
+
line-height: 0.32rem;
|
|
62
|
+
text-transform: uppercase;
|
|
63
|
+
color: #333333;
|
|
64
|
+
}
|
package/lib/utils/commonUtil.js
CHANGED
|
@@ -296,7 +296,9 @@ function commonFetch(url, data, method) {
|
|
|
296
296
|
});
|
|
297
297
|
}
|
|
298
298
|
|
|
299
|
-
var navigateTo = function navigateTo(url) {
|
|
299
|
+
var navigateTo = function navigateTo(url, state) {
|
|
300
|
+
console.log('navigateTo', url);
|
|
301
|
+
|
|
300
302
|
if (!url) {
|
|
301
303
|
return;
|
|
302
304
|
}
|
|
@@ -309,7 +311,7 @@ var navigateTo = function navigateTo(url) {
|
|
|
309
311
|
if (!appUrl && !h5Url.startsWith('/')) {
|
|
310
312
|
window.location.href = h5Url;
|
|
311
313
|
} else if (window.magicDesign.history) {
|
|
312
|
-
window.magicDesign.history.push(url);
|
|
314
|
+
window.magicDesign.history.push(url, state);
|
|
313
315
|
} else if (window.magicDesign.navigatePreUrl) {
|
|
314
316
|
// 预览模式跳转
|
|
315
317
|
if (h5Url.startsWith('/')) {
|
|
@@ -748,8 +750,8 @@ function pushGA(data, eventName) {
|
|
|
748
750
|
groupName: data.groupName,
|
|
749
751
|
elementId: data.elementId,
|
|
750
752
|
elementName: data.elementName
|
|
751
|
-
};
|
|
752
|
-
|
|
753
|
+
}; // console.log('GA push', eventName, eventData);
|
|
754
|
+
|
|
753
755
|
if (window.gtag) window.gtag('event', eventName, eventData);
|
|
754
756
|
}
|
|
755
757
|
} catch (error) {
|
package/lib/utils/coreUtil.js
CHANGED
|
@@ -302,14 +302,8 @@ var clickUrl = function clickUrl(url) {
|
|
|
302
302
|
data = _a.data;
|
|
303
303
|
|
|
304
304
|
var _b = data.params,
|
|
305
|
-
params = _b === void 0 ? {} : _b;
|
|
306
|
-
console.log(
|
|
307
|
-
console.log({
|
|
308
|
-
type: 'jumpBrowser',
|
|
309
|
-
params: {
|
|
310
|
-
url: params.link
|
|
311
|
-
}
|
|
312
|
-
});
|
|
305
|
+
params = _b === void 0 ? {} : _b; // console.log('clicked data:', data);
|
|
306
|
+
// console.log({ type: 'jumpBrowser', params: { url: params.link } });
|
|
313
307
|
|
|
314
308
|
if ((0, _androidUtil.browserVersion)().isAshitaApp) {
|
|
315
309
|
(0, _androidUtil.sendToApp)(data);
|