detail_owner_invitation1.wxml
11.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
<!--pack-invitation/pages/detail_owner_invitation1.wxml-->
<wxs src="../../utils/util.wxs" module="util" />
<import src="../../pages/tpl/invitation"></import>
<nav backgroundColor="rgba(0,0,0,0)" hasHome style="position: fixed;z-index: 1;" class="navhome" place="{{true}}">
</nav>
<!-- 内部预定 -->
<block wx:if="{{detail}}">
<showModal id="showModal" confirmText="知道了" bindshowModal="showModal" cla="checkout"></showModal>
<scroll-view class="last-book-bg" style="line-height: 1.4;height:{{height}}px;" scroll-y>
<view style="height:{{statusBarHeight+titleBarHeight}}px;"></view>
<view class="book-flower" style="top:{{statusBarHeight+titleBarHeight}}px;"></view>
<view style="padding-left: 40rpx;box-sizing: border-box;">
<view class="last-book-staff flex-vr" style="align-items: flex-end;">
<image src="{{staffinfo.photo}}" class="book-staff-headerimg" mode="aspectFit"></image>
<view class="flex-rr" style="margin-bottom: 20rpx;">
<view class="flex-rr font26r yellow-font">客户经理:{{staffinfo.name}}</view>
<view class="book-staff-item-button flex-cc" bindtap="cli">
<image src="http://nosqn.colorcun.com/book-wechat.png" class="book-header-icon"></image>
<view class="font22r brown-font">复制微信号</view>
</view>
</view>
<view class="flex-rr">
<view class="flex-rr font26r yellow-font">{{staffinfo.phone ? staffinfo.phone : seller.tel}}</view>
<view class="book-staff-item-button flex-cc" bindtap="call">
<image src="http://nosqn.colorcun.com/book-phone.png" class="book-header-icon"></image>
<view class="font22r brown-font">拨打电话</view>
</view>
</view>
</view>
<view class="book-font"></view>
<view class="flex-lr" style="padding-right: 40rpx;box-sizing: border-box;align-items: flex-start;">
<view class="yellow-font font44r" style="max-width:428rpx;margin-bottom: 60rpx;">{{seller.name}}</view>
<block wx:if="{{detail.seller.is_open_order==1 && !detail.hasOvered && !detail.hasCancel}}">
<block wx:if="{{detail && detail.seller.is_open_order==1}}">
<view class="last-book-food flex-cc" bindtap="cookbook">
<view class="white-font font30r smooth" style="color: #043341;">提前点餐</view>
<image src="http://nosqn.colorcun.com/book-direction.png" style="width: 12rpx;height: 24rpx;margin-left: 10rpx;"></image>
<view class="notice"></view>
</view>
</block>
<block wx:else>
<view class="last-book-food flex-ll" bindtap="noopen" data-mark="buy">
<view class="white-font font30r smooth">提前点餐</view>
<image src="http://nosqn.colorcun.com/book-direction.png" style="width: 12rpx;height: 24rpx;margin-left: 10rpx;"></image>
<view class="notice"></view>
</view>
</block>
</block>
</view>
<view>
<view class="font26r" style="color: #C9BD89;margin-bottom: 20rpx;">已为您安排在包间</view>
<view class="font40r" style="color: #E8D47E;margin-bottom: 20rpx;">{{seller.region}}</view>
<view class="book-room-rect flex-cc">
<view class="font44r yellow-font">{{seller.room}}</view>
<view class="book-look-button brown-font font22r flex-cc" wx:if="{{roomimage && roomimage.length>0}}" bindtap="lookroom">浏览照片</view>
<view class="book-look-button gray-font font22r flex-cc" wx:else style="background: #CCCCCC;">浏览照片</view>
</view>
<view class="yellow-font font30r" style="margin-bottom: 24rpx;">时间:{{seller.date}}</view>
<view class="flex-lr" style="line-height: 1.2;padding-right: 40rpx;box-sizing: border-box;">
<view class="yellow-font font30r">地址:{{seller.addr}}</view>
<view class="loaction-button black-font font22r flex-cc" bindtap="looklocation">一键导航</view>
</view>
</view>
</view>
<view style="height: 240rpx;"></view>
</scroll-view>
<view class="all-button flex-lr">
<block wx:if="{{detail.hasCancel}}">
<view class="book-item-font flex-cc">
<image src="http://nosqn.colorcun.com/book-share-nouse-button.png" class="button-item-icon"></image>
<view class="font30r" style="color: #999999;">转发好友</view>
</view>
</block>
<block wx:else>
<button class="book-item-font flex-cc" open-type="share">
<image src="http://nosqn.colorcun.com/book-share-button.png" class="button-item-icon"></image>
<view class="font30r">转发好友</view>
</button>
</block>
<view class="book-item-font second-book-button flex-cc" bindtap="secondbook" style="position: relative;">
<image src="http://nosqn.colorcun.com/second-book.png" class="button-item-icon"></image>
<view class="font30r">再次预订</view>
<view class="notice" style="top: -10rpx;right: 0rpx;"></view>
</view>
<view class="line-border"></view>
<block wx:if="{{list}}">
<view class="book-notice flex-vc">
<view class="white-font font26r flex-cc">再次预订可享“{{list[0].aname}}”优惠</view>
<view class="angel"></view>
</view>
</block>
</view>
<view class="book-mask" hidden="{{selecthidden}}" bindtap="closeselect"></view>
<view class="book-buttons">
<view class="select-button white-font font28r flex-cc" bindtap="showselect">选项</view>
<view hidden="{{selecthidden}}">
<navigator class="select-item-button flex-cc white-font font24r" style="left: 75rpx;bottom:290rpx;" open-type="redirect" url="/pages/customer/index?islove=custom">首页</navigator>
<navigator class="select-item-button flex-cc white-font font24r" style="left: 150rpx;bottom:160rpx;" open-type="redirect" url="/pages/me/index">我的</navigator>
<block wx:if="{{customerCancel == '1'}}">
<view class="select-item-button flex-cc white-font font28r" style="left: 75rpx;bottom:30rpx;" bindtap="cancelmodal">取消订单</view>
</block>
<!-- <view class="select-item-button flex-cc white-font font24r" style="left: 42rpx;bottom:10rpx;" bindtap="closeselect">返回</view> -->
</view>
</view>
<view class="book-mask" hidden="{{morehidden}}" bindtap="closemore"></view>
<view class="service-buttons">
<view class="more-button white-font font28r flex-vc" bindtap="showmore" hidden="true">更多<view>服务</view>
</view>
<view hidden="{{morehidden}}">
<view class="select-item-button flex-cc gray-font font24r" style="right: 39rpx;bottom:681rpx;" bindtap="noopenservice">酒水</view>
<view class="select-item-button flex-cc gray-font font24r" style="right: 136rpx;bottom:599rpx;" bindtap="noopenservice">代驾</view>
<view class="select-item-button flex-cc gray-font font24r" style="right: 136rpx;bottom:473rpx;" bindtap="noopenservice">酒店</view>
<view class="select-item-button flex-cc gray-font font24r" style="right: 39rpx;bottom:391rpx;" bindtap="noopenservice">茶楼沐足</view>
<!-- <view class="select-item-button flex-cc white-font font24r" style="right: 0rpx;bottom:368rpx;" bindtap="closemore">返回</view> -->
</view>
</view>
<block wx:if="{{detail.hasCancel}}">
<view class="cancel-mark"></view>
</block>
</block>
<block wx:else>
<block wx:if="{{detail}}">
<view class="pages bg-{{options.tplid}} flex-vc" style="height:{{height}}px;" wx:if="{{options.tplid}}">
<template is="tpl-{{options.tplid}}" data="{{seller,options,hasOwner,animation}}"></template>
<view class="opt-view flex-vc">
<block wx:if="{{!detail.hasOvered && !detail.hasCancel}}">
<button open-type="share" class="button-none flex-vc" catchtap="setUserInfoSuccess">
<view class="buts-share"></view>
</button>
</block>
<block wx:elif="{{detail.hasCancel}}">
<view class="opt-view-tip Medium">订座已取消</view>
</block>
<block wx:else="">
<view class="opt-view-tip Medium">订座已完成</view>
</block>
</view>
</view>
</block>
</block>
<!-- <view class="menu" wx:if="{{detail && detail.type==0 && detail.channel==2}}" bindtap="showmenu"></view> -->
<view class="menu-list flex-vl" style="justify-content: flex-end;" wx:if="{{detail && detail.type==0 && detail.channel==5}}" hidden="{{menuhidden}}" catchtap="hidemenu">
<view class="menu-item menu-seller-item flex-ll" catchtap="secondbook">
<view class="menu-item-image" style="background: url({{detail.seller.seller_image}}) center center no-repeat;background-size: cover;"></view>
<view class="white-font font30r smooth">{{seller.name}}</view>
<view class="click-icon"></view>
</view>
<view class="menu-item menu-seller-item flex-ll" bindtap="secondbook">
<view class="menu-item-image menu-item-book"></view>
<view class="white-font font30r smooth">再次预订</view>
</view>
<block wx:if="{{detail.seller.is_open_order==1 && !detail.hasOvered && !detail.hasCancel}}">
<block wx:if="{{detail && detail.seller.is_open_order==1}}">
<view class="menu-item menu-seller-item flex-ll" bindtap="cookbook">
<view class="menu-item-image menu-item-buy"></view>
<view class="white-font font30r smooth">提前点餐</view>
</view>
</block>
<block wx:else>
<view class="menu-item menu-seller-item flex-ll" bindtap="noopen" data-mark="buy">
<view class="menu-item-image menu-item-buy-nouse"></view>
<view class="gray-font font30r smooth">提前点餐</view>
</view>
</block>
<block wx:if="{{detail && detail.seller.isopen_md==1}}">
<view class="menu-item menu-seller-item flex-ll" bindtap="checkout">
<view class="menu-item-image menu-item-check"></view>
<view class="white-font font30r smooth">在线买单</view>
</view>
</block>
<block wx:else>
<view class="menu-item menu-seller-item flex-ll" bindtap="noopen" data-mark="checkout">
<view class="menu-item-image menu-item-check-nouse"></view>
<view class="gray-font font30r smooth">在线买单</view>
</view>
</block>
</block>
<view class="menu-item menu-seller-item flex-ll" bindtap="hidemenu">
<view class="menu-item-image menu-item-back"></view>
<view class="white-font font30r smooth">返回</view>
</view>
</view>
<view class="bottom flex-lr" wx:if="{{!detail.hasOvered && !detail.hasCancel && detail.channel!=5}}">
<view bindtap="gotoHome" class="dingbaojian flex-vc">
<image src="http://nosqn.colorcun.com/reserve/images/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20191114105901.png" class="icon"></image>
<view class="text">订包间</view>
</view>
<formids bindclick="sendmsg" class="diancan" style="{{detail.seller.is_open_order!=1 && detail.seller.is_open_wine!=1?'width:100%;':''}}">
<view class="buts-text flex-cc">
<image src="http://nosqn.colorcun.com/reserve/images/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_201911141059011.png" class="icon"></image>
短信通知
</view>
</formids>
<userinfo binduserinfo="cookbook" class="diancan left-border" wx:if="{{detail.seller.is_open_order==1}}">
<view class="buts-text flex-cc">
<image src="http://nosqn.colorcun.com/manager-invitation/wx2/%E6%8F%90%E5%89%8D%E7%82%B9%E9%A4%90.png" class="icon"></image>
提前点餐
</view>
</userinfo>
<block wx:if="{{detail.seller.is_open_wine==1}}">
<view class="vline" wx:if="{{detail.seller.is_open_order==1}}"></view>
<formids bindclick="toast" class="jiushui">
<view class="buts-text flex-cc">
<image src="http://nosqn.colorcun.com/manager-invitation/wx2/%E8%87%AA%E5%B8%A6%E9%85%92%E6%B0%B4.png" class="icon"></image>
自带酒水
</view>
</formids>
</block>
</view>
<!--//商务-->
<template name="tpl-1">
<view class="flex-vc shangwu" bindtap="{{options.rid?'goEditor':''}}">
<template is="tpl-shangwu" data="{{...seller,options}}"></template>
</view>
</template>
<!--//温馨-->
<template name="tpl-2">
<template is="tpl-wenxin" data="{{...seller,options}}"></template>
</template>
<ddate id="ddate" order="{{detail}}" wx:if="{{detail}}" bindevent="ddateEvent"></ddate>
<a2l bindshow="a2lshow" bindhide="a2lshow" key="INVIT-OWNER"></a2l>