jufubao-base 1.0.32-beta2 → 1.0.32-beta4
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/package.json
CHANGED
|
@@ -28,16 +28,16 @@ export default {
|
|
|
28
28
|
{label: "不显示", value: "N"}
|
|
29
29
|
]
|
|
30
30
|
},
|
|
31
|
-
{
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
},
|
|
31
|
+
// {
|
|
32
|
+
// label: "定位地址非当前城市时",
|
|
33
|
+
// ele: "xd-radio",
|
|
34
|
+
// valueKey: "showSwitchCity",
|
|
35
|
+
// value: data.showSwitchCity || "N",
|
|
36
|
+
// list: [
|
|
37
|
+
// {label: "弹框提示切换", value: "Y"},
|
|
38
|
+
// {label: "不提示", value: "N"}
|
|
39
|
+
// ]
|
|
40
|
+
// },
|
|
41
41
|
data.showLocation==='Y' && {
|
|
42
42
|
label: '选择城市路径:', //label
|
|
43
43
|
ele: 'xd-select-pages-path', //package 名称
|
|
@@ -172,8 +172,8 @@
|
|
|
172
172
|
this.useSearch = getContainerPropsValue(container, "content.useSearch", "Y");
|
|
173
173
|
this.searchPagePath = getContainerPropsValue(container, "content.searchPagePath", {value:""}).value;
|
|
174
174
|
this.choseCityPath = getContainerPropsValue(container, "content.choseCityPath", {value:""}).value;
|
|
175
|
-
this.showSwitchCity = getContainerPropsValue(container, "content.showSwitchCity", "N");
|
|
176
|
-
this.setShowSwitchCity(
|
|
175
|
+
// this.showSwitchCity = getContainerPropsValue(container, "content.showSwitchCity", "N");
|
|
176
|
+
this.setShowSwitchCity(true);
|
|
177
177
|
|
|
178
178
|
|
|
179
179
|
//基础
|
|
@@ -148,6 +148,7 @@ export default {
|
|
|
148
148
|
if (this.timeer) {
|
|
149
149
|
clearTimeout(this.timeer);
|
|
150
150
|
}
|
|
151
|
+
this.$xdLog.setARMSInfo({message: '订单完成',}, `recharge_success`);
|
|
151
152
|
return;
|
|
152
153
|
}
|
|
153
154
|
|
|
@@ -156,30 +157,19 @@ export default {
|
|
|
156
157
|
if (this.timeer) {
|
|
157
158
|
clearTimeout(this.timeer);
|
|
158
159
|
}
|
|
160
|
+
this.$xdLog.setARMSInfo({message: '订单失败',}, `recharge_fail`);
|
|
159
161
|
return;
|
|
160
|
-
}
|
|
162
|
+
}
|
|
161
163
|
if (this.$xdUniHelper.checkVarType(this.info) === "object") {
|
|
162
164
|
this.time++;
|
|
163
165
|
this.timeer = setTimeout(() => {
|
|
164
166
|
this.getStatus();
|
|
167
|
+
if (this.time > 5) this.$xdLog.setARMSInfo({message: '进行中',}, 'recharge_loading');
|
|
165
168
|
}, Math.pow(this.date, this.time > this.maxTime ? this.maxTime : this.time) * 1000);
|
|
166
169
|
}
|
|
167
170
|
},
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
clearTimeout(this.timeer)
|
|
171
|
-
}
|
|
172
|
-
},
|
|
173
|
-
onJfbScroll(options) {
|
|
174
|
-
console.log("event.onJfbScroll", options);
|
|
175
|
-
},
|
|
176
|
-
onJfbReachBottom(options) {
|
|
177
|
-
console.log("event.onJfbReachBottom", options);
|
|
178
|
-
},
|
|
179
|
-
onJfbShow(options) {
|
|
180
|
-
console.log("event.onJfbShow", options);
|
|
181
|
-
},
|
|
182
|
-
onJfbHide() {
|
|
171
|
+
|
|
172
|
+
onJfbUnload() {
|
|
183
173
|
if (this.timeer) {
|
|
184
174
|
clearTimeout(this.timeer);
|
|
185
175
|
}
|
|
@@ -188,15 +178,8 @@ export default {
|
|
|
188
178
|
if (this.timeer) {
|
|
189
179
|
clearTimeout(this.timeer);
|
|
190
180
|
}
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
console.log("event.onJfbBack", options);
|
|
194
|
-
},
|
|
195
|
-
onJfbUpdate(...data) {
|
|
196
|
-
console.log("event.onJfbUpdate", data);
|
|
197
|
-
},
|
|
198
|
-
onJfbCustomEvent(options) {
|
|
199
|
-
console.log("event.onJfbReachBottom", options);
|
|
181
|
+
this.time = 0;
|
|
182
|
+
this.getStatus();
|
|
200
183
|
},
|
|
201
184
|
},
|
|
202
185
|
};
|
|
@@ -433,6 +433,7 @@ export default {
|
|
|
433
433
|
if (this.timeer) {
|
|
434
434
|
clearTimeout(this.timeer);
|
|
435
435
|
}
|
|
436
|
+
this.$xdLog.setARMSInfo({message: '订单完成',}, `pay_${this.info.status.status_type}`);
|
|
436
437
|
return;
|
|
437
438
|
}
|
|
438
439
|
|
|
@@ -441,6 +442,7 @@ export default {
|
|
|
441
442
|
if (this.timeer) {
|
|
442
443
|
clearTimeout(this.timeer);
|
|
443
444
|
}
|
|
445
|
+
this.$xdLog.setARMSInfo({message: '订单失败',}, `pay_${this.info.status.status_type}`);
|
|
444
446
|
return;
|
|
445
447
|
}
|
|
446
448
|
|
|
@@ -448,6 +450,7 @@ export default {
|
|
|
448
450
|
this.time++;
|
|
449
451
|
this.timeer = setTimeout(() => {
|
|
450
452
|
this.intval();
|
|
453
|
+
if(this.time > 5) this.$xdLog.setARMSInfo({message: '进行中',}, `pay_${this.info.status.status_type}`);
|
|
451
454
|
}, Math.pow(this.date, this.time > this.maxTime ? this.maxTime : this.time) * 1000);
|
|
452
455
|
}
|
|
453
456
|
},
|
|
@@ -479,6 +482,8 @@ export default {
|
|
|
479
482
|
if (this.timeer) {
|
|
480
483
|
clearTimeout(this.timeer);
|
|
481
484
|
}
|
|
485
|
+
this.time = 0;
|
|
486
|
+
this.getStatus();
|
|
482
487
|
},
|
|
483
488
|
|
|
484
489
|
onJfbUnload() {
|