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.
52 lines
810 B
52 lines
810 B
|
1 week ago
|
const app = getApp<IAppOption>();
|
||
|
|
|
||
|
|
Component({
|
||
|
|
properties: {
|
||
|
|
current: {
|
||
|
|
type: Number,
|
||
|
|
value: 1,
|
||
|
|
},
|
||
|
|
},
|
||
|
|
|
||
|
|
data: {
|
||
|
|
imageUrl: app.globalData.imageUrl,
|
||
|
|
Timestamp: new Date().getTime(),
|
||
|
|
},
|
||
|
|
|
||
|
|
lifetimes: {
|
||
|
|
attached() {
|
||
|
|
this.setData({
|
||
|
|
Timestamp: new Date().getTime(),
|
||
|
|
});
|
||
|
|
},
|
||
|
|
},
|
||
|
|
|
||
|
|
methods: {
|
||
|
|
handleTabbar1() {
|
||
|
|
wx.reLaunch({
|
||
|
|
url: "/pages/1/index",
|
||
|
|
});
|
||
|
|
},
|
||
|
|
handleTabbar2() {
|
||
|
|
wx.reLaunch({
|
||
|
|
url: "/pages/4/index",
|
||
|
|
});
|
||
|
|
},
|
||
|
|
handleTabbar3() {
|
||
|
|
wx.navigateTo({
|
||
|
|
url: "/pages/7/index",
|
||
|
|
});
|
||
|
|
},
|
||
|
|
handleTabbar4() {
|
||
|
|
wx.reLaunch({
|
||
|
|
url: "/pages/5/index",
|
||
|
|
});
|
||
|
|
},
|
||
|
|
handleTabbar5() {
|
||
|
|
wx.reLaunch({
|
||
|
|
url: "/pages/6/index",
|
||
|
|
});
|
||
|
|
},
|
||
|
|
},
|
||
|
|
});
|