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.
48 lines
760 B
48 lines
760 B
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.navigateTo({ |
|
url: "/pages/2/index", |
|
}); |
|
}, |
|
handleTabbar3() { |
|
wx.navigateTo({ |
|
url: "/pages/4/index", |
|
}); |
|
}, |
|
handleTabbar4() { |
|
}, |
|
handleTabbar5() { |
|
// wx.reLaunch({ |
|
// url: "/pages/6/index", |
|
// }); |
|
}, |
|
}, |
|
});
|
|
|