fix: 严格区分预约和我的订单页面
This commit is contained in:
1 parent
13ead2d426
commit
21b2262294
5 files changed
+5
-4
No files matched your search
@@ -16,6 +16,7 @@ Page({
|
||||
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' }); },
|
||||
goBooking() { wx.navigateTo({ url: '/pages/booking/index' }); },
|
||||
goBookings() { wx.navigateTo({ url: '/pages/bookings/index' }); },
|
||||
goHome() { wx.reLaunch({ url: '/pages/index/index' }); },
|
||||
});
|
||||
@@ -10,5 +10,5 @@
|
||||
<view class="section-title services-title">今日服务</view>
|
||||
<view wx:for="{{services}}" wx:key="id" class="service" data-id="{{item.id}}" bindtap="selectService"><view><text class="service-name">{{item.name}}</text><text class="description">{{item.description}}</text></view><text class="price">{{item.priceText}}</text></view>
|
||||
</block>
|
||||
<view class="tabbar"><view class="tab active" bindtap="goHome">⌂<text>首页</text></view><view class="tab" bindtap="goServices">▦<text>服务</text></view><view class="tab" bindtap="goBookings">▤<text>预约</text></view><view class="tab" bindtap="goBookings">♙<text>我的</text></view></view>
|
||||
<view class="tabbar"><view class="tab active" bindtap="goHome">⌂<text>首页</text></view><view class="tab" bindtap="goServices">▦<text>服务</text></view><view class="tab" bindtap="goBooking">▤<text>预约</text></view><view class="tab" bindtap="goBookings">♙<text>我的</text></view></view>
|
||||
</view>
|
||||
Reference in new issue
Block a user