detail_owner_invitation_new.wxml
9.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
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
<!--pages/customer/detail_owner_invitation_new.wxml-->
<wxs src="../../utils/util.wxs" module="util" />
<import src="../tpl/invitation"></import>
<nav hasHome class="navhome" place="{{true}}">
</nav>
<scroll-view class="last-book-bg" style="line-height: 1.4;height:{{height}}px;" scroll-y>
<view class="titleImg" style="background: rgba({{homeColor}});">
<image src="{{theme=='green'?'https://qn.colorcun.com/1571679628800_.pic.jpg':theme=='blue'?'https://qn.colorcun.com/1561679628784_.pic.jpg':theme=='blackGold'?'https://qn.colorcun.com/1551679628682_.pic.jpg':''}}" class="titleIcon"></image>
<view class="title {{theme+'Title'}}">{{home.title?home.title:seller.name}}</view>
<view class="info {{theme+'Info'}}">
{{home.slogan}}
</view>
</view>
<image src="{{home.image?home.image:detail.seller.seller_image}}" class="homeImage" mode="widthFix"></image>
<view class="reservationInfo flex-ll">
<view class="line">
</view>
<view class="infoRight">
<view class="begin">
<view>尊敬的贵宾,您好!</view>
<view>非常感谢您选择{{reserve.seller_name?reserve.seller_name:seller.name}}!</view>
</view>
<view class="flex-11">
<view class="label">【日期】</view>
<view class="contentData">{{seller.date}}</view>
</view>
<view class="flex-11">
<view class="label">【餐段】</view>
<view class="contentData">{{seller.soltName}}</view>
</view>
<view class="flex-11">
<view class="label">【包间】</view>
<view class="contentData">{{seller.region}}{{seller.room}}</view>
</view>
<!-- <view class="flex-11">
<view class="label">【人数】</view>
<view class="contentData">{{reserve.numderPeople}}位</view>
</view>-->
<view class="flex-11">
<view class="label">【地址】</view>
<view class="contentData">{{reserve.address?reserve.address:detail.seller.map_address}}</view>
</view>
<view class="flex-11">
<view class="label">【停车】</view>
<view class="contentData">{{reserve.park_info}}</view>
</view>
<view class="flex-11">
<view class="label">【联系】</view>
<view class="contentData">{{reserve.seller_phone?reserve.seller_phone:detail.seller.phone}}</view>
</view>
<view class="welcome">
欢迎垂询,恭候光临!
</view>
<block wx:if="{{detail.sid!='677' && reserve.manager_phone && manager_wechat}}">
<view class="handleInfo">
<image src="{{reserve.manager_image}}" class="headerimg" mode="aspectFill"></image>
<view class="handle">
<text>专属服务:{{reserve.manager_phone}}</text>
<text>服务电话:{{reserve.manager_wechat}}</text>
</view>
<view class="handle">
<view class="font22r brownFont" bindtap="call">拨打电话</view>
<view class="font22r brownFont" bindtap="cli">复制微信号</view>
</view>
</view>
</block>
</view>
</view>
<view class="positioning" bindtap="looklocation">
<image src="https://qn.colorcun.com/1541679628682_.pic.jpg" mode="" />
<view class="name">
<text>{{reserve.seller_name?reserve.seller_name:detail.seller.sellername}}</text>
<text>{{reserve.address?reserve.address:detail.seller.map_address}}</text>
</view>
</view>
<!-- <view class="visitor">
确认赴约客人:{{keepAppointment.length}}位
</view>
<view class="keepWrap">
<view class="keepItems" wx:for="{{keepAppointment}}" wx:key="keepAppointment.key">
<image src="{{item.photo}}" mode="" />
<view>
{{item.name}}
</view>
</view>
</view> -->
<!-- 品牌介绍类型store.style 0无介绍 1图文合并 2图文分开 -->
<view class="introduce" wx:if="{{store && store.style=='1'}}">
<view class="IntroductionItems" wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<view class="imgMask">
<image src="{{item}}" mode="" />
<view class="IntroduceColor chief Introducepublic {{theme+'chief'}}" wx:if="{{arryIndex=='0'}}">
<view class="englishText">Introduce</view>
<view class="chefText">品牌介绍</view>
<view class="shopName">
{{store .seller_name}}
</view>
<view class="labelBox">
<view class="line">
</view>
<view class="label">{{store.introduce}}
</view>
</view>
</view>
</view>
</view>
</view>
<view class="introduce" wx:if="{{store && store.style=='2'}}">
<view class="IntroductionItems" wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<view class="imgMask">
<view class="IntroduceColor styleSeparate" wx:if="{{arryIndex=='0'}}">
<view class="englishText">Introduce</view>
<view class="chefText">品牌介绍</view>
<view class="shopName styleShopName">
{{store .seller_name}}
</view>
<view class="labelBox">
<view class="line">
</view>
<view class="label styleLabel">{{store.introduce}}
</view>
</view>
</view>
<image src="{{item}}" mode="" />
</view>
</view>
</view>
<!-- 知名主厨类型chef.style 0无介绍 1图文合并 2图文分开 -->
<view class="introduce famousChefBox" wx:if="{{chef && chef.style=='1'}}">
<view class="IntroductionItems">
<view class="imgMask">
<image src="{{chef.image}}" mode="widthFix" />
<view class="IntroduceColor Introducepublic {{theme+'chief'}}">
<view class="englishText">Chief Cook</view>
<view class="chefText">知名主厨</view>
<view class="shopName">
{{chef.chef_name}}
</view>
<view class="labelBox labelBox1">
<view class="label">{{chef.introduce}}
</view>
<view class="line">
</view>
</view>
</view>
</view>
</view>
</view>
<view class="introduce famousChefBox" wx:if="{{chef && chef.style=='2'}}">
<view class="IntroductionItems">
<view class="imgMask">
<view class="IntroduceColor styleSeparate2">
<view class="englishText">Chief Cook</view>
<view class="chefText">知名主厨</view>
<view class="shopName styleShopName">
{{chef .chef_name}}
</view>
<view class="labelBox labelBox1">
<view class="line">
</view>
<view class="label styleLabel">{{chef .introduce}}
</view>
</view>
</view>
<image src="{{chef.image}}" mode="" />
</view>
</view>
</view>
<view class="introduce vegetableBox" wx:if="{{signboard && signboard.swich=='1'}}">
<view class="IntroductionItems" wx:for="{{signboard.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<view class="imgMask">
<image src="{{item}}" mode="widthFix" />
<view class="IntroduceColor Introducepublic {{theme+'chief'}}" wx:if="{{arryIndex=='0'}}">
<view class="englishText">Favorites</view>
<view class="chefText">菜品展示</view>
</view>
</view>
</view>
</view>
<view class="specialServices" wx:if="{{detail.seller.is_open_order==1 && !detail.hasOvered && !detail.hasCancel && is_display}}">
<view class="rubric">
特供服务
</view>
<view class="news">
本店特为贵宾提供提前点餐服务,您现在可以选菜下单,到店就餐时无需等待服务员点餐,可以直接享受就餐服务^_^
</view>
<view class="endStyle">
<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 orderingFood" bindtap="cookbook">
<view class="white-font font30r smooth">去点餐</view>
</view>
</block>
<block wx:else>
<view class="last-book-food flex-ll orderingFood" bindtap="noopen" data-mark="buy">
<view class="white-font font30r smooth">去点餐</view>
</view>
</block>
</block>
</view>
</view>
<view class="preferential" wx:if="{{marketing && (marketing.is_coupon=='1' || marketing.is_recharge=='1')}}">
<view class="rubric rubric1">
特别优惠
</view>
<view class="preferentialItems" wx:if="{{marketing.is_coupon=='1'}}">
<view class="left">
<view class="top">
<text>200元代金券</text>
<text class="price">¥100</text>
<text class="discount">5折</text>
</view>
<view class="bottom">
周一到周五可用,消费满600元可用一张。
</view>
</view>
<view class="font24r orderingFood">
去抢购
</view>
</view>
<view class="preferentialItems" wx:if="{{marketing.is_recharge=='1'}}">
<view class="left">
<view class="top">
<text>充1000赠300</text>
</view>
<view class="bottom">
会员充值满1000元赠余额200元;会员充值满1000元赠送50元代金券;会员充值满1000元赠50元菜品。
</view>
</view>
<view class="font24r orderingFood">
去充值
</view>
</view>
</view>
<view class="vips">
<image src="{{marketing.logo?marketing.logo:detail.seller.seller_image}}" mode="heightFix" />
<view class="news">
{{marketing.wecomle}}
</view>
<!-- <view wx:if="{{marketing.is_link}}" class="font24r favouredPolicy">
点击了解更多会员优惠政策
</view> -->
<view class="text">
{{reserve.seller_name?reserve.seller_name:seller.name}}
</view>
</view>
</scroll-view>
<view wx:if="{{marketing.is_transpond=='1'}}" class="{{between?'all-button flex-lr between':'all-button flex-lr'}}">
<!-- <view wx:if="{{marketing.is_online}}" class="book-item-font second-book-button flex-cc font30r" bindtap="secondbook" style="position: relative;">再次预订
</view> -->
<!-- <view wx:if="{{marketing.is_arrival}}" class="book-item-font second-book-button flex-cc font30r centerBtn" bindtap="secondbook" style="position: relative;">确认赴约
</view> -->
<block>
<button wx:if="{{marketing.is_transpond=='1'}}" class="book-item-font flex-cc font30r shareItem" open-type="share">转发给客人
</button>
</block>
</view>