@fonixtree/magic-design 1.0.158 → 1.0.159

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.
@@ -80,6 +80,10 @@
80
80
  width: 35%;
81
81
  height: 42%;
82
82
  overflow-y: auto;
83
+
84
+ p {
85
+ min-height: 1em;
86
+ }
83
87
  }
84
88
 
85
89
  .btnApply {
@@ -364,13 +364,11 @@ var clickUrl = function clickUrl(url, state) {
364
364
  }
365
365
 
366
366
  var _b = _typeof(url) === 'object' ? (0, _businessUtil.newParseUrl)(url) : (0, _businessUtil.parseUrl)(url),
367
- _link = _b.link,
367
+ link = _b.link,
368
368
  data = _b.data;
369
369
 
370
- var link = isPc() ? "web" + _link : _link;
371
370
  var _c = data.params,
372
- params = _c === void 0 ? {} : _c;
373
- console.log('params...', params); // PC商品卡片弹窗
371
+ params = _c === void 0 ? {} : _c; // PC商品卡片弹窗
374
372
 
375
373
  if (params.type === 'CARD_PRODUCT_LIST') {
376
374
  createProdCardModal(params.offerIds);
@@ -438,7 +436,7 @@ var clickUrl = function clickUrl(url, state) {
438
436
  }
439
437
  } else {
440
438
  if (isPc()) {
441
- window.location.href += link;
439
+ window.location.href += "web" + link;
442
440
  } else {
443
441
  (0, _commonUtil.navigateTo)(link, state);
444
442
  }
@@ -80,6 +80,10 @@
80
80
  width: 35%;
81
81
  height: 42%;
82
82
  overflow-y: auto;
83
+
84
+ p {
85
+ min-height: 1em;
86
+ }
83
87
  }
84
88
 
85
89
  .btnApply {
@@ -364,13 +364,11 @@ var clickUrl = function clickUrl(url, state) {
364
364
  }
365
365
 
366
366
  var _b = _typeof(url) === 'object' ? (0, _businessUtil.newParseUrl)(url) : (0, _businessUtil.parseUrl)(url),
367
- _link = _b.link,
367
+ link = _b.link,
368
368
  data = _b.data;
369
369
 
370
- var link = isPc() ? "web" + _link : _link;
371
370
  var _c = data.params,
372
- params = _c === void 0 ? {} : _c;
373
- console.log('params...', params); // PC商品卡片弹窗
371
+ params = _c === void 0 ? {} : _c; // PC商品卡片弹窗
374
372
 
375
373
  if (params.type === 'CARD_PRODUCT_LIST') {
376
374
  createProdCardModal(params.offerIds);
@@ -438,7 +436,7 @@ var clickUrl = function clickUrl(url, state) {
438
436
  }
439
437
  } else {
440
438
  if (isPc()) {
441
- window.location.href += link;
439
+ window.location.href += "web" + link;
442
440
  } else {
443
441
  (0, _commonUtil.navigateTo)(link, state);
444
442
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "1.0.158",
4
+ "version": "1.0.159",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",