@fonixtree/magic-design 2.0.134 → 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/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 +2 -2
- 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 +1 -1
- package/es/constants/index.js +2 -1
- package/es/utils/businessUtil.js +13 -1
- 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 +2 -2
- 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 +1 -1
- package/lib/constants/index.js +2 -1
- package/lib/utils/businessUtil.js +13 -1
- package/package.json +1 -1
|
@@ -4,9 +4,10 @@
|
|
|
4
4
|
left: unset !important;
|
|
5
5
|
|
|
6
6
|
.cylon-modal .cylon-modal-content .cylon-modal-body {
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
padding-bottom: 60px !important;
|
|
8
|
+
padding-top: 0 !important;
|
|
9
9
|
}
|
|
10
|
+
|
|
10
11
|
.urlModalWrap {
|
|
11
12
|
font-family: 'Open Sans';
|
|
12
13
|
font-style: normal;
|
|
@@ -69,10 +70,40 @@
|
|
|
69
70
|
}
|
|
70
71
|
}
|
|
71
72
|
}
|
|
73
|
+
|
|
72
74
|
.shareUrlWrap {
|
|
73
75
|
height: 500px;
|
|
74
76
|
}
|
|
75
77
|
|
|
78
|
+
.types-list {
|
|
79
|
+
display: flex;
|
|
80
|
+
flex-direction: row;
|
|
81
|
+
flex-wrap: wrap;
|
|
82
|
+
gap: 12px;
|
|
83
|
+
margin-top: 20px;
|
|
84
|
+
margin-bottom: 20px;
|
|
85
|
+
|
|
86
|
+
.tag {
|
|
87
|
+
display: inline-block;
|
|
88
|
+
width: 145px;
|
|
89
|
+
height: 36px;
|
|
90
|
+
background-color: #F5F6F7;
|
|
91
|
+
border-radius: 4px;
|
|
92
|
+
line-height: 36px;
|
|
93
|
+
text-align: center;
|
|
94
|
+
color: #232F46;
|
|
95
|
+
font-weight: 400;
|
|
96
|
+
font-size: 14px;
|
|
97
|
+
border: 1px solid #F5F6F7;
|
|
98
|
+
cursor: pointer;
|
|
99
|
+
|
|
100
|
+
&.active {
|
|
101
|
+
border: 1px solid #2F54EB;
|
|
102
|
+
color: #2F54EB;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
76
107
|
.footer {
|
|
77
108
|
padding: 10px 0;
|
|
78
109
|
display: flex;
|
|
@@ -91,11 +122,13 @@
|
|
|
91
122
|
border: none;
|
|
92
123
|
margin-right: 12px;
|
|
93
124
|
}
|
|
125
|
+
|
|
94
126
|
.btn-confirm {
|
|
95
127
|
background: #2F54EB;
|
|
96
128
|
border: none;
|
|
97
129
|
border-radius: 6px;
|
|
98
130
|
}
|
|
131
|
+
|
|
99
132
|
.total {
|
|
100
133
|
font-size: 13px;
|
|
101
134
|
color: #2d3040;
|
|
@@ -234,7 +234,7 @@ function (_super) {
|
|
|
234
234
|
style: {
|
|
235
235
|
color: panelProps.salesPrice.content.color
|
|
236
236
|
}
|
|
237
|
-
})), type !== 'groupBuy' && !showProgress && data.salesCnt > 0 && /*#__PURE__*/_react["default"].createElement("div", {
|
|
237
|
+
})), type !== 'groupBuy' && !showProgress && data.salesCnt > 0 && data.displaySalesCntFlag === 'Y' && /*#__PURE__*/_react["default"].createElement("div", {
|
|
238
238
|
className: "sold-count"
|
|
239
239
|
}, (0, _commonUtil.convertCount)(data.salesCnt), " sold"))), showProgress && ((_d = panelProps.salesProgress) === null || _d === void 0 ? void 0 : _d.open) && /*#__PURE__*/_react["default"].createElement("div", {
|
|
240
240
|
className: "progress-wrap"
|
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 = {
|
|
@@ -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',
|