feat: 按设计图重做小程序首页

This commit is contained in:
que01 committed 2026-09-19 10:32:27 +08:00
1 parent 255756c6dd
commit 990b105086
3 files changed
+11 -3

No files matched your search

+3
View File
@@ -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' }); },
});