@fonixtree/magic-design 2.0.134 → 2.0.136

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.
Files changed (65) hide show
  1. package/es/common/LinkModal/AffiliatePlatform/index.js +2 -2
  2. package/es/common/LinkModal/AffiliateProductTable/index.js +1 -1
  3. package/es/common/LinkModal/AffiliateStore/index.js +2 -2
  4. package/es/common/LinkModal/BundleCampaign/index.js +1 -1
  5. package/es/common/LinkModal/BundleCampaign/index.less +6 -3
  6. package/es/common/LinkModal/CatgTable/index.js +2 -2
  7. package/es/common/LinkModal/CouponTable/index.js +2 -2
  8. package/es/common/LinkModal/CustomTable/index.js +2 -2
  9. package/es/common/LinkModal/FilteredProductModal/index.js +1 -1
  10. package/es/common/LinkModal/FilteredProductModal/index.less +3 -2
  11. package/es/common/LinkModal/FunctionTable/index.js +2 -2
  12. package/es/common/LinkModal/InterestedMerchants/index.js +2 -2
  13. package/es/common/LinkModal/InterestedProducts/index.js +2 -2
  14. package/es/common/LinkModal/MerchantStory/index.js +2 -2
  15. package/es/common/LinkModal/MiniAppApi/index.js +1 -1
  16. package/es/common/LinkModal/MiniAppTable/index.js +2 -2
  17. package/es/common/LinkModal/MissionDetail/index.js +2 -2
  18. package/es/common/LinkModal/ProductDetailPage/index.js +1 -1
  19. package/es/common/LinkModal/ProductDetailPage/index.less +1 -1
  20. package/es/common/LinkModal/SelectVideoModal/index.less +2 -1
  21. package/es/common/LinkModal/ShareUrl/index.less +1 -1
  22. package/es/common/LinkModal/StoreCatgTable/index.js +2 -2
  23. package/es/common/LinkModal/StoreTable/index.js +2 -2
  24. package/es/common/LinkModal/index.js +116 -106
  25. package/es/common/LinkModal/index.less +35 -2
  26. package/es/composite-comp/common/components/MonpayProductItem/index.js +5 -18
  27. package/es/composite-comp/common/components/ProductItem/index.js +1 -1
  28. package/es/composite-comp/monpay/components/Bundle/mobile/BundleItem/index.less +3 -0
  29. package/es/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +1 -0
  30. package/es/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigContent/index.js +2 -10
  31. package/es/constants/index.js +2 -1
  32. package/es/utils/businessUtil.js +13 -1
  33. package/lib/common/LinkModal/AffiliatePlatform/index.js +2 -2
  34. package/lib/common/LinkModal/AffiliateProductTable/index.js +1 -1
  35. package/lib/common/LinkModal/AffiliateStore/index.js +2 -2
  36. package/lib/common/LinkModal/BundleCampaign/index.js +1 -1
  37. package/lib/common/LinkModal/BundleCampaign/index.less +6 -3
  38. package/lib/common/LinkModal/CatgTable/index.js +2 -2
  39. package/lib/common/LinkModal/CouponTable/index.js +2 -2
  40. package/lib/common/LinkModal/CustomTable/index.js +2 -2
  41. package/lib/common/LinkModal/FilteredProductModal/index.js +1 -1
  42. package/lib/common/LinkModal/FilteredProductModal/index.less +3 -2
  43. package/lib/common/LinkModal/FunctionTable/index.js +2 -2
  44. package/lib/common/LinkModal/InterestedMerchants/index.js +2 -2
  45. package/lib/common/LinkModal/InterestedProducts/index.js +2 -2
  46. package/lib/common/LinkModal/MerchantStory/index.js +2 -2
  47. package/lib/common/LinkModal/MiniAppApi/index.js +1 -1
  48. package/lib/common/LinkModal/MiniAppTable/index.js +2 -2
  49. package/lib/common/LinkModal/MissionDetail/index.js +2 -2
  50. package/lib/common/LinkModal/ProductDetailPage/index.js +1 -1
  51. package/lib/common/LinkModal/ProductDetailPage/index.less +1 -1
  52. package/lib/common/LinkModal/SelectVideoModal/index.less +2 -1
  53. package/lib/common/LinkModal/ShareUrl/index.less +1 -1
  54. package/lib/common/LinkModal/StoreCatgTable/index.js +2 -2
  55. package/lib/common/LinkModal/StoreTable/index.js +2 -2
  56. package/lib/common/LinkModal/index.js +116 -106
  57. package/lib/common/LinkModal/index.less +35 -2
  58. package/lib/composite-comp/common/components/MonpayProductItem/index.js +5 -18
  59. package/lib/composite-comp/common/components/ProductItem/index.js +1 -1
  60. package/lib/composite-comp/monpay/components/Bundle/mobile/BundleItem/index.less +3 -0
  61. package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +1 -0
  62. package/lib/composite-comp/monpay/config-panels/MonpayRecommendConfig/RecommendConfigContent/index.js +2 -10
  63. package/lib/constants/index.js +2 -1
  64. package/lib/utils/businessUtil.js +13 -1
  65. package/package.json +1 -1
@@ -262,7 +262,7 @@ function AffiliatePlatform(props) {
262
262
 
263
263
  return /*#__PURE__*/_react["default"].createElement("div", {
264
264
  style: {
265
- height: 550
265
+ height: 450
266
266
  }
267
267
  }, /*#__PURE__*/_react["default"].createElement(_antd.Form, {
268
268
  labelCol: {
@@ -319,7 +319,7 @@ function AffiliatePlatform(props) {
319
319
  rowKey: "distributionPlatformId",
320
320
  rowSelection: rowSelection,
321
321
  scroll: {
322
- y: 400
322
+ y: 350
323
323
  }
324
324
  }));
325
325
  }
@@ -286,7 +286,7 @@ function AffiliateProductTable(props) {
286
286
 
287
287
  return /*#__PURE__*/_react["default"].createElement("div", {
288
288
  style: {
289
- height: 550
289
+ height: 450
290
290
  }
291
291
  }, /*#__PURE__*/_react["default"].createElement(_antd.Form, {
292
292
  form: form,
@@ -268,7 +268,7 @@ function AffiliateStore(props) {
268
268
 
269
269
  return /*#__PURE__*/_react["default"].createElement("div", {
270
270
  style: {
271
- height: 550
271
+ height: 450
272
272
  }
273
273
  }, /*#__PURE__*/_react["default"].createElement(_antd.Form, {
274
274
  labelCol: {
@@ -325,7 +325,7 @@ function AffiliateStore(props) {
325
325
  rowKey: "affiliateStoreId",
326
326
  rowSelection: rowSelection,
327
327
  scroll: {
328
- y: 400
328
+ y: 350
329
329
  }
330
330
  }));
331
331
  }
@@ -404,7 +404,7 @@ var BundleCampaign = function BundleCampaign(props) {
404
404
  rowKey: "campaignId",
405
405
  rowSelection: rowSelection,
406
406
  scroll: {
407
- y: 340
407
+ y: 300
408
408
  }
409
409
  }));
410
410
  };
@@ -1,18 +1,21 @@
1
- .bundleCampaign{
1
+ .bundleCampaign {
2
2
  // padding-top: 12px;
3
3
  // border-top: 1px solid #f0f0f0;
4
- height: 550px;
4
+ height: 450px;
5
+
5
6
  .inputStyle {
6
7
  width: 280px;
7
8
  height: 32px;
8
9
  margin-left: 10px;
9
- }
10
+ }
11
+
10
12
  .labelStyle {
11
13
  display: inline-block;
12
14
  width: 110px;
13
15
  text-align: right;
14
16
  line-height: 2;
15
17
  }
18
+
16
19
  .mb12 {
17
20
  margin-bottom: 12px;
18
21
  }
@@ -223,7 +223,7 @@ function CatgTable(props) {
223
223
  };
224
224
  return /*#__PURE__*/_react["default"].createElement("div", {
225
225
  style: {
226
- height: 550
226
+ height: 450
227
227
  }
228
228
  }, /*#__PURE__*/_react["default"].createElement(_antd.Table, {
229
229
  bordered: false,
@@ -237,7 +237,7 @@ function CatgTable(props) {
237
237
  },
238
238
  rowSelection: rowSelection,
239
239
  scroll: {
240
- y: 480
240
+ y: 380
241
241
  }
242
242
  }));
243
243
  }
@@ -294,7 +294,7 @@ function CouponTable(props) {
294
294
  }, []);
295
295
  return /*#__PURE__*/_react["default"].createElement("div", {
296
296
  style: {
297
- height: 550
297
+ height: 450
298
298
  }
299
299
  }, /*#__PURE__*/_react["default"].createElement(_antd.Table, {
300
300
  columns: columns,
@@ -308,7 +308,7 @@ function CouponTable(props) {
308
308
  }),
309
309
  rowSelection: rowSelection,
310
310
  scroll: {
311
- y: 480
311
+ y: 380
312
312
  }
313
313
  }));
314
314
  }
@@ -221,7 +221,7 @@ function CustomTable(props) {
221
221
  };
222
222
  return /*#__PURE__*/_react["default"].createElement("div", {
223
223
  style: {
224
- height: 550
224
+ height: 450
225
225
  }
226
226
  }, /*#__PURE__*/_react["default"].createElement(_antd.Table, {
227
227
  bordered: false,
@@ -232,7 +232,7 @@ function CustomTable(props) {
232
232
  rowKey: "bdPageId",
233
233
  rowSelection: rowSelection,
234
234
  scroll: {
235
- y: 480
235
+ y: 380
236
236
  }
237
237
  }));
238
238
  }
@@ -674,7 +674,7 @@ var FilteredProductModal = function FilteredProductModal(props) {
674
674
  }
675
675
  }),
676
676
  scroll: {
677
- y: 400
677
+ y: 350
678
678
  }
679
679
  })))));
680
680
  };
@@ -1,5 +1,5 @@
1
1
  .mFilteredProductModal {
2
- height: 550px;
2
+ height: 450px;
3
3
 
4
4
  .proModalWrap {
5
5
  .info {
@@ -86,7 +86,8 @@
86
86
 
87
87
  .leftCot {
88
88
  width: 280px;
89
- // height: 400px;
89
+ height: 400px;
90
+ overflow-y: auto;
90
91
  box-sizing: border-box;
91
92
  border-right: 1px solid #e0e0e0;
92
93
  padding-right: 15px;
@@ -218,7 +218,7 @@ function FunctionTable(props) {
218
218
  }, []);
219
219
  return /*#__PURE__*/_react["default"].createElement("div", {
220
220
  style: {
221
- height: 550
221
+ height: 450
222
222
  }
223
223
  }, /*#__PURE__*/_react["default"].createElement(_antd.Table, {
224
224
  columns: columns,
@@ -228,7 +228,7 @@ function FunctionTable(props) {
228
228
  rowKey: "funcUrlLibId",
229
229
  rowSelection: rowSelection,
230
230
  scroll: {
231
- y: 480
231
+ y: 380
232
232
  }
233
233
  }));
234
234
  }
@@ -262,7 +262,7 @@ function InterestedMerchants(props) {
262
262
 
263
263
  return /*#__PURE__*/_react["default"].createElement("div", {
264
264
  style: {
265
- height: 550
265
+ height: 450
266
266
  }
267
267
  }, /*#__PURE__*/_react["default"].createElement(_antd.Form, {
268
268
  labelCol: {
@@ -319,7 +319,7 @@ function InterestedMerchants(props) {
319
319
  rowKey: "interestId",
320
320
  rowSelection: rowSelection,
321
321
  scroll: {
322
- y: 400
322
+ y: 350
323
323
  }
324
324
  }));
325
325
  }
@@ -262,7 +262,7 @@ function InterestedMerchants(props) {
262
262
 
263
263
  return /*#__PURE__*/_react["default"].createElement("div", {
264
264
  style: {
265
- height: 550
265
+ height: 450
266
266
  }
267
267
  }, /*#__PURE__*/_react["default"].createElement(_antd.Form, {
268
268
  labelCol: {
@@ -319,7 +319,7 @@ function InterestedMerchants(props) {
319
319
  rowKey: "interestId",
320
320
  rowSelection: rowSelection,
321
321
  scroll: {
322
- y: 400
322
+ y: 350
323
323
  }
324
324
  }));
325
325
  }
@@ -264,7 +264,7 @@ function MerchantStory(props) {
264
264
 
265
265
  return /*#__PURE__*/_react["default"].createElement("div", {
266
266
  style: {
267
- height: 550
267
+ height: 450
268
268
  }
269
269
  }, /*#__PURE__*/_react["default"].createElement(_antd.Form, {
270
270
  labelCol: {
@@ -321,7 +321,7 @@ function MerchantStory(props) {
321
321
  rowKey: "storeId",
322
322
  rowSelection: rowSelection,
323
323
  scroll: {
324
- y: 400
324
+ y: 350
325
325
  }
326
326
  }));
327
327
  }
@@ -55,7 +55,7 @@ function MiniAppApi(_a) {
55
55
  rowKey: "title",
56
56
  rowSelection: rowSelection,
57
57
  scroll: {
58
- y: 480
58
+ y: 350
59
59
  }
60
60
  }));
61
61
  }
@@ -233,7 +233,7 @@ function CustomTable(props) {
233
233
  };
234
234
  return /*#__PURE__*/_react["default"].createElement("div", {
235
235
  style: {
236
- height: 550
236
+ height: 450
237
237
  }
238
238
  }, /*#__PURE__*/_react["default"].createElement(_antd.Table, {
239
239
  bordered: false,
@@ -244,7 +244,7 @@ function CustomTable(props) {
244
244
  rowKey: "storeMiniProgramId",
245
245
  rowSelection: rowSelection,
246
246
  scroll: {
247
- y: 480
247
+ y: 380
248
248
  }
249
249
  }));
250
250
  }
@@ -255,7 +255,7 @@ function MissionDetail(props) {
255
255
 
256
256
  return /*#__PURE__*/_react["default"].createElement("div", {
257
257
  style: {
258
- height: 550
258
+ height: 450
259
259
  }
260
260
  }, /*#__PURE__*/_react["default"].createElement(_antd.Form, {
261
261
  labelCol: {
@@ -312,7 +312,7 @@ function MissionDetail(props) {
312
312
  rowKey: "sfTaskId",
313
313
  rowSelection: rowSelection,
314
314
  scroll: {
315
- y: 400
315
+ y: 350
316
316
  }
317
317
  }));
318
318
  }
@@ -557,7 +557,7 @@ var ProductDetailPage = function ProductDetailPage(props) {
557
557
  rowKey: "productId",
558
558
  rowSelection: rowSelection,
559
559
  scroll: {
560
- y: 300
560
+ y: 250
561
561
  }
562
562
  }));
563
563
  };
@@ -1,5 +1,5 @@
1
1
  .productDetailPage {
2
- height: 550px;
2
+ height: 450px;
3
3
 
4
4
  .btn-select-type {
5
5
  margin-bottom: 10px;
@@ -2,7 +2,8 @@
2
2
  display: flex;
3
3
  // padding: 20px 80px;
4
4
  // border-top: 1px solid #f0f0f0;
5
- height: 550px;
5
+ height: 450px;
6
+
6
7
  .video-left-wrap {
7
8
  display: flex;
8
9
  flex-direction: column;
@@ -1,3 +1,3 @@
1
1
  .shareWrap {
2
- height: 550px;
2
+ height: 450px;
3
3
  }
@@ -223,7 +223,7 @@ function StoreCatgTable(props) {
223
223
  };
224
224
  return /*#__PURE__*/_react["default"].createElement("div", {
225
225
  style: {
226
- height: 550
226
+ height: 450
227
227
  }
228
228
  }, /*#__PURE__*/_react["default"].createElement(_antd.Table, {
229
229
  bordered: false,
@@ -237,7 +237,7 @@ function StoreCatgTable(props) {
237
237
  },
238
238
  rowSelection: rowSelection,
239
239
  scroll: {
240
- y: 480
240
+ y: 380
241
241
  }
242
242
  }));
243
243
  }
@@ -264,7 +264,7 @@ function StoreTable(props) {
264
264
 
265
265
  return /*#__PURE__*/_react["default"].createElement("div", {
266
266
  style: {
267
- height: 550
267
+ height: 450
268
268
  }
269
269
  }, /*#__PURE__*/_react["default"].createElement(_antd.Form, {
270
270
  labelCol: {
@@ -321,7 +321,7 @@ function StoreTable(props) {
321
321
  rowKey: "storeId",
322
322
  rowSelection: rowSelection,
323
323
  scroll: {
324
- y: 400
324
+ y: 350
325
325
  }
326
326
  }));
327
327
  }
@@ -11,6 +11,8 @@ var _antd = require("antd4");
11
11
 
12
12
  var _react = _interopRequireWildcard(require("react"));
13
13
 
14
+ var _classnames = _interopRequireDefault(require("classnames"));
15
+
14
16
  var _CouponTable = _interopRequireDefault(require("./CouponTable"));
15
17
 
16
18
  var _FilteredProductModal = _interopRequireDefault(require("./FilteredProductModal"));
@@ -323,116 +325,124 @@ var LinkModal = function LinkModal(props) {
323
325
  visible: visible,
324
326
  width: "1000px",
325
327
  wrapClassName: "magicLinkModal"
326
- }, modalConfig), /*#__PURE__*/_react["default"].createElement(_antd.Tabs, {
327
- activeKey: selected,
328
- onChange: onTabsChange
328
+ }, modalConfig), /*#__PURE__*/_react["default"].createElement("div", {
329
+ className: "wrap"
330
+ }, /*#__PURE__*/_react["default"].createElement("div", {
331
+ className: "types-list"
329
332
  }, linkTypes.map(function (item) {
330
- return /*#__PURE__*/_react["default"].createElement(_antd.Tabs.TabPane, {
333
+ return /*#__PURE__*/_react["default"].createElement("span", {
331
334
  key: item.linkTypeCode,
332
- tab: item.linkTypeName
333
- }, item.linkTypeCode === 'StoreCategory' && /*#__PURE__*/_react["default"].createElement(_StoreCatgTable["default"], {
334
- _fetch: _fetch,
335
- onChange: function onChange(value) {
336
- setLinkUrl(value);
337
- }
338
- }), item.linkTypeCode === 'Category' && /*#__PURE__*/_react["default"].createElement(_CatgTable["default"], {
339
- _fetch: _fetch,
340
- onChange: function onChange(value) {
341
- return setLinkUrl(value);
342
- }
343
- }), item.linkTypeCode === 'CustomizedPage' && /*#__PURE__*/_react["default"].createElement(_CustomTable["default"], {
344
- _fetch: _fetch,
345
- onChange: function onChange(value) {
346
- return setLinkUrl(value);
347
- }
348
- }), item.linkTypeCode === 'ProductDetailPage' && /*#__PURE__*/_react["default"].createElement(_ProductDetailPage["default"], {
349
- _fetch: _fetch,
350
- onChange: function onChange(url) {
351
- return setLinkUrl(url);
352
- }
353
- }), item.linkTypeCode === 'FilteredProduct' && /*#__PURE__*/_react["default"].createElement(_FilteredProductModal["default"], {
354
- _fetch: _fetch,
355
- onDataChange: function onDataChange(url, t) {
356
- setLinkUrl(url);
357
- setTotal(t);
358
- }
359
- }), item.linkTypeCode === 'FunctionPage' && /*#__PURE__*/_react["default"].createElement(_FunctionTable["default"], {
360
- _fetch: _fetch,
361
- onChange: function onChange(value) {
362
- return setLinkUrl(value);
363
- }
364
- }), item.linkTypeCode === 'Coupons' && /*#__PURE__*/_react["default"].createElement(_CouponTable["default"], {
365
- _fetch: _fetch,
366
- onChange: function onChange(value) {
367
- return setLinkUrl(value);
368
- }
369
- }), item.linkTypeCode === 'BundleCampaign' && /*#__PURE__*/_react["default"].createElement(_BundleCampaign["default"], {
370
- _fetch: _fetch,
371
- onChange: function onChange(value) {
372
- return setLinkUrl(value);
373
- }
374
- }), item.linkTypeCode === 'Video' && /*#__PURE__*/_react["default"].createElement(_SelectVideoModal["default"], {
375
- _fetch: _fetch,
376
- setUrl: function setUrl(value) {
377
- return setLinkUrl(value);
378
- }
379
- }), item.linkTypeCode === 'ShareURL' && /*#__PURE__*/_react["default"].createElement(_ShareUrl["default"], {
380
- _fetch: _fetch,
381
- onChange: function onChange(value) {
382
- return setLinkUrl(value);
383
- }
384
- }), item.linkTypeCode === 'MiniApp' && /*#__PURE__*/_react["default"].createElement(_MiniAppTable["default"], {
385
- _fetch: _fetch,
386
- onChange: function onChange(value) {
387
- return setLinkUrl(value);
388
- }
389
- }), item.linkTypeCode === 'Store' && /*#__PURE__*/_react["default"].createElement(_StoreTable["default"], {
390
- _fetch: _fetch,
391
- onChange: function onChange(value) {
392
- return setLinkUrl(value);
393
- }
394
- }), item.linkTypeCode === 'AffiliateProduct' && /*#__PURE__*/_react["default"].createElement(_AffiliateProductTable["default"], {
395
- _fetch: _fetch,
396
- onChange: function onChange(value) {
397
- return setLinkUrl(value);
398
- }
399
- }), item.linkTypeCode === 'AffiliateStore' && /*#__PURE__*/_react["default"].createElement(_AffiliateStore["default"], {
400
- _fetch: _fetch,
401
- onChange: function onChange(value) {
402
- return setLinkUrl(value);
403
- }
404
- }), item.linkTypeCode === 'MiniApi' && /*#__PURE__*/_react["default"].createElement(_MiniAppApi["default"], {
405
- _fetch: _fetch,
406
- onChange: function onChange(value) {
407
- return setLinkUrl(value);
408
- }
409
- }), item.linkTypeCode === 'AffiliatePlatform' && /*#__PURE__*/_react["default"].createElement(_AffiliatePlatform["default"], {
410
- _fetch: _fetch,
411
- onChange: function onChange(value) {
412
- return setLinkUrl(value);
413
- }
414
- }), item.linkTypeCode === 'InterestedMerchants' && /*#__PURE__*/_react["default"].createElement(_InterestedMerchants["default"], {
415
- _fetch: _fetch,
416
- onChange: function onChange(value) {
417
- return setLinkUrl(value);
418
- }
419
- }), item.linkTypeCode === 'InterestedProducts' && /*#__PURE__*/_react["default"].createElement(_InterestedProducts["default"], {
420
- _fetch: _fetch,
421
- onChange: function onChange(value) {
422
- return setLinkUrl(value);
423
- }
424
- }), item.linkTypeCode === 'MerchantStory' && /*#__PURE__*/_react["default"].createElement(_MerchantStory["default"], {
425
- _fetch: _fetch,
426
- onChange: function onChange(value) {
427
- return setLinkUrl(value);
428
- }
429
- }), item.linkTypeCode === 'AffiliateMissionDetail' && /*#__PURE__*/_react["default"].createElement(_MissionDetail["default"], {
430
- _fetch: _fetch,
431
- onChange: function onChange(value) {
432
- return setLinkUrl(value);
335
+ className: (0, _classnames["default"])('tag', {
336
+ active: selected === item.linkTypeCode
337
+ }),
338
+ onClick: function onClick() {
339
+ return onTabsChange(item.linkTypeCode);
433
340
  }
434
- }));
341
+ }, item.linkTypeName);
435
342
  })), /*#__PURE__*/_react["default"].createElement("div", {
343
+ className: "form-content"
344
+ }, selected === 'StoreCategory' && /*#__PURE__*/_react["default"].createElement(_StoreCatgTable["default"], {
345
+ _fetch: _fetch,
346
+ onChange: function onChange(value) {
347
+ setLinkUrl(value);
348
+ }
349
+ }), selected === 'Category' && /*#__PURE__*/_react["default"].createElement(_CatgTable["default"], {
350
+ _fetch: _fetch,
351
+ onChange: function onChange(value) {
352
+ return setLinkUrl(value);
353
+ }
354
+ }), selected === 'CustomizedPage' && /*#__PURE__*/_react["default"].createElement(_CustomTable["default"], {
355
+ _fetch: _fetch,
356
+ onChange: function onChange(value) {
357
+ return setLinkUrl(value);
358
+ }
359
+ }), selected === 'ProductDetailPage' && /*#__PURE__*/_react["default"].createElement(_ProductDetailPage["default"], {
360
+ _fetch: _fetch,
361
+ onChange: function onChange(url) {
362
+ return setLinkUrl(url);
363
+ }
364
+ }), selected === 'FilteredProduct' && /*#__PURE__*/_react["default"].createElement(_FilteredProductModal["default"], {
365
+ _fetch: _fetch,
366
+ onDataChange: function onDataChange(url, t) {
367
+ setLinkUrl(url);
368
+ setTotal(t);
369
+ }
370
+ }), selected === 'FunctionPage' && /*#__PURE__*/_react["default"].createElement(_FunctionTable["default"], {
371
+ _fetch: _fetch,
372
+ onChange: function onChange(value) {
373
+ return setLinkUrl(value);
374
+ }
375
+ }), selected === 'Coupons' && /*#__PURE__*/_react["default"].createElement(_CouponTable["default"], {
376
+ _fetch: _fetch,
377
+ onChange: function onChange(value) {
378
+ return setLinkUrl(value);
379
+ }
380
+ }), selected === 'BundleCampaign' && /*#__PURE__*/_react["default"].createElement(_BundleCampaign["default"], {
381
+ _fetch: _fetch,
382
+ onChange: function onChange(value) {
383
+ return setLinkUrl(value);
384
+ }
385
+ }), selected === 'Video' && /*#__PURE__*/_react["default"].createElement(_SelectVideoModal["default"], {
386
+ _fetch: _fetch,
387
+ setUrl: function setUrl(value) {
388
+ return setLinkUrl(value);
389
+ }
390
+ }), selected === 'ShareURL' && /*#__PURE__*/_react["default"].createElement(_ShareUrl["default"], {
391
+ _fetch: _fetch,
392
+ onChange: function onChange(value) {
393
+ return setLinkUrl(value);
394
+ }
395
+ }), selected === 'MiniApp' && /*#__PURE__*/_react["default"].createElement(_MiniAppTable["default"], {
396
+ _fetch: _fetch,
397
+ onChange: function onChange(value) {
398
+ return setLinkUrl(value);
399
+ }
400
+ }), selected === 'Store' && /*#__PURE__*/_react["default"].createElement(_StoreTable["default"], {
401
+ _fetch: _fetch,
402
+ onChange: function onChange(value) {
403
+ return setLinkUrl(value);
404
+ }
405
+ }), selected === 'AffiliateProduct' && /*#__PURE__*/_react["default"].createElement(_AffiliateProductTable["default"], {
406
+ _fetch: _fetch,
407
+ onChange: function onChange(value) {
408
+ return setLinkUrl(value);
409
+ }
410
+ }), selected === 'AffiliateStore' && /*#__PURE__*/_react["default"].createElement(_AffiliateStore["default"], {
411
+ _fetch: _fetch,
412
+ onChange: function onChange(value) {
413
+ return setLinkUrl(value);
414
+ }
415
+ }), selected === 'MiniApi' && /*#__PURE__*/_react["default"].createElement(_MiniAppApi["default"], {
416
+ _fetch: _fetch,
417
+ onChange: function onChange(value) {
418
+ return setLinkUrl(value);
419
+ }
420
+ }), selected === 'AffiliatePlatform' && /*#__PURE__*/_react["default"].createElement(_AffiliatePlatform["default"], {
421
+ _fetch: _fetch,
422
+ onChange: function onChange(value) {
423
+ return setLinkUrl(value);
424
+ }
425
+ }), selected === 'InterestedMerchants' && /*#__PURE__*/_react["default"].createElement(_InterestedMerchants["default"], {
426
+ _fetch: _fetch,
427
+ onChange: function onChange(value) {
428
+ return setLinkUrl(value);
429
+ }
430
+ }), selected === 'InterestedProducts' && /*#__PURE__*/_react["default"].createElement(_InterestedProducts["default"], {
431
+ _fetch: _fetch,
432
+ onChange: function onChange(value) {
433
+ return setLinkUrl(value);
434
+ }
435
+ }), selected === 'MerchantStory' && /*#__PURE__*/_react["default"].createElement(_MerchantStory["default"], {
436
+ _fetch: _fetch,
437
+ onChange: function onChange(value) {
438
+ return setLinkUrl(value);
439
+ }
440
+ }), selected === 'AffiliateMissionDetail' && /*#__PURE__*/_react["default"].createElement(_MissionDetail["default"], {
441
+ _fetch: _fetch,
442
+ onChange: function onChange(value) {
443
+ return setLinkUrl(value);
444
+ }
445
+ }))), /*#__PURE__*/_react["default"].createElement("div", {
436
446
  className: "footer"
437
447
  }, selected === 'FilteredProduct' ? /*#__PURE__*/_react["default"].createElement("div", {
438
448
  className: "total"
@@ -4,9 +4,10 @@
4
4
  left: unset !important;
5
5
 
6
6
  .cylon-modal .cylon-modal-content .cylon-modal-body {
7
- padding-bottom: 60px !important;
8
- padding-top: 0 !important;
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;