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.
43 lines
660 B
43 lines
660 B
|
1 year ago
|
const _app = getApp<IAppOption>();
|
||
|
|
|
||
|
|
Page({
|
||
|
|
data: {
|
||
|
|
float1: true,
|
||
|
|
float2: false,
|
||
|
|
float3: false,
|
||
|
|
},
|
||
|
|
onLoad() {
|
||
|
|
this.setData({
|
||
|
|
float1: wx.getStorageSync("1float1") !== "1",
|
||
|
|
});
|
||
|
|
},
|
||
|
|
handelTap1() {
|
||
|
|
wx.navigateTo({
|
||
|
|
url: "/pages/2/index",
|
||
|
|
});
|
||
|
|
},
|
||
|
|
handelTap2() {
|
||
|
|
wx.navigateTo({
|
||
|
|
url: "/pages/8/index",
|
||
|
|
});
|
||
|
|
},
|
||
|
|
handleFloat1() {
|
||
|
|
this.setData({
|
||
|
|
float1: false,
|
||
|
|
});
|
||
|
|
wx.setStorageSync("1float1", "1");
|
||
|
|
},
|
||
|
|
handleTabbar2() {
|
||
|
|
wx.navigateTo({
|
||
|
|
url: "/pages/4/index",
|
||
|
|
});
|
||
|
|
},
|
||
|
|
handleTabbar3() {
|
||
|
|
wx.navigateTo({
|
||
|
|
url: "/pages/7/index",
|
||
|
|
});
|
||
|
|
},
|
||
|
|
});
|
||
|
|
|
||
|
|
export {};
|