@fonixtree/magic-design 2.0.166 → 2.0.170
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/assets/fonts/.DS_Store +0 -0
- package/es/assets/images/layout-icon/banner-slide-layout1.png +0 -0
- package/es/assets/images/layout-icon/banner-slide-layout2.png +0 -0
- package/es/assets/images/layout-icon/bundleLayout1.png +0 -0
- package/es/assets/images/layout-icon/center.png +0 -0
- package/es/assets/images/layout-icon/imageGalleryLayout2.png +0 -0
- package/es/assets/images/layout-icon/interestLayout1.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-m1-1.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-m1-2.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-m1-3.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-m2.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-m3.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-p1.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-p2.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-p3.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-p4.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-p5.png +0 -0
- package/es/assets/images/layout-icon/layout-recommend-2.png +0 -0
- package/es/assets/images/layout-icon/layout-recommend-3.png +0 -0
- package/es/assets/images/layout-icon/layout-recommend-4.png +0 -0
- package/es/assets/images/layout-icon/layout-recommend-5.png +0 -0
- package/es/assets/images/layout-icon/layout-recommend-mobile-1.png +0 -0
- package/es/assets/images/layout-icon/layout-recommend-mobile-2.png +0 -0
- package/es/assets/images/layout-icon/layout-recommend-mobile-3.png +0 -0
- package/es/assets/images/layout-icon/layout-recommend-mobile-4.png +0 -0
- package/es/assets/images/layout-icon/layout-search.png +0 -0
- package/es/assets/images/layout-icon/left.png +0 -0
- package/es/assets/images/layout-icon/locationLayout.png +0 -0
- package/es/assets/images/layout-icon/merchantSalesLayout1.png +0 -0
- package/es/assets/images/layout-icon/monpaySignBoardLayout1.png +0 -0
- package/es/assets/images/layout-icon/right.png +0 -0
- package/es/assets/images/layout-icon/textLayout1.png +0 -0
- package/es/common/LayoutSelector/index.js +3 -21
- package/es/composite-comp/bol/components/ImageGallery/mobile/index.less +3 -0
- package/es/composite-comp/bol/config-panels/ButtonCompConfig/index.js +3 -13
- package/es/composite-comp/bol/config-panels/TagCompConfig/index.js +3 -7
- package/es/composite-comp/bol/config-panels/TextCompConfig/index.js +3 -7
- package/es/composite-comp/dito/config-panels/BargainConfig/index.js +3 -7
- package/es/composite-comp/dito/config-panels/GroupBuyConfig/index.js +3 -7
- package/es/composite-comp/monpay/components/MonpayFlashDeal/index.js +1 -5
- package/es/composite-comp/monpay/components/MonpayRecommend/index.js +1 -5
- package/es/composite-comp/monpay/config-panels/BundleConfig/index.js +3 -7
- package/es/composite-comp/monpay/config-panels/InterestProductsConfig/index.js +3 -7
- package/es/composite-comp/monpay/config-panels/MerchantSalesConfig/index.js +3 -7
- package/es/composite-comp/monpay/config-panels/MonpayFlashDealConfig/index.js +3 -7
- package/es/constants/layout.js +109 -14
- package/es/utils/businessUtil.js +37 -9
- package/lib/assets/fonts/.DS_Store +0 -0
- package/lib/assets/images/layout-icon/banner-slide-layout1.png +0 -0
- package/lib/assets/images/layout-icon/banner-slide-layout2.png +0 -0
- package/lib/assets/images/layout-icon/bundleLayout1.png +0 -0
- package/lib/assets/images/layout-icon/center.png +0 -0
- package/lib/assets/images/layout-icon/imageGalleryLayout2.png +0 -0
- package/lib/assets/images/layout-icon/interestLayout1.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-m1-1.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-m1-2.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-m1-3.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-m2.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-m3.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-p1.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-p2.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-p3.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-p4.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-p5.png +0 -0
- package/lib/assets/images/layout-icon/layout-recommend-2.png +0 -0
- package/lib/assets/images/layout-icon/layout-recommend-3.png +0 -0
- package/lib/assets/images/layout-icon/layout-recommend-4.png +0 -0
- package/lib/assets/images/layout-icon/layout-recommend-5.png +0 -0
- package/lib/assets/images/layout-icon/layout-recommend-mobile-1.png +0 -0
- package/lib/assets/images/layout-icon/layout-recommend-mobile-2.png +0 -0
- package/lib/assets/images/layout-icon/layout-recommend-mobile-3.png +0 -0
- package/lib/assets/images/layout-icon/layout-recommend-mobile-4.png +0 -0
- package/lib/assets/images/layout-icon/layout-search.png +0 -0
- package/lib/assets/images/layout-icon/left.png +0 -0
- package/lib/assets/images/layout-icon/locationLayout.png +0 -0
- package/lib/assets/images/layout-icon/merchantSalesLayout1.png +0 -0
- package/lib/assets/images/layout-icon/monpaySignBoardLayout1.png +0 -0
- package/lib/assets/images/layout-icon/right.png +0 -0
- package/lib/assets/images/layout-icon/textLayout1.png +0 -0
- package/lib/common/LayoutSelector/index.js +3 -21
- package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +3 -0
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/index.js +3 -13
- package/lib/composite-comp/bol/config-panels/TagCompConfig/index.js +3 -7
- package/lib/composite-comp/bol/config-panels/TextCompConfig/index.js +3 -7
- package/lib/composite-comp/dito/config-panels/BargainConfig/index.js +3 -7
- package/lib/composite-comp/dito/config-panels/GroupBuyConfig/index.js +3 -7
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/index.js +1 -5
- package/lib/composite-comp/monpay/components/MonpayRecommend/index.js +1 -5
- package/lib/composite-comp/monpay/config-panels/BundleConfig/index.js +3 -7
- package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/index.js +3 -7
- package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/index.js +3 -7
- package/lib/composite-comp/monpay/config-panels/MonpayFlashDealConfig/index.js +3 -7
- package/lib/constants/layout.js +109 -14
- package/lib/utils/businessUtil.js +37 -9
- package/package.json +1 -1
- package/es/assets/images/layout-icon/banner-slide-layout1.svg +0 -6
- package/es/assets/images/layout-icon/imageGalleryLayout3.png +0 -0
- package/es/assets/images/layout-icon/imageTextLeft.svg +0 -6
- package/es/assets/images/layout-icon/imageTextRight.svg +0 -6
- package/es/assets/images/layout-icon/layout-imagetext-m3-1.svg +0 -18
- package/es/assets/images/layout-icon/layout-imagetext-m3-2.svg +0 -9
- package/es/common/LayoutSelector/imgs/center.png +0 -0
- package/es/common/LayoutSelector/imgs/left.png +0 -0
- package/es/common/LayoutSelector/imgs/right.png +0 -0
- package/es/composite-comp/bol/config-panels/ButtonCompConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/config-panels/TagCompConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/config-panels/TextCompConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/config-panels/TextCompConfig/imgs/layout1.png +0 -0
- package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg.png +0 -0
- package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg1.png +0 -0
- package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg2.png +0 -0
- package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg3.png +0 -0
- package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/index.js +0 -584
- package/es/composite-comp/monpay/components/MonpayFlashDeal/pc/index.less +0 -150
- package/es/composite-comp/monpay/components/MonpayRecommend/pc/imgs/card.png +0 -0
- package/es/composite-comp/monpay/components/MonpayRecommend/pc/index.js +0 -809
- package/es/composite-comp/monpay/components/MonpayRecommend/pc/index.less +0 -129
- package/es/composite-comp/monpay/config-panels/BundleConfig/imgs/layout.png +0 -0
- package/es/composite-comp/monpay/config-panels/InterestProductsConfig/imgs/layout.png +0 -0
- package/es/composite-comp/monpay/config-panels/MerchantSalesConfig/imgs/layout.png +0 -0
- package/lib/assets/images/layout-icon/banner-slide-layout1.svg +0 -6
- package/lib/assets/images/layout-icon/imageGalleryLayout3.png +0 -0
- package/lib/assets/images/layout-icon/imageTextLeft.svg +0 -6
- package/lib/assets/images/layout-icon/imageTextRight.svg +0 -6
- package/lib/assets/images/layout-icon/layout-imagetext-m3-1.svg +0 -18
- package/lib/assets/images/layout-icon/layout-imagetext-m3-2.svg +0 -9
- package/lib/common/LayoutSelector/imgs/center.png +0 -0
- package/lib/common/LayoutSelector/imgs/left.png +0 -0
- package/lib/common/LayoutSelector/imgs/right.png +0 -0
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/layout2.png +0 -0
- package/lib/composite-comp/bol/config-panels/TextCompConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/TextCompConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg1.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg2.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/imgs/defImg3.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/index.js +0 -584
- package/lib/composite-comp/monpay/components/MonpayFlashDeal/pc/index.less +0 -150
- package/lib/composite-comp/monpay/components/MonpayRecommend/pc/imgs/card.png +0 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/pc/index.js +0 -809
- package/lib/composite-comp/monpay/components/MonpayRecommend/pc/index.less +0 -129
- package/lib/composite-comp/monpay/config-panels/BundleConfig/imgs/layout.png +0 -0
- package/lib/composite-comp/monpay/config-panels/InterestProductsConfig/imgs/layout.png +0 -0
- package/lib/composite-comp/monpay/config-panels/MerchantSalesConfig/imgs/layout.png +0 -0
- /package/es/{composite-comp/dito/config-panels/BargainConfig/imgs/layout1.png → assets/images/layout-icon/bargainLayout1.png} +0 -0
- /package/es/{composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout1.png → assets/images/layout-icon/buttonLayout1.png} +0 -0
- /package/es/{composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout2.png → assets/images/layout-icon/buttonLayout2.png} +0 -0
- /package/es/{composite-comp/dito/config-panels/GroupBuyConfig/imgs/layout1.png → assets/images/layout-icon/groupBuyLayout1.png} +0 -0
- /package/es/{composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png → assets/images/layout-icon/tagLayout1.png} +0 -0
- /package/es/composite-comp/{monpay/config-panels/MonpayFlashDealConfig/imgs/layout1.png → dito/config-panels/GroupBuyConfig/imgs/groupBuyLayout1.png} +0 -0
- /package/lib/{composite-comp/dito/config-panels/BargainConfig/imgs/layout1.png → assets/images/layout-icon/bargainLayout1.png} +0 -0
- /package/{es/composite-comp/bol/config-panels/TagCompConfig/imgs/layout2.png → lib/assets/images/layout-icon/buttonLayout1.png} +0 -0
- /package/lib/{composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout2.png → assets/images/layout-icon/buttonLayout2.png} +0 -0
- /package/lib/{composite-comp/dito/config-panels/GroupBuyConfig/imgs/layout1.png → assets/images/layout-icon/groupBuyLayout1.png} +0 -0
- /package/lib/{composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png → assets/images/layout-icon/tagLayout1.png} +0 -0
- /package/lib/composite-comp/{monpay/config-panels/MonpayFlashDealConfig/imgs/layout1.png → dito/config-panels/GroupBuyConfig/imgs/groupBuyLayout1.png} +0 -0
package/lib/constants/layout.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.videoPCLayout = exports.videoH5Layout = exports.searchLayout = exports.recommendLayoutPc = exports.recommendLayoutMobile = exports.pcNavigationLayout = exports.newsletterLayout = exports.monpaySignBoardLayout = exports.monpayRecommendLayoutMobile = exports.mobileNavigationLayout = exports.locationLayout = exports.imageTextLayoutPc = exports.imageTextLayoutMobile = exports.imageGalleryLayout = exports.flashDealLayout = exports.dividerLayout = exports.carouselLayout = exports.bannerSlideLayout = exports.affiliateLayoutPc = exports.affiliateLayoutMobile = exports.WalletNuriLayout = exports.WalletLayout = void 0;
|
|
6
|
+
exports.videoPCLayout = exports.videoH5Layout = exports.textLayout = exports.tagLayout = exports.searchLayout = exports.recommendLayoutPc = exports.recommendLayoutMobile = exports.pcNavigationLayout = exports.newsletterLayout = exports.monpaySignBoardLayout = exports.monpayRecommendLayoutMobile = exports.monpayFlashDealLayout = exports.mobileNavigationLayout = exports.merchantSalesLayout = exports.locationLayout = exports.interestLayout = exports.imageTextLayoutPc = exports.imageTextLayoutMobile = exports.imageGalleryLayout = exports.groupBuyLayout = exports.flashDealLayout = exports.dividerLayout = exports.defaultLayout = exports.carouselLayout = exports.buttonLayout = exports.bundleLayout = exports.bargainLayout = exports.bannerSlideLayout = exports.affiliateLayoutPc = exports.affiliateLayoutMobile = exports.WalletNuriLayout = exports.WalletLayout = void 0;
|
|
7
7
|
|
|
8
8
|
var _dividerLayout = _interopRequireDefault(require("../assets/images/layout-icon/dividerLayout.svg"));
|
|
9
9
|
|
|
@@ -29,21 +29,21 @@ var _layoutImagetextM4 = _interopRequireDefault(require("../assets/images/layout
|
|
|
29
29
|
|
|
30
30
|
var _layoutImagetextM5 = _interopRequireDefault(require("../assets/images/layout-icon/layout-imagetext-m3.png"));
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _layoutImagetextP = _interopRequireDefault(require("../assets/images/layout-icon/layout-imagetext-p1.png"));
|
|
33
33
|
|
|
34
|
-
var
|
|
34
|
+
var _layoutImagetextP2 = _interopRequireDefault(require("../assets/images/layout-icon/layout-imagetext-p2.png"));
|
|
35
35
|
|
|
36
|
-
var
|
|
36
|
+
var _layoutImagetextP3 = _interopRequireDefault(require("../assets/images/layout-icon/layout-imagetext-p3.png"));
|
|
37
37
|
|
|
38
|
-
var
|
|
38
|
+
var _layoutImagetextP4 = _interopRequireDefault(require("../assets/images/layout-icon/layout-imagetext-p4.png"));
|
|
39
39
|
|
|
40
|
-
var
|
|
40
|
+
var _layoutImagetextP5 = _interopRequireDefault(require("../assets/images/layout-icon/layout-imagetext-p5.png"));
|
|
41
41
|
|
|
42
|
-
var
|
|
42
|
+
var _carouselLayout = _interopRequireDefault(require("../assets/images/layout-icon/carouselLayout1.png"));
|
|
43
43
|
|
|
44
|
-
var
|
|
44
|
+
var _carouselLayout2 = _interopRequireDefault(require("../assets/images/layout-icon/carouselLayout2.png"));
|
|
45
45
|
|
|
46
|
-
var
|
|
46
|
+
var _carouselLayout3 = _interopRequireDefault(require("../assets/images/layout-icon/carouselLayout3.png"));
|
|
47
47
|
|
|
48
48
|
var _newsletter = _interopRequireDefault(require("../assets/images/layout-icon/newsletter.svg"));
|
|
49
49
|
|
|
@@ -97,9 +97,46 @@ var _bannerSlideLayout2 = _interopRequireDefault(require("../assets/images/layou
|
|
|
97
97
|
|
|
98
98
|
var _flashDealLayout = _interopRequireDefault(require("../assets/images/layout-icon/flash-deal-layout1.png"));
|
|
99
99
|
|
|
100
|
+
var _buttonLayout = _interopRequireDefault(require("../assets/images/layout-icon/buttonLayout1.png"));
|
|
101
|
+
|
|
102
|
+
var _buttonLayout2 = _interopRequireDefault(require("../assets/images/layout-icon/buttonLayout2.png"));
|
|
103
|
+
|
|
104
|
+
var _tagLayout = _interopRequireDefault(require("../assets/images/layout-icon/tagLayout1.png"));
|
|
105
|
+
|
|
106
|
+
var _textLayout = _interopRequireDefault(require("../assets/images/layout-icon/textLayout1.png"));
|
|
107
|
+
|
|
108
|
+
var _bargainLayout = _interopRequireDefault(require("../assets/images/layout-icon/bargainLayout1.png"));
|
|
109
|
+
|
|
110
|
+
var _groupBuyLayout = _interopRequireDefault(require("../assets/images/layout-icon/groupBuyLayout1.png"));
|
|
111
|
+
|
|
112
|
+
var _bundleLayout = _interopRequireDefault(require("../assets/images/layout-icon/bundleLayout1.png"));
|
|
113
|
+
|
|
114
|
+
var _interestLayout = _interopRequireDefault(require("../assets/images/layout-icon/interestLayout1.png"));
|
|
115
|
+
|
|
116
|
+
var _merchantSalesLayout = _interopRequireDefault(require("../assets/images/layout-icon/merchantSalesLayout1.png"));
|
|
117
|
+
|
|
118
|
+
var _left = _interopRequireDefault(require("../assets/images/layout-icon/left.png"));
|
|
119
|
+
|
|
120
|
+
var _center = _interopRequireDefault(require("../assets/images/layout-icon/center.png"));
|
|
121
|
+
|
|
122
|
+
var _right = _interopRequireDefault(require("../assets/images/layout-icon/right.png"));
|
|
123
|
+
|
|
100
124
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
101
125
|
|
|
102
|
-
|
|
126
|
+
var defaultLayout = [{
|
|
127
|
+
id: 'layout1',
|
|
128
|
+
name: 'left',
|
|
129
|
+
image: _left["default"]
|
|
130
|
+
}, {
|
|
131
|
+
id: 'layout2',
|
|
132
|
+
name: 'center',
|
|
133
|
+
image: _center["default"]
|
|
134
|
+
}, {
|
|
135
|
+
id: 'layout3',
|
|
136
|
+
name: 'right',
|
|
137
|
+
image: _right["default"]
|
|
138
|
+
}];
|
|
139
|
+
exports.defaultLayout = defaultLayout;
|
|
103
140
|
var dividerLayout = [{
|
|
104
141
|
id: 'layout1',
|
|
105
142
|
name: 'layout1',
|
|
@@ -173,11 +210,11 @@ var imageTextLayoutPc = [{
|
|
|
173
210
|
}, {
|
|
174
211
|
id: 'layout4',
|
|
175
212
|
name: 'leftImage',
|
|
176
|
-
image:
|
|
213
|
+
image: _layoutImagetextP4["default"]
|
|
177
214
|
}, {
|
|
178
215
|
id: 'layout5',
|
|
179
216
|
name: 'rightImage',
|
|
180
|
-
image:
|
|
217
|
+
image: _layoutImagetextP5["default"]
|
|
181
218
|
}];
|
|
182
219
|
exports.imageTextLayoutPc = imageTextLayoutPc;
|
|
183
220
|
var imageTextLayoutMobile = [{
|
|
@@ -369,6 +406,64 @@ var flashDealLayout = [{
|
|
|
369
406
|
}, {
|
|
370
407
|
id: 'layout2',
|
|
371
408
|
name: 'layout2',
|
|
372
|
-
image:
|
|
409
|
+
image: _layoutRecommendMobile2["default"]
|
|
410
|
+
}];
|
|
411
|
+
exports.flashDealLayout = flashDealLayout;
|
|
412
|
+
var monpayFlashDealLayout = [{
|
|
413
|
+
id: 'layout1',
|
|
414
|
+
name: 'layout1',
|
|
415
|
+
image: _flashDealLayout["default"]
|
|
416
|
+
}];
|
|
417
|
+
exports.monpayFlashDealLayout = monpayFlashDealLayout;
|
|
418
|
+
var buttonLayout = [{
|
|
419
|
+
id: 'layout1',
|
|
420
|
+
name: 'layout1',
|
|
421
|
+
image: _buttonLayout["default"]
|
|
422
|
+
}, {
|
|
423
|
+
id: 'layout2',
|
|
424
|
+
name: 'layout2',
|
|
425
|
+
image: _buttonLayout2["default"]
|
|
426
|
+
}];
|
|
427
|
+
exports.buttonLayout = buttonLayout;
|
|
428
|
+
var tagLayout = [{
|
|
429
|
+
id: 'layout1',
|
|
430
|
+
name: 'layout1',
|
|
431
|
+
image: _tagLayout["default"]
|
|
432
|
+
}];
|
|
433
|
+
exports.tagLayout = tagLayout;
|
|
434
|
+
var textLayout = [{
|
|
435
|
+
id: 'layout1',
|
|
436
|
+
name: 'left',
|
|
437
|
+
image: _textLayout["default"]
|
|
438
|
+
}];
|
|
439
|
+
exports.textLayout = textLayout;
|
|
440
|
+
var bargainLayout = [{
|
|
441
|
+
id: 'layout1',
|
|
442
|
+
name: 'layout1',
|
|
443
|
+
image: _bargainLayout["default"]
|
|
444
|
+
}];
|
|
445
|
+
exports.bargainLayout = bargainLayout;
|
|
446
|
+
var groupBuyLayout = [{
|
|
447
|
+
id: 'layout1',
|
|
448
|
+
name: 'layout1',
|
|
449
|
+
image: _groupBuyLayout["default"]
|
|
450
|
+
}];
|
|
451
|
+
exports.groupBuyLayout = groupBuyLayout;
|
|
452
|
+
var bundleLayout = [{
|
|
453
|
+
id: 'layout1',
|
|
454
|
+
name: 'layout1',
|
|
455
|
+
image: _bundleLayout["default"]
|
|
456
|
+
}];
|
|
457
|
+
exports.bundleLayout = bundleLayout;
|
|
458
|
+
var interestLayout = [{
|
|
459
|
+
id: 'layout1',
|
|
460
|
+
name: 'layout1',
|
|
461
|
+
image: _interestLayout["default"]
|
|
462
|
+
}];
|
|
463
|
+
exports.interestLayout = interestLayout;
|
|
464
|
+
var merchantSalesLayout = [{
|
|
465
|
+
id: 'layout1',
|
|
466
|
+
name: 'layout1',
|
|
467
|
+
image: _merchantSalesLayout["default"]
|
|
373
468
|
}];
|
|
374
|
-
exports.
|
|
469
|
+
exports.merchantSalesLayout = merchantSalesLayout;
|
|
@@ -284,16 +284,43 @@ var newParseUrl = function newParseUrl(urlObj) {
|
|
|
284
284
|
'/social-commerce/my-cashback': 'CASHBACK',
|
|
285
285
|
'/account/wallet': 'WEBVIEW',
|
|
286
286
|
'/product/GroupBuy': 'GROUP',
|
|
287
|
-
'/search-page': 'SEARCH_PAGE'
|
|
287
|
+
'/search-page': 'SEARCH_PAGE',
|
|
288
|
+
'/commission': 'COMMISSION'
|
|
288
289
|
};
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
290
|
+
var typeTemp = map[link];
|
|
291
|
+
|
|
292
|
+
if (!typeTemp) {
|
|
293
|
+
if (type === _constants.urlTypeMap.FUNCTION_PAGE) {
|
|
294
|
+
params = {
|
|
295
|
+
action: 'jump',
|
|
296
|
+
params: {
|
|
297
|
+
type: 'WEBVIEW',
|
|
298
|
+
link: link,
|
|
299
|
+
url: link
|
|
300
|
+
}
|
|
301
|
+
};
|
|
302
|
+
} else if (!type) {
|
|
303
|
+
// 直接填的完整外链
|
|
304
|
+
params = {
|
|
305
|
+
action: 'jump',
|
|
306
|
+
params: {
|
|
307
|
+
type: 'NAVIGATE',
|
|
308
|
+
link: link,
|
|
309
|
+
url: link
|
|
310
|
+
}
|
|
311
|
+
};
|
|
295
312
|
}
|
|
296
|
-
}
|
|
313
|
+
} else {
|
|
314
|
+
params = {
|
|
315
|
+
action: 'jump',
|
|
316
|
+
params: {
|
|
317
|
+
type: typeTemp || name,
|
|
318
|
+
link: link,
|
|
319
|
+
url: link
|
|
320
|
+
}
|
|
321
|
+
};
|
|
322
|
+
}
|
|
323
|
+
|
|
297
324
|
}
|
|
298
325
|
|
|
299
326
|
return {
|
|
@@ -423,7 +450,8 @@ var parseUrl = function parseUrl(url) {
|
|
|
423
450
|
'/account/wallet': 'WEBVIEW',
|
|
424
451
|
'/product/GroupBuy': 'GROUP',
|
|
425
452
|
'/search-page': 'SEARCH_PAGE',
|
|
426
|
-
'/main/my-commission': 'WALLET'
|
|
453
|
+
'/main/my-commission': 'WALLET',
|
|
454
|
+
'/commission': 'COMMISSION'
|
|
427
455
|
};
|
|
428
456
|
link = url;
|
|
429
457
|
params = {
|
package/package.json
CHANGED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg width="96" height="72" viewBox="0 0 96 72" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect x="1" y="1" width="94" height="70" rx="8" fill="#F5F6F7" stroke="#D2D9E5"/>
|
|
3
|
-
<circle cx="48" cy="36" r="6" fill="#C1C9D7"/>
|
|
4
|
-
<circle cx="28" cy="36" r="4" fill="#E6EAF0"/>
|
|
5
|
-
<circle cx="68" cy="36" r="4" fill="#E6EAF0"/>
|
|
6
|
-
</svg>
|
|
Binary file
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg width="96" height="68" viewBox="0 0 96 68" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect x="1" y="1" width="94" height="66" rx="8" fill="#F5F6F7" stroke="#D2D9E5"/>
|
|
3
|
-
<path d="M53.0322 29H84.0322" stroke="#D2D9E5" stroke-width="4" stroke-linecap="round"/>
|
|
4
|
-
<path d="M53.0322 39H79.0322" stroke="#D2D9E5" stroke-width="4" stroke-linecap="round"/>
|
|
5
|
-
<rect x="11.0322" y="11" width="36" height="46" rx="2" fill="#D2D9E5"/>
|
|
6
|
-
</svg>
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg width="96" height="68" viewBox="0 0 96 68" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect x="1" y="1" width="94" height="66" rx="8" fill="#F5F6F7" stroke="#D2D9E5"/>
|
|
3
|
-
<path d="M11 29H42" stroke="#D2D9E5" stroke-width="4" stroke-linecap="round"/>
|
|
4
|
-
<path d="M11 39H37" stroke="#D2D9E5" stroke-width="4" stroke-linecap="round"/>
|
|
5
|
-
<rect x="48" y="11" width="36" height="46" rx="2" fill="#D2D9E5"/>
|
|
6
|
-
</svg>
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<svg width="96" height="68" viewBox="0 0 96 68" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect x="1" y="1" width="94" height="66" rx="8" fill="#F5F6F7" stroke="#D2D9E5"/>
|
|
3
|
-
<rect x="6" y="13" width="24" height="42" rx="4" fill="white"/>
|
|
4
|
-
<rect x="6" y="13" width="24" height="42" rx="4" stroke="#D2D9E5"/>
|
|
5
|
-
<rect x="9" y="20" width="18" height="12" rx="2" fill="#D2D9E5"/>
|
|
6
|
-
<path d="M11 39H23" stroke="#D2D9E5" stroke-width="4" stroke-linecap="round"/>
|
|
7
|
-
<path d="M11 46H25" stroke="#D2D9E5" stroke-width="4" stroke-linecap="round"/>
|
|
8
|
-
<rect x="36.0001" y="13" width="24" height="42" rx="4" fill="white"/>
|
|
9
|
-
<rect x="36.0001" y="13" width="24" height="42" rx="4" stroke="#D2D9E5"/>
|
|
10
|
-
<rect x="39.0001" y="20" width="18" height="12" rx="2" fill="#D2D9E5"/>
|
|
11
|
-
<path d="M41.0001 39H53.0001" stroke="#D2D9E5" stroke-width="4" stroke-linecap="round"/>
|
|
12
|
-
<path d="M41.0001 46H55.0001" stroke="#D2D9E5" stroke-width="4" stroke-linecap="round"/>
|
|
13
|
-
<rect x="66.0001" y="13" width="24" height="42" rx="4" fill="white"/>
|
|
14
|
-
<rect x="66.0001" y="13" width="24" height="42" rx="4" stroke="#D2D9E5"/>
|
|
15
|
-
<rect x="69.0001" y="20" width="18" height="12" rx="2" fill="#D2D9E5"/>
|
|
16
|
-
<path d="M71.0001 39H83.0001" stroke="#D2D9E5" stroke-width="4" stroke-linecap="round"/>
|
|
17
|
-
<path d="M71.0001 46H85.0001" stroke="#D2D9E5" stroke-width="4" stroke-linecap="round"/>
|
|
18
|
-
</svg>
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<svg width="96" height="68" viewBox="0 0 96 68" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect x="1" y="1" width="94" height="66" rx="8" fill="#F5F6F7" stroke="#D2D9E5"/>
|
|
3
|
-
<rect x="42" y="7" width="11" height="11" rx="2" fill="#C1C9D7"/>
|
|
4
|
-
<path d="M42 23H54" stroke="#C1C9D7" stroke-width="4" stroke-linecap="round"/>
|
|
5
|
-
<path d="M38 29H58" stroke="#C1C9D7" stroke-width="4" stroke-linecap="round"/>
|
|
6
|
-
<rect x="42" y="36" width="11" height="11" rx="2" fill="#C1C9D7"/>
|
|
7
|
-
<path d="M42 52H54" stroke="#C1C9D7" stroke-width="4" stroke-linecap="round"/>
|
|
8
|
-
<path d="M38 58H58" stroke="#C1C9D7" stroke-width="4" stroke-linecap="round"/>
|
|
9
|
-
</svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|