@fonixtree/magic-design 1.0.77 → 1.0.78
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/composite-comp/dito/components/SignBoard/mobile/index.js +4 -3
- package/es/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.js +5 -9
- package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +4 -3
- package/lib/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.js +5 -9
- package/package.json +1 -1
- package/es/assets/fonts/.DS_Store +0 -0
- package/lib/assets/fonts/.DS_Store +0 -0
|
@@ -13,8 +13,6 @@ var _antd = require("antd");
|
|
|
13
13
|
|
|
14
14
|
var _common = require("../../../../../common");
|
|
15
15
|
|
|
16
|
-
var _coreUtil = require("../../../../../utils/coreUtil");
|
|
17
|
-
|
|
18
16
|
var _star = _interopRequireDefault(require("../imgs/star.svg"));
|
|
19
17
|
|
|
20
18
|
var _commonUtil = require("../../../../../utils/commonUtil");
|
|
@@ -241,7 +239,10 @@ function (_super) {
|
|
|
241
239
|
|
|
242
240
|
_this.searchProduct = function () {
|
|
243
241
|
var storeId = window.magicDesign.storeId;
|
|
244
|
-
(0,
|
|
242
|
+
(0, _commonUtil.navigateTo)('/product/list', {
|
|
243
|
+
q: _this.state.inputVal,
|
|
244
|
+
storeId: storeId
|
|
245
|
+
}); // clickUrl(`/product/list?q=${this.state.inputVal}&storeId=${storeId}`);
|
|
245
246
|
};
|
|
246
247
|
|
|
247
248
|
_this.clickCollect = function () {
|
|
@@ -71,7 +71,7 @@ function (_super) {
|
|
|
71
71
|
AComponent.prototype.render = function () {
|
|
72
72
|
var _this = this;
|
|
73
73
|
|
|
74
|
-
var _a, _b;
|
|
74
|
+
var _a, _b, _c;
|
|
75
75
|
|
|
76
76
|
var panelProps = this.props.panelProps;
|
|
77
77
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -131,26 +131,22 @@ function (_super) {
|
|
|
131
131
|
}, (0, _locale.i18n)('SALES_PROGRESS')), /*#__PURE__*/_react["default"].createElement(_antd.Switch, {
|
|
132
132
|
checked: (_a = panelProps.salesProgress) === null || _a === void 0 ? void 0 : _a.open,
|
|
133
133
|
onChange: function onChange(v) {
|
|
134
|
-
panelProps.salesProgress =
|
|
135
|
-
open: v
|
|
136
|
-
};
|
|
134
|
+
panelProps.salesProgress.open = v;
|
|
137
135
|
|
|
138
136
|
_this.reRender();
|
|
139
137
|
}
|
|
140
|
-
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
138
|
+
})), ((_b = panelProps.salesProgress) === null || _b === void 0 ? void 0 : _b.open) && /*#__PURE__*/_react["default"].createElement("div", {
|
|
141
139
|
className: "content"
|
|
142
140
|
}, /*#__PURE__*/_react["default"].createElement("p", {
|
|
143
141
|
className: "name"
|
|
144
142
|
}, (0, _locale.i18n)('PROGRESS_BAR_COLOR')), /*#__PURE__*/_react["default"].createElement(_common.ColorPickerInput, {
|
|
145
143
|
colorType: "rgba",
|
|
146
144
|
onChange: function onChange(v) {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
(_a = panelProps.salesProgress) === null || _a === void 0 ? void 0 : _a.color = v;
|
|
145
|
+
panelProps.salesProgress.color = v;
|
|
150
146
|
|
|
151
147
|
_this.reRender();
|
|
152
148
|
},
|
|
153
|
-
value: (
|
|
149
|
+
value: (_c = panelProps.salesProgress) === null || _c === void 0 ? void 0 : _c.color
|
|
154
150
|
}))));
|
|
155
151
|
};
|
|
156
152
|
|
|
@@ -13,8 +13,6 @@ var _antd = require("antd");
|
|
|
13
13
|
|
|
14
14
|
var _common = require("../../../../../common");
|
|
15
15
|
|
|
16
|
-
var _coreUtil = require("../../../../../utils/coreUtil");
|
|
17
|
-
|
|
18
16
|
var _star = _interopRequireDefault(require("../imgs/star.svg"));
|
|
19
17
|
|
|
20
18
|
var _commonUtil = require("../../../../../utils/commonUtil");
|
|
@@ -241,7 +239,10 @@ function (_super) {
|
|
|
241
239
|
|
|
242
240
|
_this.searchProduct = function () {
|
|
243
241
|
var storeId = window.magicDesign.storeId;
|
|
244
|
-
(0,
|
|
242
|
+
(0, _commonUtil.navigateTo)('/product/list', {
|
|
243
|
+
q: _this.state.inputVal,
|
|
244
|
+
storeId: storeId
|
|
245
|
+
}); // clickUrl(`/product/list?q=${this.state.inputVal}&storeId=${storeId}`);
|
|
245
246
|
};
|
|
246
247
|
|
|
247
248
|
_this.clickCollect = function () {
|
|
@@ -71,7 +71,7 @@ function (_super) {
|
|
|
71
71
|
AComponent.prototype.render = function () {
|
|
72
72
|
var _this = this;
|
|
73
73
|
|
|
74
|
-
var _a, _b;
|
|
74
|
+
var _a, _b, _c;
|
|
75
75
|
|
|
76
76
|
var panelProps = this.props.panelProps;
|
|
77
77
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -131,26 +131,22 @@ function (_super) {
|
|
|
131
131
|
}, (0, _locale.i18n)('SALES_PROGRESS')), /*#__PURE__*/_react["default"].createElement(_antd.Switch, {
|
|
132
132
|
checked: (_a = panelProps.salesProgress) === null || _a === void 0 ? void 0 : _a.open,
|
|
133
133
|
onChange: function onChange(v) {
|
|
134
|
-
panelProps.salesProgress =
|
|
135
|
-
open: v
|
|
136
|
-
};
|
|
134
|
+
panelProps.salesProgress.open = v;
|
|
137
135
|
|
|
138
136
|
_this.reRender();
|
|
139
137
|
}
|
|
140
|
-
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
138
|
+
})), ((_b = panelProps.salesProgress) === null || _b === void 0 ? void 0 : _b.open) && /*#__PURE__*/_react["default"].createElement("div", {
|
|
141
139
|
className: "content"
|
|
142
140
|
}, /*#__PURE__*/_react["default"].createElement("p", {
|
|
143
141
|
className: "name"
|
|
144
142
|
}, (0, _locale.i18n)('PROGRESS_BAR_COLOR')), /*#__PURE__*/_react["default"].createElement(_common.ColorPickerInput, {
|
|
145
143
|
colorType: "rgba",
|
|
146
144
|
onChange: function onChange(v) {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
(_a = panelProps.salesProgress) === null || _a === void 0 ? void 0 : _a.color = v;
|
|
145
|
+
panelProps.salesProgress.color = v;
|
|
150
146
|
|
|
151
147
|
_this.reRender();
|
|
152
148
|
},
|
|
153
|
-
value: (
|
|
149
|
+
value: (_c = panelProps.salesProgress) === null || _c === void 0 ? void 0 : _c.color
|
|
154
150
|
}))));
|
|
155
151
|
};
|
|
156
152
|
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|