jufubao-base 1.0.312-beta2 → 1.0.312-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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.312-beta2",
3
+ "version": "1.0.312-beta4",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -349,7 +349,8 @@ export default {
349
349
  uni.scanCode({
350
350
  scanType: ["qrCode"],
351
351
  success: (res) => {
352
- this.card_qrcode = res.resultStr;
352
+ this.card_qrcode = res.result;
353
+ console.log(JSON.stringify(res),'二维码成功');
353
354
  this.searchCode()
354
355
  },
355
356
  fail: (error) => {
@@ -374,6 +375,8 @@ export default {
374
375
 
375
376
  searchCode() {
376
377
  if (!this.card_number && !this.card_password && !this.card_qrcode) return;
378
+ console.log('可以扫码');
379
+
377
380
  let data = {};
378
381
  if (this.card_number) data.card_number = this.card_number;
379
382
  if (this.card_password) data.card_password = this.card_password;
@@ -396,6 +399,7 @@ export default {
396
399
  this.vipInfo = res;
397
400
  })
398
401
  .catch((e) => {
402
+ console.log(e,'扫码失败');
399
403
  this.$xdHideLoading();
400
404
  });
401
405
 
@@ -419,13 +423,13 @@ export default {
419
423
  .then((res) => {
420
424
  this.createStatus = false;
421
425
  this.openStatus = res.status;
426
+ this.main_order_id = res.main_order_id
422
427
  if (res.alert_message) {
423
428
  this.message = res.alert_message;
424
429
  this.showMessage = true;
425
430
  this.$xdHideLoading();
426
431
  return
427
432
  }
428
- this.main_order_id = res.main_order_id
429
433
  this.$xdHideLoading();
430
434
  // if (res.need_pay_price > 0) {
431
435
  // this.$xdUniHelper.redirectTo({
@@ -542,6 +546,7 @@ export default {
542
546
  right: 28rpx;
543
547
  top: 50%;
544
548
  transform: translate(0, -50%);
549
+ z-index: 3000;
545
550
  }
546
551
  & > .input {
547
552
  background: #fff3e6;