detail_owner_invitation14.wxml
32 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
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
<!--pack-invitation/pages/detail_owner_invitation14.wxml-->
<import src="../common/parts.wxml" />
<nav hasHome id="nav" backgroundColor="transparent" place="{{false}}"></nav>
<view class="pageBox {{pageThemeClass}} {{isCustom == '1' ? 'isCustom' : ''}} style{{StyleTypeNum}}">
<!-- 自定义/白色:模糊底;其它主题色:CSS 固定纯色 + 中间渐变 -->
<view wx:if="{{themeColor == 'pearlWhite'}}" class="page-background">
<image wx:if="{{heroBottomStripImage}}" class="page-blur-image prepared-bottom-strip" src="{{heroBottomStripImage}}" mode="scaleToFill" binderror="onBackdropImageError" />
<image wx:else class="page-blur-image source-bottom-crop" src="{{themeImg}}" mode="scaleToFill" binderror="onHeroImageError" />
</view>
<scroll-view class="scroll" scroll-y enhanced show-scrollbar="{{false}}" bindscroll="onScrollViewScroll" style="height: {{windowHeight}}px;">
<view class="scroll-wrap">
<image class="hero-image" style="height: {{heroHeightPx}}px;" src="{{themeImg}}" mode="aspectFill" binderror="onHeroImageError" />
<view wx:if="{{themeColor != 'pearlWhite'}}" class="page-theme-fade" style="height: {{heroHeightPx}}px;"></view>
<view class="scroll-body" style="padding-top: {{contentStartPx}}px;">
<!-- 音乐开关 -->
<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="heroBlock style{{StyleTypeNum}}">
<view class="bgEditBar" wx:if="{{StyleTypeNum != '4' && canChangeBg=='1' && options.hasSellerShare == '1'}}">
<view class="bgEditBtn bgEditBtnChange {{bgSaved?'bgEditBtnDisabled':''}}" bindtap="onChangeBgPhoto">换照片</view>
<view class="bgEditSaveWrap">
<view class="bgEditBtn bgEditBtnSave {{bgSaved?'bgEditBtnDisabled':''}}" bindtap="onSaveBgPhoto">保存<view class="bgEditSaveTip" wx:if="{{!bgSaved}}">(仅1次)</view>
</view>
</view>
</view>
<view class="heroTitle {{titleCls}}" style="{{titleStyle}}" wx:if="{{StyleTypeNum != 2 && StyleTypeNum != '2' && StyleTypeNum != 4 && StyleTypeNum != '4' && options.hasSellerShare == '1'}}">{{titleObj.textInfo || '预订安排'}}</view>
<view class="heroTitle {{titleCls}}" style="{{titleStyle}}" wx:elif="{{StyleTypeNum != 2 && StyleTypeNum != '2' && StyleTypeNum != 4 && StyleTypeNum != '4'}}">{{titleObj.textInfo || '邀请函'}}</view>
<view class="heroSeller {{shopCls}}" style="{{shopStyle}}">{{shopObj.textInfo || seller.name || reserve.seller_name}}</view>
<view class="heroSlogan font24r" wx:if="{{StyleTypeNum != 1 && StyleTypeNum != '1' && reserve.swich_slogan == '1' && home.slogan}}">{{home.slogan}}</view>
<view class="bookInfo">
<view class="entrance" wx:if="{{StyleTypeNum == '1'}}">
<view bindtap="sharesettingShop" class="entranceItem">
<image src="https://qn.colorcun.com/shopHomeIcon{{entranceIcon}}.png" mode="" />
<view class="font24r">商家主页</view>
</view>
<button wx:if="{{canShare}}" class="entranceItem" open-type="share">
<image src="https://qn.colorcun.com/forwardIcon{{entranceIcon}}.png" mode="" />
<view class="font24r">转发好友</view>
</button>
<view bindtap="cookbook" wx:if="{{options.hasSellerShare == '1' && detail.status !='4' && options.isOrder != '1' && hasValueOrder && detail.seller.is_open_order==1 && marketing.is_order=='1'}}" class="entranceItem">
<image src="https://qn.colorcun.com/advanceOrderIcon{{entranceIcon}}.png" mode="" />
<view class="font24r">提前点餐</view>
</view>
<button wx:if="{{canMeet && needLogin}}" bindtap="gotoLogin" data-types="2" class="entranceItem">
<image src="https://qn.colorcun.com/appointmentIcon{{entranceIcon}}.png" mode="" />
<view class="font24r">确认赴约</view>
</button>
<button wx:elif="{{canMeet}}" bindtap="confirmed" class="entranceItem">
<image src="https://qn.colorcun.com/appointmentIcon{{entranceIcon}}.png" mode="" />
<view class="font24r">确认赴约</view>
</button>
<view bindtap="evaluateFun" wx:if="{{is_comments=='1' && !is_user_comments}}" class="entranceItem entranceFeedback">
<image src="https://qn.colorcun.com/feedbackIcon{{entranceIcon}}.png" mode="" />
<view class="font24r">意见反馈</view>
</view>
</view>
<view class="heroSlogan font24r" wx:if="{{(StyleTypeNum == 1 || StyleTypeNum == '1') && reserve.swich_slogan == '1' && home.slogan}}">{{home.slogan}}</view>
<block wx:if="{{StyleTypeNum == 2 || StyleTypeNum == '2'}}">
<view class="bookWave">
<view class="waveLine"></view>
<view class="waveBars">
<view class="waveBar"></view>
<view class="waveBar"></view>
<view class="waveBar"></view>
<view class="waveBar"></view>
<view class="waveBar"></view>
<view class="waveBar"></view>
<view class="waveBar"></view>
<view class="waveBar"></view>
<view class="waveBar"></view>
</view>
<view class="waveLine"></view>
</view>
<view class="infoItem" wx:if="{{reserve.swich_booking=='1' && reserve.book_info}}">
<text space="nbsp" class="contentData font28r bookData">{{reserve.book_info}}</text>
</view>
<view class="infoItem" wx:if="{{titleRowMap.place}}">
<view class="contentData contentData1">{{titleRowMap.place.value}}</view>
</view>
<view class="infoItem" wx:if="{{titleRowMap.date}}">
<view class="contentData contentData2">{{titleRowMap.date.value}}</view>
</view>
<view class="infoItem" wx:if="{{titleRowMap.name || titleRowMap.time}}">
<view class="contentData contentWithBtn contentData2 contentData3">
<text wx:if="{{titleRowMap.name}}">{{titleRowMap.name.value}}订</text>
<text class="texts1" wx:if="{{titleRowMap.name && titleRowMap.time}}"> | </text>
<text wx:if="{{titleRowMap.time}}">{{titleRowMap.time.value}}</text>
<picker wx:if="{{titleRowMap.time && detail && options && options.isOrder != '1' && (detail.status =='1' || detail.status =='2') && options.hasSellerShare == '1' && seller.soltName}}" bindchange="bindPickerChange" value="{{index}}" range="{{timeList}}">
<view class="miniBtn">
<image class="arrivalImg" src="https://qn.colorcun.com/editTimeIcon{{actionIcon}}.png" mode="" /><text>改时间</text>
</view>
</picker>
</view>
</view>
<view class="infoItem" wx:if="{{titleRowMap.phone}}">
<view class="contentData contentWithBtn contentData2">
<text>前台电话</text>
<text wx:for="{{titleRowMap.phone.values}}" wx:key="index" data-phone="{{item}}" class="contentDataPhone" bindtap="call"> {{item}}</text>
<view class="miniBtn" data-phone="{{contactPhone || seller.tel[0]}}" bindtap="call">
<image src="https://qn.colorcun.com/contactMeIcon{{actionIcon}}.png" mode="" /><text>联系我</text>
</view>
</view>
</view>
<view class="infoItem" wx:if="{{seller.addr || (reserve.seller && reserve.seller.map_address)}}">
<view class="contentData contentWithBtn contentData2">
<text>{{seller.addr || reserve.seller.map_address}}</text>
<view class="miniBtn" bindtap="looklocation">
<image class="addressImg" src="https://qn.colorcun.com/navigationIcon{{actionIcon}}.png" mode="aspectFill" /><text>导航</text>
</view>
</view>
</view>
</block>
<block wx:elif="{{StyleTypeNum == 4 || StyleTypeNum == '4'}}">
<view class="bgEditBar" wx:if="{{canChangeBg=='1' && options.hasSellerShare == '1'}}">
<view class="bgEditBtn bgEditBtnChange {{bgSaved?'bgEditBtnDisabled':''}}" bindtap="onChangeBgPhoto">换照片</view>
<view class="bgEditSaveWrap">
<view class="bgEditBtn bgEditBtnSave {{bgSaved?'bgEditBtnDisabled':''}}" bindtap="onSaveBgPhoto">保存<view class="bgEditSaveTip" wx:if="{{!bgSaved}}">(仅1次)</view>
</view>
</view>
</view>
<view class="heroTitle {{titleCls}}" style="{{titleStyle}}">{{options.hasSellerShare == '1' ? (titleObj.textInfo || '预订安排') : (titleObj.textInfo || '邀请函')}}</view>
<view class="infoItem" wx:if="{{reserve.swich_booking=='1' && reserve.book_info}}">
<text space="nbsp" class="contentData font28r bookData">{{reserve.book_info}}</text>
</view>
<view class="bookInvite">{{titleRowMap.name ? titleRowMap.name.value + '邀您赴宴' : '邀您赴宴'}}</view>
<view class="bookDivider"></view>
<view class="infoItem style4Item" wx:if="{{titleRowMap.date || titleRowMap.time}}">
<view class="label font24r">时间</view>
<view class="contentData timeBox">
<view class="timeDate" wx:if="{{titleRowMap.date}}">{{titleRowMap.date.value}}</view>
<view class="contentWithBtn timeSlot" wx:if="{{titleRowMap.time}}">
<text>{{titleRowMap.time.value}}</text>
<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="miniBtn">
<image class="arrivalImg" src="https://qn.colorcun.com/editTimeIcon{{actionIcon}}.png" mode="" /><text>改时间</text>
</view>
</picker>
</view>
</view>
</view>
<view class="infoItem style4Item" wx:if="{{seller.name || reserve.seller_name || titleRowMap.place}}">
<view class="label font24r">地点及餐位</view>
<view class="contentData placeBox">
<view class="placeShop" wx:if="{{seller.name || reserve.seller_name}}">{{seller.name || reserve.seller_name}}</view>
<view class="placeTable" wx:if="{{titleRowMap.place}}">{{titleRowMap.place.value}}</view>
</view>
</view>
<view class="infoItem style4Item" wx:if="{{titleRowMap.phone}}">
<view class="label font24r">前台电话</view>
<view class="contentData contentWithBtn">
<text wx:for="{{titleRowMap.phone.values}}" wx:key="index" data-phone="{{item}}" class="contentDataPhone" bindtap="call">{{index > 0 ? ' ' : ''}}{{item}}</text>
<view class="miniBtn" data-phone="{{contactPhone || seller.tel[0]}}" bindtap="call">
<image src="https://qn.colorcun.com/contactMeIcon{{actionIcon}}.png" mode="" /><text>联系我</text>
</view>
</view>
</view>
<view class="infoItem style4Item" wx:if="{{seller.addr || (reserve.seller && reserve.seller.map_address)}}">
<view class="label font24r">餐厅地址</view>
<view class="contentData contentWithBtn">
<text>{{seller.addr || reserve.seller.map_address}}</text>
<view class="miniBtn" bindtap="looklocation">
<image class="addressImg" src="https://qn.colorcun.com/navigationIcon{{actionIcon}}.png" mode="aspectFill" /><text>导航</text>
</view>
</view>
</view>
</block>
<block wx:else>
<view class="bookSideText" wx:if="{{StyleTypeNum == 3 || StyleTypeNum == '3'}}">{{options.hasSellerShare == '1' ? '预订安排' : '邀请函'}}</view>
<view class="infoItem" wx:if="{{(StyleTypeNum == 3 || StyleTypeNum == '3') && reserve.swich_booking=='1' && reserve.book_info}}">
<text space="nbsp" class="contentData font28r bookData">{{reserve.book_info}}</text>
</view>
<block wx:for="{{titleRows}}" wx:key="index">
<view class="infoItem" wx:if="{{item.type != 'time'}}">
<view class="label font24r">{{item.text}}</view>
<view class="contentData">{{item.value}}</view>
</view>
<view class="infoItem" wx:else>
<view class="label font24r">{{item.text}}</view>
<view class="valueRow">
<view class="contentData">{{item.value}}</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="miniBtn">
<image class="arrivalImg" src="https://qn.colorcun.com/editTimeIcon{{actionIcon}}.png" mode="" /><text>改时间</text>
</view>
</picker>
</view>
</view>
</block>
<!-- 样式3:标签固定左侧,右侧内容折行 -->
<block wx:if="{{StyleTypeNum == 3 || StyleTypeNum == '3'}}">
<view class="infoItem infoLine" wx:if="{{titleRowMap.phone}}">
<view class="label font24r">前台电话</view>
<view class="contentData contentWithBtn infoRight">
<text wx:for="{{titleRowMap.phone.values}}" wx:key="index" data-phone="{{item}}" class="contentDataPhone" bindtap="call">{{index > 0 ? ' ' : ''}}{{item}}</text>
<view class="miniBtn" data-phone="{{contactPhone || seller.tel[0]}}" bindtap="call">
<image src="https://qn.colorcun.com/contactMeIcon{{actionIcon}}.png" mode="" /><text>联系我</text>
</view>
</view>
</view>
<view class="infoItem infoLine" wx:if="{{seller.addr || (reserve.seller && reserve.seller.map_address)}}">
<view class="label font24r">餐厅地址</view>
<view class="contentData contentWithBtn infoRight">
<text>{{seller.addr || reserve.seller.map_address}}</text>
<view class="miniBtn" bindtap="looklocation">
<image class="addressImg" src="https://qn.colorcun.com/navigationIcon{{actionIcon}}.png" mode="aspectFill" /><text>导航</text>
</view>
</view>
</view>
</block>
<block wx:else>
<view class="infoItem" wx:if="{{titleRowMap.phone}}">
<view class="label font24r">前台电话</view>
<block wx:if="{{titleRowMap.phone.values.length == 1}}">
<view class="phoneRow contentData" wx:for="{{titleRowMap.phone.values}}" wx:key="index">
<text data-phone="{{item}}" class="contentDataPhone" bindtap="call">{{item}}</text>
<view class="miniBtn" data-phone="{{item}}" bindtap="call">
<image src="https://qn.colorcun.com/contactMeIcon{{actionIcon}}.png" mode="" /><text>联系我</text>
</view>
</view>
</block>
<block wx:else>
<view class="contentData phoneMultiList">
<text wx:for="{{titleRowMap.phone.values}}" wx:key="index" data-phone="{{item}}" class="contentDataPhone phoneMultiItem" bindtap="call">{{item}}</text>
</view>
<view class="miniBtn phoneMultiBtn" wx:if="{{contactPhone}}" data-phone="{{contactPhone}}" bindtap="call">
<image src="https://qn.colorcun.com/contactMeIcon{{actionIcon}}.png" mode="" /><text>联系我</text>
</view>
</block>
</view>
<view class="infoItem" wx:if="{{seller.addr || (reserve.seller && reserve.seller.map_address)}}">
<view class="label font24r">餐厅地址</view>
<view class="contentData contentWithBtn">
<text>{{seller.addr || reserve.seller.map_address}}</text>
<view class="miniBtn" bindtap="looklocation">
<image class="addressImg" src="https://qn.colorcun.com/navigationIcon{{actionIcon}}.png" mode="aspectFill" /><text>导航</text>
</view>
</view>
</view>
</block>
</block>
</view>
</view>
<view class="entrance" wx:if="{{StyleTypeNum != '1'}}">
<view bindtap="sharesettingShop" class="entranceItem">
<image src="https://qn.colorcun.com/shopHomeIcon{{entranceIcon}}.png" mode="" />
<view class="font24r">商家主页</view>
</view>
<button wx:if="{{canShare}}" class="entranceItem" open-type="share">
<image src="https://qn.colorcun.com/forwardIcon{{entranceIcon}}.png" mode="" />
<view class="font24r">转发好友</view>
</button>
<view bindtap="cookbook" wx:if="{{options.hasSellerShare == '1' && detail.status !='4' && options.isOrder != '1' && hasValueOrder && detail.seller.is_open_order==1 && marketing.is_order=='1'}}" class="entranceItem">
<image src="https://qn.colorcun.com/advanceOrderIcon{{entranceIcon}}.png" mode="" />
<view class="font24r">提前点餐</view>
</view>
<button wx:if="{{canMeet && needLogin}}" bindtap="gotoLogin" data-types="2" class="entranceItem">
<image src="https://qn.colorcun.com/appointmentIcon{{entranceIcon}}.png" mode="" />
<view class="font24r">确认赴约</view>
</button>
<button wx:elif="{{canMeet}}" bindtap="confirmed" class="entranceItem">
<image src="https://qn.colorcun.com/appointmentIcon{{entranceIcon}}.png" mode="" />
<view class="font24r">确认赴约</view>
</button>
<view bindtap="evaluateFun" wx:if="{{is_comments=='1' && !is_user_comments}}" class="entranceItem entranceFeedback">
<image src="https://qn.colorcun.com/feedbackIcon{{entranceIcon}}.png" mode="" />
<view class="font24r">意见反馈</view>
</view>
</view>
<view class="receptionBox" wx:if="{{reserve.swich_manager=='1' && staffinfo && (staffinfo.name || staffinfo.phone || staffinfo.photo || staffinfo.wechat)}}">
<view class="peopleInfo">
<image bindtap="lookImgs" wx:if="{{staffinfo.photo}}" data-url="{{staffinfo.photo}}" src="{{staffinfo.photo}}" class="headerimg" mode="aspectFill"></image>
<view class="noHeaderimg" wx:else></view>
<view class="peopleName font28r" wx:if="{{staffinfo.name}}">{{staffinfo.name}}</view>
<view class="peopleRole font24r">{{staffinfo.position || '店长'}}</view>
</view>
<view class="handleInfo">
<view class="font32r title1">尊敬的贵宾您好!</view>
<view class="font24r texts">很荣幸能为您提供专属接待和服务</view>
<view class="contactBtns">
<view wx:if="{{staffinfo.phone}}" class="font24r brownFont" data-phone="{{staffinfo.phone}}" bindtap="call">
<image src="https://qn.colorcun.com/contactMeIcon{{actionIcon}}.png" mode="" /><text>联系我</text>
</view>
<view wx:if="{{staffinfo.wechat}}" class="font24r brownFont" bindtap="copyWeChat">
<image src="https://qn.colorcun.com/addWeChatIcon{{actionIcon}}.png" mode="" /><text>加微信</text>
</view>
</view>
</view>
</view>
<text space="nbsp" wx:if="{{marketing.wecomle}}" class="style{{StyleTypeNum}} welcomeInfo font32r">{{marketing.wecomle}}</text>
<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>
<view class="borderSty">
<view wx:if="{{roomimage && roomimage.length>0}}" class="roomSwiperWrap">
<swiper class="roomSwiper" indicator-dots="{{roomimage.length > 1}}" autoplay="{{roomimage.length > 1}}" interval="{{3000}}" circular="{{roomimage.length > 1}}" indicator-color="rgba(255,255,255,0.35)" indicator-active-color="#ffffff">
<swiper-item wx:for="{{roomimage}}" wx:key="index">
<view class="roomSlide" bindtap="lookImgs" data-url="{{item.url}}" data-imgs="{{urlsArr}}">
<image class="roomSlideImg" mode="aspectFill" src="{{item.url}}"></image>
<view class="roomSlideName" wx:if="{{item.name}}">{{item.name}}</view>
</view>
</swiper-item>
</swiper>
</view>
<view class="preferentialCoupon" wx:if="{{hasValueCertificate && marketing && coupon_dataList.length>0}}">
<view class="sectionTitle">专属优惠券</view>
<template is="couponCard" data="{{list: coupon_dataList, seller: seller, detail: detail, StyleType: StyleType}}" />
</view>
<view class="publicModule" wx:if="{{(hasValueRecharge && marketing.is_recharge=='1' && recharge_data.length>0) || (hasValueRecharge && marketing.is_link=='1')}}">
<view class="sectionTitle">会员充值优惠</view>
<block wx:for="{{recharge_data}}" wx:key="id">
<view class="rechargeItems" bindtap="gotoVipRecharge" data-id="{{item.id}}">
<view class="rechargeTitle font36r">{{item.rname}}</view>
<view class="limitation font24r" wx:if="{{item.priceInfo}}">
{{item.priceInfo}}{{(item.recharge_list.is_coupons=='0' && item.recharge_list.is_score=='0')?'。':';'}}
</view>
<view class="limitation font24r" wx:if="{{item.scoreInfo}}">
{{item.scoreInfo}}{{item.recharge_list.is_coupons=='0'?'。':';'}}
</view>
<view class="limitation font24r" wx:if="{{item.recharge_list.is_coupons=='1'}}">
会员充值满{{item.recharge_money}}元赠送{{item.certificate}}。
</view>
</view>
</block>
<view wx:if="{{hasValueRecharge && marketing.is_link=='1'}}" class="font24r favouredPolicy" bindtap="gotoFavourableList">
点击了解更多会员优惠政策
</view>
</view>
<view class="sectionTitle" wx:if="{{showMerchantSpeak}}">商家有话说</view>
<view class="reserveBox" wx:if="{{reserveData && (reserveData.title || reserveData.content)}}">
<view class="title font28r" 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 font28r" wx:if="{{item.type == '2'}}">{{item.content}}</text>
</block>
</view>
<!-- 餐厅介绍:speakImgMode=1 轮播(含首图 home.image、logo) -->
<view class="introduce" wx:if="{{speakImgMode=='1' && store && (store.textInfo || (store.imgsInfo && store.imgsInfo.length>0) || (store.videosInfo && store.videosInfo.length>0))}}">
<view class="titleInfo">{{store.title ? store.title : '餐厅介绍'}}</view>
<view class="labelBox" wx:if="{{store.textInfo}}">
<text space="nbsp" class="texts font28r">{{store.textInfo}}</text>
</view>
<swiper wx:if="{{store.imgsInfo.length>1}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
<swiper-item wx:for="{{store.imgsInfo}}" wx:key="index">
<image mode="aspectFill" class="detailBannerImg" src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{store.imgsInfo}}"></image>
</swiper-item>
</swiper>
<image wx:if="{{store.imgsInfo.length == 1 || store.imgsInfo.length == '1'}}" mode="widthFix" class="detailBannerImg1" src="{{store.imgsInfo[0]}}" bindtap="lookImgs" data-url="{{store.imgsInfo[0]}}" data-imgs="{{store.imgsInfo}}"></image>
<block wx:for="{{store.videosInfo}}" wx:key="index">
<video class="boxBlock" src="{{item.content}}" show-center-play-btn="{{true}}" autoplay="{{false}}" object-fit="cover" controls="{{true}}"></video>
</block>
</view>
<view class="introduce" wx:elif="{{speakImgMode!='1' && (marketing.logo || home.image || (store && ((store.introduce && (!store.is_introduce || store.is_introduce!='0')) || (store.images && store.images.length>0 && (!store.is_images || store.is_images!='0')) || (store.content && store.content.length>0))))}}">
<view class="titleInfo">{{store.title ? store.title : '餐厅介绍'}}</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 && !store.content && store.introduce && (!store.is_introduce || store.is_introduce!='0')}}">
<text space="nbsp" class="texts font28r">{{store.introduce}}</text>
</view>
<block wx:if="{{store.images && 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="labelBox" wx:if="{{store.content && store.content.length>0}}">
<template is="richText" data="{{content: store.content, imgs: '', textClass: 'font32r'}}" />
</view>
</view>
<!-- 招牌菜品 -->
<view class="introduce" wx:if="{{speakImgMode=='1' && signboard && signboard.swich=='1' && (signboard.textInfo || (signboard.imgsInfo && signboard.imgsInfo.length>0) || (signboard.videosInfo && signboard.videosInfo.length>0))}}">
<view class="titleInfo">{{signboard.title ? signboard.title : '特色菜品'}}</view>
<view class="labelBox" wx:if="{{signboard.textInfo}}">
<text space="nbsp" class="texts font28r">{{signboard.textInfo}}</text>
</view>
<swiper wx:if="{{signboard.imgsInfo.length>1}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
<swiper-item wx:for="{{signboard.imgsInfo}}" wx:key="index">
<image mode="aspectFill" class="detailBannerImg" src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{signboard.imgsInfo}}"></image>
</swiper-item>
</swiper>
<image wx:if="{{signboard.imgsInfo.length == 1 || signboard.imgsInfo.length == '1'}}" mode="widthFix" class="detailBannerImg1" src="{{signboard.imgsInfo[0]}}" bindtap="lookImgs" data-url="{{signboard.imgsInfo[0]}}" data-imgs="{{signboard.imgsInfo}}"></image>
<block wx:for="{{signboard.videosInfo}}" wx:key="index">
<video class="boxBlock" src="{{item.content}}" show-center-play-btn="{{true}}" autoplay="{{false}}" object-fit="cover" controls="{{true}}"></video>
</block>
</view>
<view class="introduce" wx:elif="{{speakImgMode!='1' && signboard && ((signboard.swich=='1' && signboard.images && signboard.images.length>0) || (signboard.content && signboard.content.length>0))}}">
<view class="titleInfo">{{signboard.title ? signboard.title : '特色菜品'}}</view>
<block wx:if="{{signboard.images && signboard.images.length>0}}">
<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>
</block>
<view class="labelBox" wx:if="{{signboard.content && signboard.content.length>0}}">
<template is="richText" data="{{content: signboard.content, imgs: '', textClass: 'font32r'}}" />
</view>
</view>
<!-- 主厨介绍 -->
<view class="introduce" wx:if="{{speakImgMode=='1' && chef && (chef.textInfo || (chef.imgsInfo && chef.imgsInfo.length>0) || (chef.videosInfo && chef.videosInfo.length>0))}}">
<view class="titleInfo">{{chef.title ? chef.title : '主厨介绍'}}</view>
<view class="labelBox" wx:if="{{chef.textInfo}}">
<text class="texts font28r" space="nbsp">{{chef.textInfo}}</text>
</view>
<swiper wx:if="{{chef.imgsInfo.length>1}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
<swiper-item wx:for="{{chef.imgsInfo}}" wx:key="index">
<image mode="aspectFill" class="detailBannerImg" src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{chef.imgsInfo}}"></image>
</swiper-item>
</swiper>
<image wx:if="{{chef.imgsInfo.length == 1 || chef.imgsInfo.length == '1'}}" mode="widthFix" class="detailBannerImg1" src="{{chef.imgsInfo[0]}}" bindtap="lookImgs" data-url="{{chef.imgsInfo[0]}}" data-imgs="{{chef.imgsInfo}}"></image>
<block wx:for="{{chef.videosInfo}}" wx:key="index">
<video class="boxBlock" src="{{item.content}}" show-center-play-btn="{{true}}" autoplay="{{false}}" object-fit="cover" controls="{{true}}"></video>
</block>
</view>
<block wx:elif="{{speakImgMode!='1' && 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="introduce">
<view class="titleInfo">{{chef.title ? chef.title : '主厨介绍'}}</view>
<view class="labelBox" wx:if="{{chef.introduce && (!chef.is_introduce || chef.is_introduce!='0')}}">
<text class="texts font28r" space="nbsp">{{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="labelBox" wx:if="{{chef.content && chef.content.length>0}}">
<template is="richText" data="{{content: chef.content, imgs: '', textClass: 'font32r'}}" />
</view>
</view>
</block>
<view class="introduce" wx:if="{{reserve && ((reserve.is_introduce_all=='1' && (reserve.park_info || (reserve.park_info_images && reserve.park_info_images.length>0))) || (reserve.content && reserve.content.length>0))}}">
<view class="sectionTitle">{{reserve.title ? reserve.title : '停车指引'}}</view>
<block wx:if="{{!reserve.content || reserve.content.length == '0'}}">
<view class="labelBox" wx:if="{{reserve.park_info}}">
<text class="texts font28r" space="nbsp">{{reserve.park_info}}</text>
</view>
<block wx:for="{{reserve.park_info_images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<image src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{reserve.park_info_images}}" mode="widthFix" />
</block>
</block>
<view class="labelBox" wx:if="{{reserve.content && reserve.content.length>0}}">
<template is="richText" data="{{content: reserve.content, imgs: '', textClass: 'font32r'}}" />
</view>
</view>
<view class="vips businessBox">
<view class="businessBox">
周到安排提供技术支持<text bindtap="call" data-phone="4000009690">4000009690</text>,
<view bindtap="gotoJoinSeller" style="text-decoration: underline;">我是商家,我要试用</view>
</view>
</view>
</view>
<view class="{{(!marketing || (marketing.is_transpond!='1' && marketing.is_online_book!='1'))?'more more1':'more'}}" wx:if="{{showMoreTip}}">
<view class="moreText">滑动查看更多</view>
<image src="https://qn.colorcun.com/jt1.png" mode="" />
</view>
</view>
</view>
</scroll-view>
<template is="actionBar" data="{{barWrapClass: '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}}" />
</view>
<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}}" />