jufubao-base 1.0.403-beta2 → 1.0.403-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.403-beta2",
3
+ "version": "1.0.403-beta3",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -351,6 +351,7 @@ export default {
351
351
  },
352
352
  data() {
353
353
  return {
354
+ closeMask:true,
354
355
  show_type: "normal", //normal正常票券;coupon 满减券
355
356
  options: {},
356
357
  inCallbackUrlOrg:'',//是否带有回调地址
@@ -501,6 +502,8 @@ export default {
501
502
  },
502
503
 
503
504
  handleToLink(path) {
505
+ if (this.$configProject['isPreview']) return;
506
+
504
507
  path = this.getUrlCallback(path);
505
508
  this.$xdUniHelper.navigateTo({
506
509
  url: path,
@@ -537,6 +540,8 @@ export default {
537
540
  * @description 扫码绑定
538
541
  */
539
542
  handleScan() {
543
+ if (this.$configProject['isPreview']) return;
544
+
540
545
  try {
541
546
  //#ifdef H5
542
547
  if (this.jwxSDK !== null) {
@@ -577,6 +582,8 @@ export default {
577
582
  },
578
583
 
579
584
  handleToDisabled() {
585
+ if (this.$configProject['isPreview']) return;
586
+
580
587
  this.$xdUniHelper.navigateTo({
581
588
  url: `${this.disabledUrl}`,
582
589
  });
@@ -18,7 +18,7 @@ module.exports = {
18
18
  "business_codes": [
19
19
  "cake"
20
20
  ],
21
- "is_login": "N",
21
+ "is_login": "Y",
22
22
  "consume_type": "1",
23
23
  "card_use_rule": "可凭本票券到蛋糕(勿改)使用",
24
24
  "is_transfering": "N",
@@ -750,6 +750,7 @@ export default {
750
750
 
751
751
  handleToLink(path) {
752
752
  if (this.$configProject['isPreview']) return
753
+
753
754
  path = this.getUrlCallback(path)
754
755
  this.$xdUniHelper.navigateTo({
755
756
  url: path,
@@ -1070,6 +1071,7 @@ export default {
1070
1071
 
1071
1072
  toBuyNew() {
1072
1073
  if (this.$configProject['isPreview']) return
1074
+
1073
1075
  this.$xdUniHelper.navigateTo({
1074
1076
  url: `${this.buy_new_url}`,
1075
1077
  });
@@ -163,6 +163,7 @@
163
163
  ],
164
164
  data() {
165
165
  return {
166
+ closeMask:true,
166
167
  options: {},
167
168
  cardList: [],
168
169
  inCallback: "",
@@ -364,23 +365,30 @@
364
365
  },
365
366
 
366
367
  toBindCard(){
368
+ if (this.$configProject['isPreview']) return;
369
+
367
370
  let path = this.getUrlCallback(this.cardBindPath)
368
371
  this.$xdUniHelper.navigateTo({
369
372
  url:path
370
373
  })
371
374
  },
372
375
  toBuyNew() {
376
+ if (this.$configProject['isPreview']) return;
377
+
373
378
  this.$xdUniHelper.navigateTo({
374
379
  url: `${this.buy_new_url}`,
375
380
  });
376
381
  },
377
382
  toOrderList(){
383
+ if (this.$configProject['isPreview']) return;
384
+
378
385
  this.$xdUniHelper.navigateTo({
379
386
  url: this.orderListPath
380
387
  })
381
388
  },
382
389
  toDetail(item){
383
390
  if(this.$configProject.isPreview) return;
391
+
384
392
  //检查卡券状态
385
393
  if(item.card_status) {
386
394
  if(item.card_status !== 'Y') return;
@@ -20,7 +20,7 @@ module.exports = {
20
20
  ],
21
21
  "card_status": "Y",
22
22
  "card_status_name": "正常",
23
- "is_login": "N",
23
+ "is_login": "Y",
24
24
  "consume_type": "1",
25
25
  "card_use_rule": "可凭本票券到蛋糕(勿改)使用",
26
26
  "is_transfering": "N",
@@ -78,6 +78,7 @@
78
78
  ],
79
79
  data() {
80
80
  return {
81
+ closeMask:true,
81
82
  options: {},
82
83
  show_coupon_tab: "N",
83
84
  show_type: "normal",
@@ -43,7 +43,7 @@ module.exports = {
43
43
  "business_codes": [
44
44
  "travel"
45
45
  ],
46
- "is_login": "N",
46
+ "is_login": "Y",
47
47
  "consume_type": "1",
48
48
  "card_use_rule": "可凭本票券到旅游(勿改)使用",
49
49
  "is_transfering": "N",