feat: 按设计图重做小程序首页
This commit is contained in:
1 parent
255756c6dd
commit
990b105086
3 files changed
+11
-3
No files matched your search
@@ -13,4 +13,7 @@ Page({
|
||||
return new Promise((resolve, reject) => wx.request({ url: API_BASE_URL + path, success: (res) => res.statusCode < 400 ? resolve(res.data) : reject(res), fail: reject }));
|
||||
},
|
||||
selectService(event) { wx.navigateTo({ url: '/pages/booking/index?serviceId=' + encodeURIComponent(event.currentTarget.dataset.id) }); },
|
||||
goServices() { wx.navigateTo({ url: '/pages/services/index' }); },
|
||||
goPrivateChef() { wx.navigateTo({ url: '/pages/booking/index?type=private_chef' }); },
|
||||
goBookings() { wx.navigateTo({ url: '/pages/bookings/index' }); },
|
||||
});
|
||||
Reference in new issue
Block a user