|
@@ -21,6 +21,14 @@ Component({
|
|
|
this.setData({
|
|
|
qrCode: qrCode.ticketUrl
|
|
|
})
|
|
|
+ console.log(typeof this.getTabBar === 'function' &&
|
|
|
+ this.getTabBar());
|
|
|
+ if (typeof this.getTabBar === 'function' &&
|
|
|
+ this.getTabBar()) {
|
|
|
+ this.getTabBar().setData({
|
|
|
+ mask: true
|
|
|
+ })
|
|
|
+ }
|
|
|
this.setData({
|
|
|
show: true,
|
|
|
})
|
|
@@ -30,6 +38,12 @@ Component({
|
|
|
this.setData({
|
|
|
show: false
|
|
|
})
|
|
|
+ if (typeof this.getTabBar === 'function' &&
|
|
|
+ this.getTabBar()) {
|
|
|
+ this.getTabBar().setData({
|
|
|
+ mask: false
|
|
|
+ })
|
|
|
+ }
|
|
|
},
|
|
|
}
|
|
|
})
|