fix: 使用微信原生底部导航
This commit is contained in:
1 parent
3da24ede37
commit
c919d7a866
9 files changed
+9
-5
No files matched your search
@@ -15,9 +15,9 @@ Page({
|
||||
}).catch(() => this.setData({ loading: false, error: '暂时无法加载内容' }));
|
||||
},
|
||||
selectService(event) { wx.navigateTo({ url: '/pages/booking/index?serviceId=' + encodeURIComponent(event.currentTarget.dataset.id) }); },
|
||||
goServices() { wx.navigateTo({ url: '/pages/services/index' }); },
|
||||
goServices() { wx.switchTab({ url: '/pages/services/index' }); },
|
||||
goPrivateChef() { wx.navigateTo({ url: '/pages/booking/index?type=private_chef' }); },
|
||||
goBooking() { wx.navigateTo({ url: '/pages/booking/index' }); },
|
||||
goBookings() { wx.navigateTo({ url: '/pages/bookings/index' }); },
|
||||
goHome() { wx.reLaunch({ url: '/pages/index/index' }); },
|
||||
goBookings() { wx.switchTab({ url: '/pages/bookings/index' }); },
|
||||
goHome() { wx.switchTab({ url: '/pages/index/index' }); },
|
||||
});
|
||||
Reference in new issue
Block a user