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 +1 -1
- package/src/components/JfbBaseCard/JfbBaseCard.vue +7 -0
- package/src/components/JfbBaseCard/Mock.js +1 -1
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +2 -0
- package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +8 -0
- package/src/components/JfbBaseCardV2/Mock.js +1 -1
- package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +1 -0
- package/src/components/JfbBaseCardV3/Mock.js +1 -1
package/package.json
CHANGED
|
@@ -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
|
});
|
|
@@ -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;
|