@fonixtree/magic-design 1.0.92 → 1.0.94
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.
|
@@ -377,16 +377,16 @@ function (_super) {
|
|
|
377
377
|
};
|
|
378
378
|
|
|
379
379
|
FlashDealMobile.prototype.render = function () {
|
|
380
|
-
var _a;
|
|
380
|
+
var _a, _b;
|
|
381
381
|
|
|
382
382
|
var panelProps = this.props.panelProps;
|
|
383
383
|
console.log('flash deal panelProps: ', panelProps);
|
|
384
|
-
var
|
|
385
|
-
list =
|
|
386
|
-
effDate =
|
|
387
|
-
expDate =
|
|
388
|
-
now =
|
|
389
|
-
isWill =
|
|
384
|
+
var _c = this.state,
|
|
385
|
+
list = _c.list,
|
|
386
|
+
effDate = _c.effDate,
|
|
387
|
+
expDate = _c.expDate,
|
|
388
|
+
now = _c.now,
|
|
389
|
+
isWill = _c.isWill;
|
|
390
390
|
|
|
391
391
|
var _list = list.length === 0 && (0, _coreUtil.isDesignMode)() ? defaultData : list;
|
|
392
392
|
|
|
@@ -405,7 +405,7 @@ function (_super) {
|
|
|
405
405
|
data: panelProps.title.headline
|
|
406
406
|
}), isWill && /*#__PURE__*/_react["default"].createElement("span", {
|
|
407
407
|
className: "sub-title"
|
|
408
|
-
}, (0, _locale.i18n)('NEXT')), ((_a = panelProps.title) === null || _a === void 0 ? void 0 : _a.countDown.open) && /*#__PURE__*/_react["default"].createElement(_CountDown["default"], {
|
|
408
|
+
}, (0, _locale.i18n)('NEXT')), ((_a = panelProps.title) === null || _a === void 0 ? void 0 : _a.countDown) && ((_b = panelProps.title.countDown) === null || _b === void 0 ? void 0 : _b.open) && /*#__PURE__*/_react["default"].createElement(_CountDown["default"], {
|
|
409
409
|
effDate: effDate,
|
|
410
410
|
expDate: expDate,
|
|
411
411
|
now: now,
|
|
@@ -377,16 +377,16 @@ function (_super) {
|
|
|
377
377
|
};
|
|
378
378
|
|
|
379
379
|
FlashDealMobile.prototype.render = function () {
|
|
380
|
-
var _a;
|
|
380
|
+
var _a, _b;
|
|
381
381
|
|
|
382
382
|
var panelProps = this.props.panelProps;
|
|
383
383
|
console.log('flash deal panelProps: ', panelProps);
|
|
384
|
-
var
|
|
385
|
-
list =
|
|
386
|
-
effDate =
|
|
387
|
-
expDate =
|
|
388
|
-
now =
|
|
389
|
-
isWill =
|
|
384
|
+
var _c = this.state,
|
|
385
|
+
list = _c.list,
|
|
386
|
+
effDate = _c.effDate,
|
|
387
|
+
expDate = _c.expDate,
|
|
388
|
+
now = _c.now,
|
|
389
|
+
isWill = _c.isWill;
|
|
390
390
|
|
|
391
391
|
var _list = list.length === 0 && (0, _coreUtil.isDesignMode)() ? defaultData : list;
|
|
392
392
|
|
|
@@ -405,7 +405,7 @@ function (_super) {
|
|
|
405
405
|
data: panelProps.title.headline
|
|
406
406
|
}), isWill && /*#__PURE__*/_react["default"].createElement("span", {
|
|
407
407
|
className: "sub-title"
|
|
408
|
-
}, (0, _locale.i18n)('NEXT')), ((_a = panelProps.title) === null || _a === void 0 ? void 0 : _a.countDown.open) && /*#__PURE__*/_react["default"].createElement(_CountDown["default"], {
|
|
408
|
+
}, (0, _locale.i18n)('NEXT')), ((_a = panelProps.title) === null || _a === void 0 ? void 0 : _a.countDown) && ((_b = panelProps.title.countDown) === null || _b === void 0 ? void 0 : _b.open) && /*#__PURE__*/_react["default"].createElement(_CountDown["default"], {
|
|
409
409
|
effDate: effDate,
|
|
410
410
|
expDate: expDate,
|
|
411
411
|
now: now,
|