123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- Page({
-
- data: {
- homePath:'./home.wxml',
- mePath:'../me/me.wxml',
- PostagePath:'../Postage/Postage.wxml'
- },
-
- gotoOther(event){
-
-
- wx.navigateTo({
- url: '../other/other',
- success: (result)=>{},
- fail: ()=>{},
- complete: ()=>{},
- });
- },
-
- gotoMe(event){
-
-
- wx.navigateTo({
- url: '../me/me',
- success: (result)=>{},
- fail: ()=>{},
- complete: ()=>{},
- });
- },
-
- go(event){
-
-
-
-
-
-
-
- let { url , istab } = event.target.dataset;;
-
-
- let methodName = istab ? 'switchTab' : 'navigateTo'
- wx[methodName]({
- url,
- });
-
-
-
-
-
- },
- goo(url){
- wx.navigateTo({
- url,
- });
- },
-
- onLoad(options) {
- },
-
- onReady() {
- },
-
- onShow() {
- },
-
- onHide() {
- },
-
- onUnload() {
- },
-
- onPullDownRefresh() {
- },
-
- onReachBottom() {
- },
-
- onShareAppMessage() {
- }
- })
|