@fonixtree/magic-design 1.0.10 → 1.0.11
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/assets/fonts/.DS_Store +0 -0
- package/es/composite-comp/dito/components/SignBoard/mobile/index.js +10 -13
- package/es/composite-comp/dito/components/SignBoard/pc/index.js +8 -11
- package/lib/assets/fonts/.DS_Store +0 -0
- package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +10 -13
- package/lib/composite-comp/dito/components/SignBoard/pc/index.js +8 -11
- package/package.json +1 -1
|
Binary file
|
|
@@ -210,10 +210,9 @@ function (_super) {
|
|
|
210
210
|
|
|
211
211
|
_this.getStoreInfo = function () {
|
|
212
212
|
return __awaiter(_this, void 0, void 0, function () {
|
|
213
|
-
var storeId,
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
switch (_b.label) {
|
|
213
|
+
var storeId, storeDetailInfo;
|
|
214
|
+
return __generator(this, function (_a) {
|
|
215
|
+
switch (_a.label) {
|
|
217
216
|
case 0:
|
|
218
217
|
storeId = window.magicDesign.storeId;
|
|
219
218
|
if (!storeId) return [3
|
|
@@ -221,17 +220,15 @@ function (_super) {
|
|
|
221
220
|
, 2];
|
|
222
221
|
return [4
|
|
223
222
|
/*yield*/
|
|
224
|
-
,
|
|
225
|
-
storeId: storeId
|
|
226
|
-
})])];
|
|
223
|
+
, (0, _commonUtil.commonFetch)("/designer/v1/h5/store/detail/" + storeId, {}, 'GET')];
|
|
227
224
|
|
|
228
225
|
case 1:
|
|
229
|
-
|
|
226
|
+
storeDetailInfo = _a.sent();
|
|
230
227
|
this.setState({
|
|
231
|
-
storeInfo:
|
|
232
|
-
isFollow:
|
|
228
|
+
storeInfo: storeDetailInfo,
|
|
229
|
+
isFollow: storeDetailInfo.userHasFollowed == 'Y'
|
|
233
230
|
});
|
|
234
|
-
|
|
231
|
+
_a.label = 2;
|
|
235
232
|
|
|
236
233
|
case 2:
|
|
237
234
|
return [2
|
|
@@ -320,8 +317,8 @@ function (_super) {
|
|
|
320
317
|
action: 'operation',
|
|
321
318
|
params: {
|
|
322
319
|
type: 'CHAT',
|
|
323
|
-
storeId: storeInfo.storeId,
|
|
324
|
-
sysAccount: storeInfo.sysAccount
|
|
320
|
+
storeId: storeInfo === null || storeInfo === void 0 ? void 0 : storeInfo.storeId,
|
|
321
|
+
sysAccount: storeInfo === null || storeInfo === void 0 ? void 0 : storeInfo.sysAccount
|
|
325
322
|
}
|
|
326
323
|
};
|
|
327
324
|
window.magicDesign.handleAction(params);
|
|
@@ -212,10 +212,9 @@ function (_super) {
|
|
|
212
212
|
|
|
213
213
|
_this.getStoreInfo = function () {
|
|
214
214
|
return __awaiter(_this, void 0, void 0, function () {
|
|
215
|
-
var storeId,
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
switch (_b.label) {
|
|
215
|
+
var storeId, storeDetailInfo;
|
|
216
|
+
return __generator(this, function (_a) {
|
|
217
|
+
switch (_a.label) {
|
|
219
218
|
case 0:
|
|
220
219
|
storeId = window.magicDesign.storeId;
|
|
221
220
|
if (!storeId) return [3
|
|
@@ -223,17 +222,15 @@ function (_super) {
|
|
|
223
222
|
, 2];
|
|
224
223
|
return [4
|
|
225
224
|
/*yield*/
|
|
226
|
-
,
|
|
227
|
-
storeId: storeId
|
|
228
|
-
})])];
|
|
225
|
+
, (0, _commonUtil.commonFetch)("/designer/v1/h5/store/detail/" + storeId, {}, 'GET')];
|
|
229
226
|
|
|
230
227
|
case 1:
|
|
231
|
-
|
|
228
|
+
storeDetailInfo = _a.sent();
|
|
232
229
|
this.setState({
|
|
233
|
-
storeInfo:
|
|
234
|
-
isFollow:
|
|
230
|
+
storeInfo: storeDetailInfo,
|
|
231
|
+
isFollow: storeDetailInfo.userHasFollowed == 'Y'
|
|
235
232
|
});
|
|
236
|
-
|
|
233
|
+
_a.label = 2;
|
|
237
234
|
|
|
238
235
|
case 2:
|
|
239
236
|
return [2
|
|
Binary file
|
|
@@ -210,10 +210,9 @@ function (_super) {
|
|
|
210
210
|
|
|
211
211
|
_this.getStoreInfo = function () {
|
|
212
212
|
return __awaiter(_this, void 0, void 0, function () {
|
|
213
|
-
var storeId,
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
switch (_b.label) {
|
|
213
|
+
var storeId, storeDetailInfo;
|
|
214
|
+
return __generator(this, function (_a) {
|
|
215
|
+
switch (_a.label) {
|
|
217
216
|
case 0:
|
|
218
217
|
storeId = window.magicDesign.storeId;
|
|
219
218
|
if (!storeId) return [3
|
|
@@ -221,17 +220,15 @@ function (_super) {
|
|
|
221
220
|
, 2];
|
|
222
221
|
return [4
|
|
223
222
|
/*yield*/
|
|
224
|
-
,
|
|
225
|
-
storeId: storeId
|
|
226
|
-
})])];
|
|
223
|
+
, (0, _commonUtil.commonFetch)("/designer/v1/h5/store/detail/" + storeId, {}, 'GET')];
|
|
227
224
|
|
|
228
225
|
case 1:
|
|
229
|
-
|
|
226
|
+
storeDetailInfo = _a.sent();
|
|
230
227
|
this.setState({
|
|
231
|
-
storeInfo:
|
|
232
|
-
isFollow:
|
|
228
|
+
storeInfo: storeDetailInfo,
|
|
229
|
+
isFollow: storeDetailInfo.userHasFollowed == 'Y'
|
|
233
230
|
});
|
|
234
|
-
|
|
231
|
+
_a.label = 2;
|
|
235
232
|
|
|
236
233
|
case 2:
|
|
237
234
|
return [2
|
|
@@ -320,8 +317,8 @@ function (_super) {
|
|
|
320
317
|
action: 'operation',
|
|
321
318
|
params: {
|
|
322
319
|
type: 'CHAT',
|
|
323
|
-
storeId: storeInfo.storeId,
|
|
324
|
-
sysAccount: storeInfo.sysAccount
|
|
320
|
+
storeId: storeInfo === null || storeInfo === void 0 ? void 0 : storeInfo.storeId,
|
|
321
|
+
sysAccount: storeInfo === null || storeInfo === void 0 ? void 0 : storeInfo.sysAccount
|
|
325
322
|
}
|
|
326
323
|
};
|
|
327
324
|
window.magicDesign.handleAction(params);
|
|
@@ -212,10 +212,9 @@ function (_super) {
|
|
|
212
212
|
|
|
213
213
|
_this.getStoreInfo = function () {
|
|
214
214
|
return __awaiter(_this, void 0, void 0, function () {
|
|
215
|
-
var storeId,
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
switch (_b.label) {
|
|
215
|
+
var storeId, storeDetailInfo;
|
|
216
|
+
return __generator(this, function (_a) {
|
|
217
|
+
switch (_a.label) {
|
|
219
218
|
case 0:
|
|
220
219
|
storeId = window.magicDesign.storeId;
|
|
221
220
|
if (!storeId) return [3
|
|
@@ -223,17 +222,15 @@ function (_super) {
|
|
|
223
222
|
, 2];
|
|
224
223
|
return [4
|
|
225
224
|
/*yield*/
|
|
226
|
-
,
|
|
227
|
-
storeId: storeId
|
|
228
|
-
})])];
|
|
225
|
+
, (0, _commonUtil.commonFetch)("/designer/v1/h5/store/detail/" + storeId, {}, 'GET')];
|
|
229
226
|
|
|
230
227
|
case 1:
|
|
231
|
-
|
|
228
|
+
storeDetailInfo = _a.sent();
|
|
232
229
|
this.setState({
|
|
233
|
-
storeInfo:
|
|
234
|
-
isFollow:
|
|
230
|
+
storeInfo: storeDetailInfo,
|
|
231
|
+
isFollow: storeDetailInfo.userHasFollowed == 'Y'
|
|
235
232
|
});
|
|
236
|
-
|
|
233
|
+
_a.label = 2;
|
|
237
234
|
|
|
238
235
|
case 2:
|
|
239
236
|
return [2
|