jufubao-base 1.0.32-beta2 → 1.0.32-beta3

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.32-beta2",
3
+ "version": "1.0.32-beta3",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -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
- destroyed() {
169
- if (this.timeer) {
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
- onJfbBack(options) {
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() {