|
@@ -24,15 +24,87 @@ |
|
@@ -24,15 +24,87 @@ |
|
24
|
|
24
|
|
|
25
|
<detail-status detail="{{detail}}" ></detail-status>
|
25
|
<detail-status detail="{{detail}}" ></detail-status>
|
|
26
|
<detail-card detail="{{detail}}"></detail-card>
|
26
|
<detail-card detail="{{detail}}"></detail-card>
|
|
27
|
- <view class="flex padding justify-end align-center">
|
|
|
|
28
|
-
|
27
|
+ <view class="flex padding justify-end align-center margin-top">
|
|
|
|
28
|
+ <navigator url="/pages/reserve/reserve?id={{detail.sid}}&activeTab=reserve"
|
|
|
|
29
|
+ wx:if="{{detail.hasCancel || detail.status==6}}"
|
|
|
|
30
|
+ hover-class="navigator-hover">
|
|
|
|
31
|
+ <view class="min-but flex align-center justify-center txt-30-h solid">再次预订</view>
|
|
|
|
32
|
+ </navigator>
|
|
|
|
33
|
+ <navigator url="./cancel?id={{detail.id}}"
|
|
|
|
34
|
+ wx:if="{{(detail.hasRunning || detail.status==0) && checkout.status!=3}}"
|
|
|
|
35
|
+ hover-class="navigator-hover">
|
|
|
|
36
|
+ <view class="min-but flex align-center justify-center txt-30-h solid">取消预订</view>
|
|
|
|
37
|
+ </navigator>
|
|
|
|
38
|
+ <navigator url="/pages/customer/detail_owner_invitation?id={{detail.id}}&hasInvitation=1&hasSellerShare=1&tplid=1"
|
|
|
|
39
|
+ wx:if="{{detail.hasRunning}}"
|
|
|
|
40
|
+ class="share-but-view">
|
|
|
|
41
|
+ <view class="min-but flex align-center justify-center txt-30-h solid line-blue">通知好友</view>
|
|
|
|
42
|
+ </navigator>
|
|
|
|
43
|
+ <navigator url="/pages/pinglun/create?sid={{detail.seller.id}}&oid={{detail.id}}&sellername={{detail.seller.sellername}}"
|
|
|
|
44
|
+ wx:if="{{detail.hasFinished && hasComment}}"
|
|
|
|
45
|
+ hover-class="navigator-hover">
|
|
|
|
46
|
+ <view class="min-but flex align-center justify-center txt-30-h solid line-blue">评价</view>
|
|
|
|
47
|
+ </navigator>
|
|
|
|
48
|
+ </view>
|
|
|
|
49
|
+ <view class="margin-lr-lg padding-tb-lg view solid-top" wx:if="{{true || detail.customers.length>1}}">
|
|
|
|
50
|
+ <navigator url="./detail_owner_part?id={{detail.id}}" hover-class="navigator-hover" wx:if="{{detail.customers.length>0}}">
|
|
|
|
51
|
+ <view class="flex-lr customers_view">
|
|
|
|
52
|
+ <view class="customers flex-ll">
|
|
|
|
53
|
+ <block wx:for="{{detail.customers}}" wx:key="detail.customers.key">
|
|
|
|
54
|
+ <image src="{{item.headimgurl}}" class="avatar" mode="aspectFill" wx:if="{{index<3}}"></image>
|
|
|
|
55
|
+ </block>
|
|
|
|
56
|
+ <view style="margin-left: 12rpx;">等{{detail.customers.length}}人已参加</view>
|
|
|
|
57
|
+ </view>
|
|
|
|
58
|
+ <image src="http://nosqn.colorcun.com/custom/lite-yd/image/click.png" class="more"></image>
|
|
|
|
59
|
+ </view>
|
|
|
|
60
|
+ </navigator>
|
|
29
|
</view>
|
61
|
</view>
|
|
30
|
- <view class="fixed-buttons flex justify-center align-center">
|
62
|
+ <view class="fixed-buttons flex justify-between align-center padding-lg view bg-white">
|
|
|
|
63
|
+ <view wx:if="{{detail.hasRunning && detail.seller.is_open_order==1}}"
|
|
|
|
64
|
+ class="view flex-treble big-but flex align-center justify-center txt-34-h solid line-blue round">
|
|
|
|
65
|
+ <userinfo
|
|
|
|
66
|
+ binduserinfo="cookbook"
|
|
|
|
67
|
+ bindshare="share"
|
|
|
|
68
|
+ share="{{detail}}"
|
|
|
|
69
|
+ share-act="invitation">
|
|
|
|
70
|
+ <view wx:if="{{detail.order && detail.order.cookbooklist.length>0}}">
|
|
|
|
71
|
+ 查看菜品
|
|
|
|
72
|
+ </view>
|
|
|
|
73
|
+ <view wx:else="">提前点餐</view>
|
|
|
|
74
|
+ </userinfo>
|
|
|
|
75
|
+ </view>
|
|
|
|
76
|
+ <block wx:if="{{detail.status==6}}">
|
|
|
|
77
|
+ <view bindtap="gotoList"
|
|
|
|
78
|
+ class="view flex-treble big-but flex align-center justify-center txt-34-h solid line-blue round">
|
|
|
|
79
|
+ 帮我推荐餐厅
|
|
|
|
80
|
+ </view>
|
|
|
|
81
|
+ <chatbot class="big-but view flex-treble align-center justify-center" params="{{chatbotParams}}">
|
|
|
|
82
|
+ <view class="view flex-treble big-but flex align-center justify-center txt-34-h solid line-blue round">
|
|
|
|
83
|
+ 帮我
|
|
|
|
84
|
+ <image src="http://nosqn.colorcun.com/detail/qiang-2%403x.png"
|
|
|
|
85
|
+ style="width: 56rpx;height: 56rpx; margin: 0 6rpx;"></image>
|
|
|
|
86
|
+ 订
|
|
|
|
87
|
+ </view>
|
|
|
|
88
|
+ </chatbot>
|
|
|
|
89
|
+ </block>
|
|
31
|
|
90
|
|
|
|
|
91
|
+ <view class="view flex-treble big-but flex align-center justify-center txt-34-h solid line-blue round"
|
|
|
|
92
|
+ wx:if="{{detail.hasRunning && detail.seller.isopen_md==1}}">
|
|
|
|
93
|
+ <userinfo
|
|
|
|
94
|
+ binduserinfo="checkout"
|
|
|
|
95
|
+ share="{{detail}}"
|
|
|
|
96
|
+ share-act="invitation">
|
|
|
|
97
|
+ <view style="position: relative;">
|
|
|
|
98
|
+ 在线买单
|
|
|
|
99
|
+ <seller-discount id="seller-discount" seller="{{detail.seller}}" wx:if="{{detail.seller}}"
|
|
|
|
100
|
+ cla="money-tips detail_owner"></seller-discount>
|
|
|
|
101
|
+ </view>
|
|
|
|
102
|
+ </userinfo>
|
|
|
|
103
|
+ </view>
|
|
32
|
</view>
|
104
|
</view>
|
|
33
|
</block>
|
105
|
</block>
|
|
34
|
|
106
|
|
|
35
|
-
|
107
|
+ <!--
|
|
36
|
<view class="page">
|
108
|
<view class="page">
|
|
37
|
<view class="flex-vc success" wx:if="{{hasCancel}}">
|
109
|
<view class="flex-vc success" wx:if="{{hasCancel}}">
|
|
38
|
<view class="icon">
|
110
|
<view class="icon">
|
|
@@ -286,6 +358,7 @@ |
|
@@ -286,6 +358,7 @@ |
|
286
|
</block>
|
358
|
</block>
|
|
287
|
<view style="height: 50rpx;"></view>
|
359
|
<view style="height: 50rpx;"></view>
|
|
288
|
</view>
|
360
|
</view>
|
|
|
|
361
|
+ -->
|
|
289
|
</page>
|
362
|
</page>
|
|
290
|
|
363
|
|
|
291
|
<manager manager="{{detail}}" id="manager"></manager>
|
364
|
<manager manager="{{detail}}" id="manager"></manager>
|