You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
const app = getApp<IAppOption>();
|
|
|
|
|
|
|
|
|
|
Page({
|
|
|
|
|
data: {
|
|
|
|
|
float1: false,
|
|
|
|
|
},
|
|
|
|
|
onShow() {
|
|
|
|
|
this.setData({
|
|
|
|
|
float1: app.globalData.float1_1 === null ? true : false,
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
handelTap1() {
|
|
|
|
|
wx.navigateTo({
|
|
|
|
|
url: "/pages/2/index",
|
|
|
|
|
});
|
|
|
|
|
this.handleHideFloat1()
|
|
|
|
|
},
|
|
|
|
|
handelTap2() {
|
|
|
|
|
wx.navigateTo({
|
|
|
|
|
url: "/pages/3/index",
|
|
|
|
|
});
|
|
|
|
|
this.handleHideFloat1()
|
|
|
|
|
},
|
|
|
|
|
handelTap3() {
|
|
|
|
|
wx.navigateTo({
|
|
|
|
|
url: "/pages/4/index",
|
|
|
|
|
});
|
|
|
|
|
this.handleHideFloat1()
|
|
|
|
|
},
|
|
|
|
|
handelTap4() {
|
|
|
|
|
wx.navigateTo({
|
|
|
|
|
url: "/pages/9/index?current=3",
|
|
|
|
|
});
|
|
|
|
|
this.handleHideFloat1()
|
|
|
|
|
},
|
|
|
|
|
handelTap5() {
|
|
|
|
|
wx.navigateTo({
|
|
|
|
|
url: "/pages/9/index",
|
|
|
|
|
});
|
|
|
|
|
this.handleHideFloat1()
|
|
|
|
|
},
|
|
|
|
|
handleTabbar2() {
|
|
|
|
|
wx.reLaunch({
|
|
|
|
|
url: "/pages/5/index",
|
|
|
|
|
});
|
|
|
|
|
this.handleHideFloat1()
|
|
|
|
|
},
|
|
|
|
|
handleTabbar3() {
|
|
|
|
|
wx.navigateTo({
|
|
|
|
|
url: "/pages/9/index",
|
|
|
|
|
});
|
|
|
|
|
this.handleHideFloat1()
|
|
|
|
|
},
|
|
|
|
|
handleTabbar4() {
|
|
|
|
|
wx.navigateTo({
|
|
|
|
|
url: "/pages/6/index",
|
|
|
|
|
});
|
|
|
|
|
this.handleHideFloat1()
|
|
|
|
|
},
|
|
|
|
|
handleTabbar5() {
|
|
|
|
|
wx.reLaunch({
|
|
|
|
|
url: "/pages/7/index",
|
|
|
|
|
});
|
|
|
|
|
this.handleHideFloat1()
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
handleFloat1() {
|
|
|
|
|
this.setData({
|
|
|
|
|
float1: false,
|
|
|
|
|
});
|
|
|
|
|
this.handleHideFloat1()
|
|
|
|
|
},
|
|
|
|
|
handleHideFloat1() {
|
|
|
|
|
app.globalData.float1_1 = "1";
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
export {};
|