@fonixtree/magic-design 2.0.132 → 2.0.135
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/images/layout-icon/flash-deal-layout1.png +0 -0
- package/es/common/LinkModal/AffiliatePlatform/index.js +2 -2
- package/es/common/LinkModal/AffiliateProductTable/index.js +1 -1
- package/es/common/LinkModal/AffiliateStore/index.js +2 -2
- package/es/common/LinkModal/BundleCampaign/index.js +1 -1
- package/es/common/LinkModal/BundleCampaign/index.less +6 -3
- package/es/common/LinkModal/CatgTable/index.js +2 -2
- package/es/common/LinkModal/CouponTable/index.js +2 -2
- package/es/common/LinkModal/CustomTable/index.js +2 -2
- package/es/common/LinkModal/FilteredProductModal/index.js +1 -1
- package/es/common/LinkModal/FilteredProductModal/index.less +3 -2
- package/es/common/LinkModal/FunctionTable/index.js +2 -2
- package/es/common/LinkModal/InterestedMerchants/index.js +2 -2
- package/es/common/LinkModal/InterestedProducts/index.js +2 -2
- package/es/common/LinkModal/MerchantStory/index.js +2 -2
- package/es/common/LinkModal/MiniAppApi/index.js +1 -1
- package/es/common/LinkModal/MiniAppTable/index.js +2 -2
- package/es/common/LinkModal/MissionDetail/index.js +5 -5
- package/es/common/LinkModal/ProductDetailPage/index.js +1 -1
- package/es/common/LinkModal/ProductDetailPage/index.less +1 -1
- package/es/common/LinkModal/SelectVideoModal/index.less +2 -1
- package/es/common/LinkModal/ShareUrl/index.less +1 -1
- package/es/common/LinkModal/StoreCatgTable/index.js +2 -2
- package/es/common/LinkModal/StoreTable/index.js +2 -2
- package/es/common/LinkModal/index.js +116 -106
- package/es/common/LinkModal/index.less +35 -2
- package/es/composite-comp/common/components/ProductItem/index.js +5 -3
- package/es/composite-comp/dito/components/FlashDeal/defaultJSON.js +4 -0
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.js +17 -8
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +40 -8
- package/es/composite-comp/dito/components/GroupBuy/mobile/index.less +3 -3
- package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +20 -11
- package/es/composite-comp/dito/config-panels/FlashDealConfig/index.js +3 -7
- package/es/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +11 -11
- package/es/constants/index.js +2 -1
- package/es/constants/layout.js +14 -2
- package/es/locale/en/en.json +1 -0
- package/es/locale/es/es.json +1 -0
- package/es/locale/mn/mn.json +1 -0
- package/es/utils/businessUtil.js +13 -1
- package/lib/assets/images/layout-icon/flash-deal-layout1.png +0 -0
- package/lib/common/LinkModal/AffiliatePlatform/index.js +2 -2
- package/lib/common/LinkModal/AffiliateProductTable/index.js +1 -1
- package/lib/common/LinkModal/AffiliateStore/index.js +2 -2
- package/lib/common/LinkModal/BundleCampaign/index.js +1 -1
- package/lib/common/LinkModal/BundleCampaign/index.less +6 -3
- package/lib/common/LinkModal/CatgTable/index.js +2 -2
- package/lib/common/LinkModal/CouponTable/index.js +2 -2
- package/lib/common/LinkModal/CustomTable/index.js +2 -2
- package/lib/common/LinkModal/FilteredProductModal/index.js +1 -1
- package/lib/common/LinkModal/FilteredProductModal/index.less +3 -2
- package/lib/common/LinkModal/FunctionTable/index.js +2 -2
- package/lib/common/LinkModal/InterestedMerchants/index.js +2 -2
- package/lib/common/LinkModal/InterestedProducts/index.js +2 -2
- package/lib/common/LinkModal/MerchantStory/index.js +2 -2
- package/lib/common/LinkModal/MiniAppApi/index.js +1 -1
- package/lib/common/LinkModal/MiniAppTable/index.js +2 -2
- package/lib/common/LinkModal/MissionDetail/index.js +5 -5
- package/lib/common/LinkModal/ProductDetailPage/index.js +1 -1
- package/lib/common/LinkModal/ProductDetailPage/index.less +1 -1
- package/lib/common/LinkModal/SelectVideoModal/index.less +2 -1
- package/lib/common/LinkModal/ShareUrl/index.less +1 -1
- package/lib/common/LinkModal/StoreCatgTable/index.js +2 -2
- package/lib/common/LinkModal/StoreTable/index.js +2 -2
- package/lib/common/LinkModal/index.js +116 -106
- package/lib/common/LinkModal/index.less +35 -2
- package/lib/composite-comp/common/components/ProductItem/index.js +5 -3
- package/lib/composite-comp/dito/components/FlashDeal/defaultJSON.js +4 -0
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.js +17 -8
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +40 -8
- package/lib/composite-comp/dito/components/GroupBuy/mobile/index.less +3 -3
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +20 -11
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/index.js +3 -7
- package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +11 -11
- package/lib/constants/index.js +2 -1
- package/lib/constants/layout.js +14 -2
- package/lib/locale/en/en.json +1 -0
- package/lib/locale/es/es.json +1 -0
- package/lib/locale/mn/mn.json +1 -0
- package/lib/utils/businessUtil.js +13 -1
- package/package.json +1 -1
|
@@ -53,12 +53,6 @@
|
|
|
53
53
|
}
|
|
54
54
|
.m-flash-deal-mobile .flash-deal-list {
|
|
55
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
56
|
position: relative;
|
|
63
57
|
}
|
|
64
58
|
.m-flash-deal-mobile .flash-deal-list .loading-wrap {
|
|
@@ -73,11 +67,49 @@
|
|
|
73
67
|
right: 0;
|
|
74
68
|
margin: auto;
|
|
75
69
|
}
|
|
76
|
-
.m-flash-deal-mobile .flash-deal-list
|
|
70
|
+
.m-flash-deal-mobile .flash-deal-list-vertical {
|
|
71
|
+
overflow-x: auto;
|
|
72
|
+
overflow-y: hidden;
|
|
73
|
+
white-space: nowrap;
|
|
74
|
+
display: flex;
|
|
75
|
+
align-items: flex-start;
|
|
76
|
+
justify-content: flex-start;
|
|
77
|
+
}
|
|
78
|
+
.m-flash-deal-mobile .flash-deal-list-vertical .m-product-item-wrap {
|
|
77
79
|
width: 2.84rem;
|
|
78
80
|
margin-right: 0.16rem;
|
|
79
81
|
}
|
|
80
|
-
.m-flash-deal-mobile .flash-deal-list .m-product-item-wrap .product-img {
|
|
82
|
+
.m-flash-deal-mobile .flash-deal-list-vertical .m-product-item-wrap .product-img {
|
|
81
83
|
height: 2.8rem;
|
|
82
84
|
width: 2.8rem;
|
|
83
85
|
}
|
|
86
|
+
.m-flash-deal-mobile .flash-deal-list-horizontal {
|
|
87
|
+
display: flex;
|
|
88
|
+
flex-direction: column;
|
|
89
|
+
gap: 0.16rem;
|
|
90
|
+
}
|
|
91
|
+
.m-flash-deal-mobile .flash-deal-list-horizontal .m-product-item-wrap {
|
|
92
|
+
width: 100%;
|
|
93
|
+
}
|
|
94
|
+
.m-flash-deal-mobile .flash-deal-list-horizontal .m-product-item-wrap .content-wrap {
|
|
95
|
+
flex: 1;
|
|
96
|
+
}
|
|
97
|
+
.m-flash-deal-mobile .flash-deal-list-horizontal .m-product-item-wrap .content-wrap .product-name-wrap {
|
|
98
|
+
white-space: nowrap;
|
|
99
|
+
}
|
|
100
|
+
.m-flash-deal-mobile .flash-deal-list-horizontal .m-product-item-wrap .content-wrap .price-info-wrap {
|
|
101
|
+
display: flex;
|
|
102
|
+
}
|
|
103
|
+
.m-flash-deal-mobile .flash-deal-list-horizontal .m-product-item-wrap .content-wrap .price-info-wrap .price-wrap {
|
|
104
|
+
margin-bottom: 0;
|
|
105
|
+
}
|
|
106
|
+
.m-flash-deal-mobile .flash-deal-list-horizontal .m-product-item-wrap .content-wrap .price-info-wrap .price-sold-wrap {
|
|
107
|
+
margin-left: 0.04rem;
|
|
108
|
+
}
|
|
109
|
+
.m-flash-deal-mobile .flash-deal-list-horizontal .m-product-item-wrap .content-wrap .price-info-wrap .price-sold-wrap .discount {
|
|
110
|
+
display: none;
|
|
111
|
+
}
|
|
112
|
+
.m-flash-deal-mobile .flash-deal-list-horizontal .m-product-item-wrap .content-wrap .progress-wrap {
|
|
113
|
+
padding-right: 0.52rem;
|
|
114
|
+
margin-top: 0;
|
|
115
|
+
}
|
|
@@ -74,13 +74,13 @@
|
|
|
74
74
|
margin: auto;
|
|
75
75
|
}
|
|
76
76
|
.m-group-buy-mobile .group-buy-list .m-product-item-wrap {
|
|
77
|
-
width:
|
|
77
|
+
width: 3.44rem;
|
|
78
78
|
margin-right: 0.24rem;
|
|
79
79
|
border-radius: 0;
|
|
80
80
|
}
|
|
81
81
|
.m-group-buy-mobile .group-buy-list .m-product-item-wrap .product-img {
|
|
82
|
-
height:
|
|
83
|
-
width:
|
|
82
|
+
height: 3.4rem;
|
|
83
|
+
width: 3.4rem;
|
|
84
84
|
}
|
|
85
85
|
.m-group-buy-mobile .group-buy-list .m-product-item-wrap .content-wrap {
|
|
86
86
|
padding: 0.24rem;
|
|
@@ -45,12 +45,12 @@ var __extends = void 0 && (void 0).__extends || function () {
|
|
|
45
45
|
};
|
|
46
46
|
}();
|
|
47
47
|
|
|
48
|
-
var
|
|
48
|
+
var FlashDealConfigTitle =
|
|
49
49
|
/** @class */
|
|
50
50
|
function (_super) {
|
|
51
|
-
__extends(
|
|
51
|
+
__extends(FlashDealConfigTitle, _super);
|
|
52
52
|
|
|
53
|
-
function
|
|
53
|
+
function FlashDealConfigTitle() {
|
|
54
54
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
55
55
|
|
|
56
56
|
_this.state = {};
|
|
@@ -64,7 +64,7 @@ function (_super) {
|
|
|
64
64
|
return _this;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
|
|
67
|
+
FlashDealConfigTitle.prototype.render = function () {
|
|
68
68
|
var _this = this;
|
|
69
69
|
|
|
70
70
|
var panelProps = this.props.panelProps;
|
|
@@ -86,41 +86,50 @@ function (_super) {
|
|
|
86
86
|
headerSize: "middle",
|
|
87
87
|
onRefresh: this.reRender,
|
|
88
88
|
source: [{
|
|
89
|
-
key: '
|
|
89
|
+
key: 'iconConfig',
|
|
90
90
|
name: (0, _locale.i18n)('ICON'),
|
|
91
91
|
value: iconSetting,
|
|
92
92
|
metaOption: panelProps.icon
|
|
93
93
|
}, {
|
|
94
|
-
key: '
|
|
94
|
+
key: 'headlineConfig',
|
|
95
95
|
name: (0, _locale.i18n)('HEADLINE'),
|
|
96
96
|
value: /*#__PURE__*/_react["default"].createElement(_TextConfig["default"], {
|
|
97
97
|
data: panelProps.headline
|
|
98
98
|
}),
|
|
99
99
|
metaOption: panelProps.headline
|
|
100
100
|
}, {
|
|
101
|
-
key: '
|
|
101
|
+
key: 'buttonCOnfig',
|
|
102
102
|
name: (0, _locale.i18n)('BUTTON'),
|
|
103
103
|
value: /*#__PURE__*/_react["default"].createElement(_ButtonConfig["default"], {
|
|
104
104
|
data: panelProps.button
|
|
105
105
|
}),
|
|
106
106
|
metaOption: panelProps.button
|
|
107
|
+
}, {
|
|
108
|
+
key: 'countDownConfig',
|
|
109
|
+
name: (0, _locale.i18n)('COUNT_DOWN'),
|
|
110
|
+
value: null,
|
|
111
|
+
metaOption: panelProps === null || panelProps === void 0 ? void 0 : panelProps.countDown,
|
|
112
|
+
toggleType: 'switch'
|
|
107
113
|
}],
|
|
108
114
|
type: "switch"
|
|
109
115
|
}));
|
|
110
116
|
};
|
|
111
117
|
|
|
112
|
-
|
|
118
|
+
FlashDealConfigTitle.defaultProps = {
|
|
113
119
|
panelProps: {
|
|
114
120
|
icon: {
|
|
115
121
|
open: true,
|
|
116
122
|
url: ''
|
|
117
123
|
},
|
|
118
124
|
headline: {},
|
|
119
|
-
button: {}
|
|
125
|
+
button: {},
|
|
126
|
+
countDown: {
|
|
127
|
+
open: true
|
|
128
|
+
}
|
|
120
129
|
}
|
|
121
130
|
};
|
|
122
|
-
return
|
|
131
|
+
return FlashDealConfigTitle;
|
|
123
132
|
}(_react["default"].Component);
|
|
124
133
|
|
|
125
|
-
var _default =
|
|
134
|
+
var _default = FlashDealConfigTitle;
|
|
126
135
|
exports["default"] = _default;
|
|
@@ -11,8 +11,6 @@ var _FlashDealConfigTitle = _interopRequireDefault(require("./FlashDealConfigTit
|
|
|
11
11
|
|
|
12
12
|
var _FlashDealConfigContent = _interopRequireDefault(require("./FlashDealConfigContent"));
|
|
13
13
|
|
|
14
|
-
var _layout = _interopRequireDefault(require("./imgs/layout1.png"));
|
|
15
|
-
|
|
16
14
|
var _SpacingConfig = _interopRequireDefault(require("../../../common/config-panels/SpacingConfig"));
|
|
17
15
|
|
|
18
16
|
var _BackgroundConfig = _interopRequireDefault(require("../../../common/config-panels/BackgroundConfig"));
|
|
@@ -23,6 +21,8 @@ var _Collapse = _interopRequireDefault(require("../../../../common/Collapse"));
|
|
|
23
21
|
|
|
24
22
|
var _locale = require("../../../../locale");
|
|
25
23
|
|
|
24
|
+
var _layout = require("../../../../constants/layout");
|
|
25
|
+
|
|
26
26
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
27
27
|
|
|
28
28
|
function FlashDealConfig(props) {
|
|
@@ -55,11 +55,7 @@ function FlashDealConfig(props) {
|
|
|
55
55
|
value: /*#__PURE__*/_react["default"].createElement(_CustomizeConfig["default"], {
|
|
56
56
|
data: data.customize,
|
|
57
57
|
isHideAlign: true,
|
|
58
|
-
layoutSource:
|
|
59
|
-
id: 'layout1',
|
|
60
|
-
name: 'layout1',
|
|
61
|
-
image: _layout["default"]
|
|
62
|
-
}]
|
|
58
|
+
layoutSource: _layout.flashDealLayout
|
|
63
59
|
})
|
|
64
60
|
}, {
|
|
65
61
|
key: '5',
|
|
@@ -748,12 +748,12 @@ function (_super) {
|
|
|
748
748
|
}, 140);
|
|
749
749
|
if (_layout === 'layout1-2' && contentWidth) imgHeight = (contentWidth - 12) / 2;
|
|
750
750
|
if (_layout === 'layout1-3' && contentWidth) imgHeight = (contentWidth - 12 * 2) / 3;
|
|
751
|
-
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, groupSource.length === 1 && _products.length > 0 || groupSource.length > 1 && /*#__PURE__*/_react["default"].createElement("div", {
|
|
751
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, (groupSource.length === 1 && _products.length > 0 || groupSource.length > 1) && /*#__PURE__*/_react["default"].createElement("div", {
|
|
752
752
|
className: "monpay-recommend-mobile recommend_" + panelProps.id
|
|
753
753
|
}, panelProps.title.headerImage.open && /*#__PURE__*/_react["default"].createElement(_components.MetaImage, {
|
|
754
754
|
className: "headerImg",
|
|
755
|
-
|
|
756
|
-
|
|
755
|
+
data: panelProps.title.headerImage,
|
|
756
|
+
isRect: true
|
|
757
757
|
}), !hideTabs && /*#__PURE__*/_react["default"].createElement("div", {
|
|
758
758
|
className: "tab-select-wrap"
|
|
759
759
|
}, groupSource.map(function (tab, index) {
|
|
@@ -806,6 +806,7 @@ function (_super) {
|
|
|
806
806
|
data: item,
|
|
807
807
|
imgHeight: imgHeight,
|
|
808
808
|
imgWidth: imgWidth,
|
|
809
|
+
intelligentType: (_a = groupSource[tabIndex]) === null || _a === void 0 ? void 0 : _a.intelligentType,
|
|
809
810
|
layout: layout === 'layout2' ? 'horizontal' : 'vertical',
|
|
810
811
|
onItemClick: function onItemClick() {
|
|
811
812
|
/** PTO 定制GA */
|
|
@@ -820,16 +821,15 @@ function (_super) {
|
|
|
820
821
|
(0, _coreUtil.clickUrl)("proDetail-" + item.offerId + "-" + (item.sppProductId || item.productId || ''));
|
|
821
822
|
},
|
|
822
823
|
panelProps: panelProps.content,
|
|
823
|
-
showProgress: false
|
|
824
|
-
intelligentType: (_a = groupSource[tabIndex]) === null || _a === void 0 ? void 0 : _a.intelligentType
|
|
824
|
+
showProgress: false
|
|
825
825
|
});
|
|
826
826
|
})), _seeAll.open && _products.length > 0 && /*#__PURE__*/_react["default"].createElement(_components.MetaButton, {
|
|
827
827
|
className: "btnSeeAll",
|
|
828
828
|
data: _seeAll
|
|
829
829
|
}), _products.length === 0 && /*#__PURE__*/_react["default"].createElement("img", {
|
|
830
|
-
src: _emptyImg["default"],
|
|
831
830
|
alt: "",
|
|
832
|
-
className: "emptyImg"
|
|
831
|
+
className: "emptyImg",
|
|
832
|
+
src: _emptyImg["default"]
|
|
833
833
|
})) : /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("div", {
|
|
834
834
|
key: "scrollContainer",
|
|
835
835
|
className: (0, _classnames["default"])('scrollContainer', {
|
|
@@ -845,6 +845,7 @@ function (_super) {
|
|
|
845
845
|
data: item,
|
|
846
846
|
imgHeight: imgHeight,
|
|
847
847
|
imgWidth: imgWidth,
|
|
848
|
+
intelligentType: (_a = groupSource[tabIndex]) === null || _a === void 0 ? void 0 : _a.intelligentType,
|
|
848
849
|
onItemClick: function onItemClick() {
|
|
849
850
|
/** PTO 定制GA */
|
|
850
851
|
if (window.magicDesign.pushGA) {
|
|
@@ -854,16 +855,15 @@ function (_super) {
|
|
|
854
855
|
(0, _coreUtil.clickUrl)("proDetail-" + item.offerId + "-" + (item.sppProductId || item.productId || ''));
|
|
855
856
|
},
|
|
856
857
|
panelProps: panelProps.content,
|
|
857
|
-
showProgress: false
|
|
858
|
-
intelligentType: (_a = groupSource[tabIndex]) === null || _a === void 0 ? void 0 : _a.intelligentType
|
|
858
|
+
showProgress: false
|
|
859
859
|
});
|
|
860
860
|
})), _seeAll.open && _products.length > 0 && /*#__PURE__*/_react["default"].createElement(_components.MetaButton, {
|
|
861
861
|
className: "btnSeeAll",
|
|
862
862
|
data: _seeAll
|
|
863
863
|
})), _products.length === 0 && /*#__PURE__*/_react["default"].createElement("img", {
|
|
864
|
-
src: _emptyImg["default"],
|
|
865
864
|
alt: "",
|
|
866
|
-
className: "emptyImg"
|
|
865
|
+
className: "emptyImg",
|
|
866
|
+
src: _emptyImg["default"]
|
|
867
867
|
}))));
|
|
868
868
|
};
|
|
869
869
|
|
package/lib/constants/index.js
CHANGED
|
@@ -90,7 +90,8 @@ var urlTypeMap = {
|
|
|
90
90
|
AFFILIATE_PLATFORM: 'AffiliatePlatform',
|
|
91
91
|
INTERESTED_MERCHANTS: 'InterestedMerchants',
|
|
92
92
|
INTERESTED_PRODUCTS: 'InterestedProducts',
|
|
93
|
-
MERCHANT_STORY: 'MerchantStory'
|
|
93
|
+
MERCHANT_STORY: 'MerchantStory',
|
|
94
|
+
AFFILIATE_MISSION_DETAIL: 'AffiliateMissionDetail'
|
|
94
95
|
};
|
|
95
96
|
exports.urlTypeMap = urlTypeMap;
|
|
96
97
|
var respCodeMap = {
|
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.dividerLayout = exports.carouselLayout = exports.bannerSlideLayout = exports.affiliateLayoutPc = exports.affiliateLayoutMobile = exports.WalletNuriLayout = exports.WalletLayout = void 0;
|
|
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;
|
|
7
7
|
|
|
8
8
|
var _dividerLayout = _interopRequireDefault(require("../assets/images/layout-icon/dividerLayout.svg"));
|
|
9
9
|
|
|
@@ -95,6 +95,8 @@ var _bannerSlideLayout = _interopRequireDefault(require("../assets/images/layout
|
|
|
95
95
|
|
|
96
96
|
var _bannerSlideLayout2 = _interopRequireDefault(require("../assets/images/layout-icon/banner-slide-layout2.png"));
|
|
97
97
|
|
|
98
|
+
var _flashDealLayout = _interopRequireDefault(require("../assets/images/layout-icon/flash-deal-layout1.png"));
|
|
99
|
+
|
|
98
100
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
99
101
|
|
|
100
102
|
// import p3 from '../assets/images/layout-icon/layout-imagetext-p3.png';
|
|
@@ -359,4 +361,14 @@ var monpaySignBoardLayout = [{
|
|
|
359
361
|
name: 'layout1',
|
|
360
362
|
image: _monpaySignBoardLayout["default"]
|
|
361
363
|
}];
|
|
362
|
-
exports.monpaySignBoardLayout = monpaySignBoardLayout;
|
|
364
|
+
exports.monpaySignBoardLayout = monpaySignBoardLayout;
|
|
365
|
+
var flashDealLayout = [{
|
|
366
|
+
id: 'layout1',
|
|
367
|
+
name: 'layout1',
|
|
368
|
+
image: _flashDealLayout["default"]
|
|
369
|
+
}, {
|
|
370
|
+
id: 'layout2',
|
|
371
|
+
name: 'layout2',
|
|
372
|
+
image: _layoutImagetextM4["default"]
|
|
373
|
+
}];
|
|
374
|
+
exports.flashDealLayout = flashDealLayout;
|
package/lib/locale/en/en.json
CHANGED
package/lib/locale/es/es.json
CHANGED
package/lib/locale/mn/mn.json
CHANGED
|
@@ -75,7 +75,7 @@ var newParseUrl = function newParseUrl(urlObj) {
|
|
|
75
75
|
|
|
76
76
|
case _constants.urlTypeMap.STORE_CATEGORY:
|
|
77
77
|
// 商品列表
|
|
78
|
-
link = "/product/list
|
|
78
|
+
link = "/product/list/" + value;
|
|
79
79
|
params = {
|
|
80
80
|
action: 'jump',
|
|
81
81
|
params: {
|
|
@@ -255,6 +255,18 @@ var newParseUrl = function newParseUrl(urlObj) {
|
|
|
255
255
|
};
|
|
256
256
|
break;
|
|
257
257
|
|
|
258
|
+
case _constants.urlTypeMap.AFFILIATE_MISSION_DETAIL:
|
|
259
|
+
// affiliate mission detail
|
|
260
|
+
link = "/taskDetail/" + value;
|
|
261
|
+
params = {
|
|
262
|
+
action: 'jump',
|
|
263
|
+
params: {
|
|
264
|
+
type: 'AFFILIATE_MISSION_DETAIL',
|
|
265
|
+
url: value
|
|
266
|
+
}
|
|
267
|
+
};
|
|
268
|
+
break;
|
|
269
|
+
|
|
258
270
|
default:
|
|
259
271
|
var map = {
|
|
260
272
|
'/main/cart': 'CART',
|