|
@@ -29,14 +29,6 @@ Component({ |
|
|
statusBarHeight: app.statusBarHeight + 'px', |
|
|
statusBarHeight: app.statusBarHeight + 'px', |
|
|
navigationBarHeight: (app.statusBarHeight + 44) + 'px' |
|
|
navigationBarHeight: (app.statusBarHeight + 44) + 'px' |
|
|
}, |
|
|
}, |
|
|
ready(){ |
|
|
|
|
|
let pages = getCurrentPages(); |
|
|
|
|
|
if (pages&&pages.length>0){ |
|
|
|
|
|
this.setData({ |
|
|
|
|
|
back:false |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
methods: { |
|
|
methods: { |
|
|
backHome: function () { |
|
|
backHome: function () { |
|
|
wx.switchTab({ |
|
|
wx.switchTab({ |
|
|