detail_owner_invitation6.wxml
16.2 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
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
<!--pack-invitation/pages/detail_owner_invitation6.wxml-->
<import src="../common/parts.wxml" />
<import src="../../pages/tpl/invitation"></import>
<view class="pageWrap {{themeColor}}">
<nav hasHome class="navhome" place="{{true}}">{{seller.name||reserve.seller_name}}</nav>
<scroll-view scroll-y class="{{themeColor}}">
<!-- 音乐开关 -->
<template is="musicImg" data="{{newStr: newStr, isPlay: isPlay, attentionAnim: attentionAnim}}" />
<!-- 商家有礼悬浮入口 -->
<template is="giftImg" data="{{hasValueCertificate: hasValueCertificate, marketing: marketing, coupon_dataList: coupon_dataList, isFrame: isFrame, is_comments: is_comments, is_user_comments: is_user_comments, couponData: couponData, hasValueRecharge: hasValueRecharge, recharge_data: recharge_data, animationData2: animationData2}}" />
<!-- 领券全屏浮层 -->
<template is="fullscreenMask" data="{{isShow: isShow, animationData: animationData}}" />
<view class="targetPoint" style="top: 35%; right: 4%;"></view>
<!-- 已取消/已结束 状态角标 -->
<template is="statusBadge" data="{{detail: detail, options: options}}" />
<view class="titleImg">
<image src="{{whiteBj?'https://qn.colorcun.com/whiteBj1.png':'https://qn.colorcun.com/leaf.png'}}" class="titleIcon"></image>
<text space="nbsp" class="title">{{seller.name?seller.name:reserve.seller_name}}</text>
<text space="nbsp" class="info">
{{home.slogan}}
</text>
</view>
<image wx:if="{{home.image && (!home.id_first_image || home.id_first_image!='0')}}" bindtap="lookImgs" data-url="{{home.image}}" src="{{home.image}}" class="homeImage" mode="widthFix"></image>
<view class="reservationInfo flex-ll">
<view class="line">
</view>
<view class="infoRight">
<text space="nbsp" class="begin beginTop" wx:if="{{reserve && reserve.swich_booking=='1' && reserve.book_info}}">
<view class="font40r">{{reserve && reserve.book_info}}</view>
</text>
<view class="begin">
<view class="font40r">尊敬的贵宾,您好!</view>
<view class="font40r">非常感谢您选择【{{seller.name?seller.name:reserve.seller_name}}】!</view>
</view>
<view class="flex-11" wx:if="{{detail && detail.rnameStr && reserve && reserve.swich_customer == '1'}}">
<view class="label font36r">【贵宾】</view>
<view class="contentData font36r">{{detail.rnameStr}}</view>
</view>
<view class="flex-11" wx:if="{{seller.date}}">
<view class="label font36r">【日期】</view>
<view class="contentData font36r">{{seller.date}}</view>
</view>
<view class="flex-11" wx:if="{{seller.soltName}}">
<view class="label font36r">【餐段】</view>
<view class="arrivalBox">
<view class="contentData font36r">{{seller.soltName}}<text class="marLeft font36r">{{temp_ddate}}</text></view>
<picker wx:if="{{detail && options && options.isOrder != '1' && (detail.status =='1' || detail.status =='2') && options.hasSellerShare == '1'}}" bindchange="bindPickerChange" value="{{index}}" range="{{timeList}}">
<view class="picker">
<button>修改到店时间</button>
</view>
</picker>
</view>
</view>
<view class="flex-11" wx:if="{{seller.tablesText}}">
<view class="label font36r">【包间】</view>
<view class="contentData bold font36r">{{seller.tablesText}}</view>
</view>
<view class="flex-11" wx:if="{{detail.actual_pum || tableNum}}">
<view class="label font36r">【人数】</view>
<view class="contentData font36r">{{detail.actual_pum?detail.actual_pum:tableNum}}位</view>
</view>
<view class="flex-11" wx:if="{{reserve && reserve.swich_park=='1' && reserve.park_info}}">
<view class="label font36r">【停车】</view>
<view class="contentData font36r infos">{{reserve.park_info}}</view>
</view>
<view class="flex-11" wx:if="{{swich_phone!='0' && seller && seller.tel && seller.tel.length>0}}">
<view class="label font36r">【联系】</view>
<view class="contentData font36r infos"><block wx:for="{{seller.tel}}" wx:key="index"><text data-phone="{{item}}" bindtap="call">{{item}}</text>{{index==(seller.tel.length-1)?'':','}}</block></view>
</view>
<view class="appointment" wx:if="{{customersList.length>0}}">
<view class="notifyTitle">
<text></text>
<view class="font36r">已确认赴约</view><text></text>
</view>
<view class="notifyContent">
<view class="notifyItems" wx:for="{{customersList}}" wx:key="index">
<view class="imageBox">
<image src="{{item.headimgurl}}" mode="aspectFill" />
</view>
<view class="font32r notifyText">{{item.nickname}}</view>
</view>
</view>
</view>
<block wx:if="{{staffinfo && reserve.swich_manager=='1'}}">
<view class="handleInfo">
<image wx:if="{{staffinfo && staffinfo.photo}}" bindtap="lookImgs" data-url="{{staffinfo.photo}}" src="{{staffinfo.photo}}" class="headerimg" mode="aspectFill"></image>
<view class="handle handlePhone">
<view class="handleName">专属服务:{{staffinfo.name}}</view>
<view class="handleBlower">服务电话:{{staffinfo.phone}}</view>
</view>
<view class="handle">
<view wx:if="{{staffinfo.phone}}" data-phone="{{staffinfo.phone}}" class="font22r brownFont" bindtap="call">拨打电话</view>
<view wx:if="{{staffinfo.wechat}}" class="font22r brownFont" bindtap="copyWeChat">复制微信号</view>
</view>
</view>
</block>
<text space="nbsp" wx:if="{{reserve && reserve.swich_welcome == '1' && marketing && marketing.wecomle}}" class="welcome font32r">
{{marketing.wecomle}}
</text>
<view class="positioning">
<view class="name">
<text space="nbsp">{{seller.addr?seller.addr:reserve.seller.map_address}}</text>
</view>
<button bindtap="looklocation" class="flex-cc font24r mapBtn">
<image src="https://qn.colorcun.com/address.png" mode="" />
查看定位
</button>
</view>
</view>
</view>
<view class="preferentialCoupon" wx:if="{{hasValueCertificate && marketing && coupon_dataList.length>0}}">
<!-- 优惠券列表卡片(2~9 版) -->
<template is="couponCard" data="{{list: coupon_dataList, seller: seller, detail: detail, StyleType: StyleType}}" />
</view>
<view wx:if="{{is_comments=='1' && !is_user_comments}}" class="evaluateBox" bindtap="evaluateFun">
<text wx:if="{{is_comments=='1' && (marketing.is_comments_coupon!='1' || couponData.showCoupon!='1')}}">想<text class="font36r">吐槽</text>?戳这里填写意见!--></text>
<text wx:if="{{marketing.is_comments_coupon=='1' && couponData && couponData.showCoupon =='1'}}">想<text class="font36r">吐槽</text>?戳这里填写意见反馈赢好礼!</text>
<image src="https://qn.colorcun.com/evaluate.png" mode="" />
</view>
<view class="reserveBox" wx:if="{{reserveData && (reserveData.title || reserveData.content)}}">
<view class="titleInfo font36r" wx:if="{{reserveData.title}}">{{reserveData.title}}</view>
<block wx:for="{{reserveData.content}}" wx:key="index">
<image class="items" wx:if="{{item.type =='1'}}" src="{{item.content}}" bindtap="lookImgs" data-url="{{item.content}}" mode="widthFix"/>
<text space="nbsp" class="items font24r" wx:if="{{item.type == '2'}}">{{item.content}}</text>
</block>
</view>
<!-- 餐厅介绍 -->
<block wx:if="{{marketing.logo || home.image || ((store.introduce && (!store.is_introduce || store.is_introduce!='0')) || (store.images.length>0 && (!store.is_images || store.is_images!='0')) || (store.content && store.content.length>0))}}">
<view class="introduceBox">
<block wx:if="{{(marketing && marketing.logo && (!marketing.is_logo || marketing.is_logo!='0')) || (store.introduce && (!store.is_introduce || store.is_introduce!='0')) || (home.image && (!home.id_first_image || home.id_first_image!='0'))}}">
<view class="englishText font28r">Introduce</view>
<view class="chefText font32r">品牌介绍</view>
<image wx:if="{{marketing.logo}}" src="{{marketing.logo}}" bindtap="lookImgs" data-url="{{marketing.logo}}" mode="widthFix" />
<image wx:if="{{home.image}}" src="{{home.image}}" bindtap="lookImgs" data-url="{{home.image}}" class="homeImage" mode="widthFix"></image>
<view class="labelBox" wx:if="{{!store.content && store.introduce && (!store.is_introduce || store.is_introduce!='0')}}">
<text space="nbsp" class="texts">{{store.introduce}}</text>
</view>
<block wx:if="{{store.images.length>0 && (!store.is_images || store.is_images!='0')}}">
<block wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<image src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{store.images}}" mode="widthFix" />
</block>
</block>
<view class="contentBox" wx:if="{{store.content && store.content.length>0}}">
<template is="richText" data="{{content: store.content, imgs: '', textClass: 'font32r'}}" />
</view>
</block>
</view>
</block>
<!-- 主厨介绍 -->
<block wx:if="{{chef && ((chef.introduce && (!chef.is_introduce || chef.is_introduce!='0')) || (chef.image && (!chef.is_images || chef.is_images!='0')) || (chef.content && chef.content.length>0))}}">
<view class="introduceBox famousChefBox" wx:if="{{chef && ((!chef.is_introduce || chef.is_introduce!='0') || (!chef.is_images || chef.is_images!='0'))}}">
<view class="englishText font28r">Chief Cook</view>
<view class="chefText font32r">知名主厨</view>
<view class="labelBox" wx:if="{{(chef.introduce && (!chef.is_introduce || chef.is_introduce!='0'))}}">
<text space="nbsp" class="texts">{{chef.introduce}}</text>
</view>
<image wx:if="{{(!chef.is_images || chef.is_images!='0') && chef.image}}" src="{{chef.image}}"bindtap="lookImgs" data-url="{{chef.image}}" mode="widthFix" />
<view class="contentBox" wx:if="{{chef.content && chef.content.length>0}}">
<template is="richText" data="{{content: chef.content, imgs: '', textClass: 'font32r'}}" />
</view>
</view>
</block>
<!-- 特色菜品 -->
<view class="introduceBox vegetableBox" wx:if="{{signboard && ((signboard.swich=='1' && signboard.images && signboard.images.length>0) || (signboard.content && signboard.content.length>0))}}">
<view class="englishText font28r">Favorites</view>
<view class="chefText font32r">菜品展示</view>
<block wx:for="{{signboard.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<image src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{signboard.images}}" mode="widthFix" />
</block>
<view class="contentBox" wx:if="{{signboard.content && signboard.content.length>0}}">
<template is="richText" data="{{content: signboard.content, imgs: '', textClass: 'font32r'}}" />
</view>
</view>
<view class="specialServices" wx:if="{{detail.status !='4' && options.isOrder != '1' && hasValueOrder && detail && detail.seller.is_open_order==1 && marketing && marketing.is_order=='1'}}">
<view class="rubric">
提前点餐
</view>
<view class="news">
本店特为贵宾提供提前点餐服务,您现在可以选菜下单,到店就餐时无需等待服务员点餐,可以直接享受就餐服务^_^
</view>
<view class="endStyle">
<view class="book-item-font second-book-button flex-cc font30r cook" style="position: relative;">
<view wx:if="{{detail && detail.seller.is_open_order==1 && marketing && marketing.is_order=='1'}}" class="menu-item menu-seller-item flex-ll" bindtap="cookbook">
去点餐
</view>
</view>
</view>
</view>
<view class="preferential" wx:if="{{hasValueRecharge && marketing && marketing.is_recharge=='1' && recharge_data}}">
<view class="rubric rubric1">
特别优惠
</view>
<navigator wx:if="{{recharge_data.id && purePhoneNumber}}" url="/pack-activity/pack/vipRecharge?id={{recharge_data.id}}&name={{seller.name}}&sid={{seller.sid}}&oid={{detail.id}}&types=1&StyleType={{StyleType}}" hover-class="navigator-hover">
<view class="rechargeItems">
<view class="left">
<view class="top">
<text class="font28r">{{recharge_data.rname}}</text>
</view>
<view class="bottom font24r" wx:if="{{priceInfo}}">
{{priceInfo}}{{(recharge_data.recharge_list.is_coupons=='0' && recharge_data.recharge_list.is_score=='0')?'。':';'}}
</view>
<view class="bottom font24r" wx:if="{{scoreInfo}}">
{{scoreInfo}}{{recharge_data.recharge_list.is_coupons=='0'?'。':';'}}
</view>
<view class="bottom font24r" wx:if="{{recharge_data.recharge_list.is_coupons=='1'}}">
{{recharge_data.recharge_list.is_coupons=='1'?'会员充值满'+recharge_data.recharge_money+'元赠送'+certificate:''}}。
</view>
</view>
<view class="font24r orderingFood">
去充值
</view>
</view>
</navigator>
<button class="getPhoneStyle" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberFun" wx:if="{{recharge_data.id && !purePhoneNumber}}">
<view class="rechargeItems">
<view class="left">
<view class="top">
<text class="font28r">{{recharge_data.rname}}</text>
</view>
<view class="bottom font24r" wx:if="{{priceInfo}}">
{{priceInfo}}{{(recharge_data.recharge_list.is_coupons=='0' && recharge_data.recharge_list.is_score=='0')?'。':';'}}
</view>
<view class="bottom font24r" wx:if="{{scoreInfo}}">
{{scoreInfo}}{{recharge_data.recharge_list.is_coupons=='0'?'。':';'}}
</view>
<view class="bottom font24r" wx:if="{{recharge_data.recharge_list.is_coupons=='1'}}">
{{recharge_data.recharge_list.is_coupons=='1'?'会员充值满'+recharge_data.recharge_money+'元赠送'+certificate:''}}。
</view>
</view>
<view class="font24r orderingFood">
去充值
</view>
</view>
</button>
</view>
<view class="vips {{(marketing.is_online_book=='1' && options.onlineReserve == '1') || (detail.status !='4' && options.isOrder != '1' && paymentId && paymentStatus == '0') || (detail.status !='4' && options.isOrder != '1' && marketing.is_transpond=='1' && imgSrc)?'introduceBottom':''}}">
<view wx:if="{{hasValueRecharge && marketing.is_link=='1'}}" class="font24r favouredPolicy" bindtap="gotoFavourableList">
点击了解更多会员优惠政策
</view>
<view class="businessBox">
周到安排提供技术支持<text bindtap="call" data-phone="4000009690">4000009690</text>,
<view bindtap="gotoJoinSeller" style="text-decoration: underline;">我是商家,我要试用</view>
</view>
</view>
<view class="more" wx:if="{{showMoreTip}}">
<view class="moreText">滑动查看更多</view>
<image src="https://qn.colorcun.com/jt1.png" mode="" />
</view>
<view class="toastBox" wx:if="{{toastBool}}">
{{toastText}}
</view>
</scroll-view>
<!-- 底部操作栏 -->
<template is="actionBar" data="{{barWrapClass: 'all-button flex-lr sharewidth', barShow: barShow, showMoreOnline: showMoreOnline, threeBtnMore: threeBtnMore, showMoreCall: showMoreCall, threeBtnCall: threeBtnCall, seller: seller, canPay: canPay, threeBtnPay: threeBtnPay, isOwner: isOwner, canShare: canShare, isOver: isOver, guestShareCls: guestShareCls, canMeet: canMeet, needLogin: needLogin}}" />
<painter palette="{{wxml}}" style="position: absolute; top: -9999rpx;" bind:imgOK="onImgOK" />
<!-- 截屏提示弹窗 -->
<template is="payModal" data="{{detail: detail, options: options, marketing: marketing, imgSrc: imgSrc}}" />
<!-- 领券弹窗(2~12 通用;13 保持页面内独立) -->
<template is="couponModal" data="{{seller: seller, reserve: reserve, totalPrice: totalPrice, purePhoneNumber: purePhoneNumber, countDown: countDown}}" />
</view>