@fonixtree/magic-design 0.1.1 → 0.1.3

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.
@@ -164,8 +164,8 @@ function (_super) {
164
164
  align: data.customize.align,
165
165
  data: firstGroup,
166
166
  GAData: __assign(__assign({}, GAData), {
167
- groupId: group.id,
168
- groupName: (0, _ConfigPanel.getSecondConfigName)(data, group.id)
167
+ groupId: firstGroup.id,
168
+ groupName: (0, _ConfigPanel.getSecondConfigName)(data, firstGroup.id)
169
169
  }),
170
170
  noShare: true,
171
171
  onPlayClick: function onPlayClick() {
@@ -421,7 +421,7 @@ function (_super) {
421
421
  }) // onItemClick={() => clickUrl(`/product/detail/${item.offerId}?productId=${item.sppProductId ?? ''}`)}
422
422
  ,
423
423
  onItemClick: function onItemClick() {
424
- return (0, _coreUtil.clickUrl)("proDetail-" + item.offerId + "-" + (item.sppProductId || '') + "}");
424
+ return (0, _coreUtil.clickUrl)("proDetail-" + item.offerId + "-" + (item.sppProductId || ''));
425
425
  },
426
426
  panelProps: panelProps.content,
427
427
  unknownPrice: isWill
@@ -539,7 +539,7 @@ function (_super) {
539
539
  imgWidth: imgWidth // onItemClick={() => clickUrl(`/product/detail/${item.offerId}?productId=${item.sppProductId ?? ''}`)}
540
540
  ,
541
541
  onItemClick: function onItemClick() {
542
- return (0, _coreUtil.clickUrl)("proDetail-" + item.offerId + "-" + (item.sppProductId || '') + "}");
542
+ return (0, _coreUtil.clickUrl)("proDetail-" + item.offerId + "-" + (item.sppProductId || ''));
543
543
  },
544
544
  panelProps: panelProps.content,
545
545
  unknownPrice: isWill
@@ -19,6 +19,8 @@ var _commonUtil = require("../../../../../utils/commonUtil");
19
19
 
20
20
  var _common = require("../../../../../common");
21
21
 
22
+ var _coreUtil = require("../../../../../utils/coreUtil");
23
+
22
24
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
23
25
 
24
26
  var __extends = void 0 && (void 0).__extends || function () {
@@ -281,7 +283,7 @@ var jumpUrlConfig = function jumpUrlConfig(item) {
281
283
  break;
282
284
  }
283
285
 
284
- (0, _commonUtil.navigateTo)(jumpUrl);
286
+ (0, _coreUtil.clickUrl)(jumpUrl);
285
287
  };
286
288
 
287
289
  var PcNavigationPage =
@@ -233,7 +233,7 @@ var LAYOUT_IMAGE_SIZE = {
233
233
  },
234
234
  layout2: {
235
235
  w: 100,
236
- h: '100%'
236
+ h: 100
237
237
  },
238
238
  layout3: {
239
239
  w: '100%',
@@ -660,7 +660,7 @@ function (_super) {
660
660
  imgWidth: imgWidth // onItemClick={() => clickUrl(`/product/detail/${item.offerId}?productId=${item.sppProductId || item.productId || ''}`)}
661
661
  ,
662
662
  onItemClick: function onItemClick() {
663
- return (0, _coreUtil.clickUrl)("proDetail-" + item.offerId + "-" + (item.sppProductId || item.productId || '') + "}");
663
+ return (0, _coreUtil.clickUrl)("proDetail-" + item.offerId + "-" + (item.sppProductId || item.productId || ''));
664
664
  },
665
665
  panelProps: panelProps.content,
666
666
  showProgress: false
@@ -164,8 +164,8 @@ function (_super) {
164
164
  align: data.customize.align,
165
165
  data: firstGroup,
166
166
  GAData: __assign(__assign({}, GAData), {
167
- groupId: group.id,
168
- groupName: (0, _ConfigPanel.getSecondConfigName)(data, group.id)
167
+ groupId: firstGroup.id,
168
+ groupName: (0, _ConfigPanel.getSecondConfigName)(data, firstGroup.id)
169
169
  }),
170
170
  noShare: true,
171
171
  onPlayClick: function onPlayClick() {
@@ -421,7 +421,7 @@ function (_super) {
421
421
  }) // onItemClick={() => clickUrl(`/product/detail/${item.offerId}?productId=${item.sppProductId ?? ''}`)}
422
422
  ,
423
423
  onItemClick: function onItemClick() {
424
- return (0, _coreUtil.clickUrl)("proDetail-" + item.offerId + "-" + (item.sppProductId || '') + "}");
424
+ return (0, _coreUtil.clickUrl)("proDetail-" + item.offerId + "-" + (item.sppProductId || ''));
425
425
  },
426
426
  panelProps: panelProps.content,
427
427
  unknownPrice: isWill
@@ -539,7 +539,7 @@ function (_super) {
539
539
  imgWidth: imgWidth // onItemClick={() => clickUrl(`/product/detail/${item.offerId}?productId=${item.sppProductId ?? ''}`)}
540
540
  ,
541
541
  onItemClick: function onItemClick() {
542
- return (0, _coreUtil.clickUrl)("proDetail-" + item.offerId + "-" + (item.sppProductId || '') + "}");
542
+ return (0, _coreUtil.clickUrl)("proDetail-" + item.offerId + "-" + (item.sppProductId || ''));
543
543
  },
544
544
  panelProps: panelProps.content,
545
545
  unknownPrice: isWill
@@ -19,6 +19,8 @@ var _commonUtil = require("../../../../../utils/commonUtil");
19
19
 
20
20
  var _common = require("../../../../../common");
21
21
 
22
+ var _coreUtil = require("../../../../../utils/coreUtil");
23
+
22
24
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
23
25
 
24
26
  var __extends = void 0 && (void 0).__extends || function () {
@@ -281,7 +283,7 @@ var jumpUrlConfig = function jumpUrlConfig(item) {
281
283
  break;
282
284
  }
283
285
 
284
- (0, _commonUtil.navigateTo)(jumpUrl);
286
+ (0, _coreUtil.clickUrl)(jumpUrl);
285
287
  };
286
288
 
287
289
  var PcNavigationPage =
@@ -233,7 +233,7 @@ var LAYOUT_IMAGE_SIZE = {
233
233
  },
234
234
  layout2: {
235
235
  w: 100,
236
- h: '100%'
236
+ h: 100
237
237
  },
238
238
  layout3: {
239
239
  w: '100%',
@@ -660,7 +660,7 @@ function (_super) {
660
660
  imgWidth: imgWidth // onItemClick={() => clickUrl(`/product/detail/${item.offerId}?productId=${item.sppProductId || item.productId || ''}`)}
661
661
  ,
662
662
  onItemClick: function onItemClick() {
663
- return (0, _coreUtil.clickUrl)("proDetail-" + item.offerId + "-" + (item.sppProductId || item.productId || '') + "}");
663
+ return (0, _coreUtil.clickUrl)("proDetail-" + item.offerId + "-" + (item.sppProductId || item.productId || ''));
664
664
  },
665
665
  panelProps: panelProps.content,
666
666
  showProgress: false
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "0.1.1",
4
+ "version": "0.1.3",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",