|
@@ -14,8 +14,12 @@ App({
|
|
|
onLaunch() {
|
|
|
this.checkIsIos()
|
|
|
this.getNavbarInfo()
|
|
|
- let res = wx.getLaunchOptionsSync()
|
|
|
- console.log(res, 'res');
|
|
|
+ let {
|
|
|
+ scene
|
|
|
+ } = wx.getLaunchOptionsSync()
|
|
|
+ console.log(scene, 'res');
|
|
|
+
|
|
|
+ this.globalData.scene = scene
|
|
|
},
|
|
|
async onShow(options) {
|
|
|
this.storeBindings = createStoreBindings(this, {
|
|
@@ -78,6 +82,7 @@ App({
|
|
|
globalData: {
|
|
|
userInfo: null,
|
|
|
isIOS: false,
|
|
|
+ scene: '',
|
|
|
navBarHeight: 0,
|
|
|
menuRight: 0,
|
|
|
menuTop: 0,
|