detail_owner_invitation6.wxml 13.3 KB
<!--pages/customer/detail_owner_invitation6.wxml-->
<import src="../tpl/invitation"></import>
<nav hasHome class="navhome" place="{{true}}">{{seller.name||reserve.seller_name}}</nav>
<scroll-view scroll-y class="{{themeColor}}">
	<view class="titleImg">
		<image src="{{whiteBj?'https://qn.colorcun.com/whiteBj1.png':'https://qn.colorcun.com/leaf.png'}}" class="titleIcon"></image>
		<view class="title">{{seller.name?seller.name:reserve.seller_name}}</view>
		<view class="info">
			{{home.slogan}}
		</view>
	</view>
	<image wx:if="{{home.image && (!home.id_first_image || home.id_first_image!='0')}}" src="{{home.image}}" class="homeImage" mode="aspectFill"></image>
	<view class="reservationInfo flex-ll">
		<view class="line">
		</view>
		<view class="infoRight">
			<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="{{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="contentData font36r">{{seller.soltName}}</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 && reserve && seller.seller_tel}}">
				<view class="label font36r">【联系】</view>
				<view class="contentData font36r infos">{{seller.seller_tel}}</view>
			</view>
			<block wx:if="{{staffinfo && reserve.swich_manager=='1'}}">
				<view class="handleInfo">
					<image wx:if="{{staffinfo && 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>
			<view wx:if="{{marketing && marketing.wecomle}}" class="welcome font32r">
				{{marketing.wecomle}}
			</view>
			<view class="positioning" bindtap="looklocation">
				<image src="https://qn.colorcun.com/address.png" mode="" />
				<view class="name">
					<text>{{seller.addr?seller.addr:reserev.seller.map_address}}</text>
				</view>
			</view>
		</view>
	</view>
	<view class="preferential" wx:if="{{marketing && marketing.is_coupon=='1' && coupon_dataList.length>0}}">
		<block wx:for="{{coupon_dataList}}" wx:key="index" wx:for-index="index">
			<view class="preferentialItems" wx:if="{{dataStr<(item.etime*1)}}">
				<view class="left">
					<view class="top">
						<text class="font28r">{{item.aname}}</text>
						<view class="price font24r" wx:if="{{item.price}}">
							<view class="icons font24r">¥</view>{{item.price}}
						</view>
						<!-- is_cash 代金券  is_discount折扣券  is_dish菜品券 只有代金券有几折显示 -->
						<text wx:if="{{item.discount!='0.00' && (item.use.is_cash=='1' || item.use.is_cash) && item.discount}}" class="discount font24r">{{item.discount}}折</text>
					</view>
					<view wx:if="{{item.exp_date.is_week=='1' || item.exp_date.is_week===true}}" class="bottom font24r">
						{{item.exp_date.week_show?item.exp_date.week_show+'可用':''}}{{item.desc?','+item.desc+'。':'。'}}
					</view>
					<view wx:if="{{item.exp_date.is_none=='1' || item.exp_date.is_none===true}}" class="bottom font24r">
						无限制{{item.desc?','+item.desc+'。':'。'}}
					</view>
					<view wx:if="{{item.exp_date.is_birthday=='1' || item.exp_date.is_birthday===true}}" class="bottom font24r">
						会员生日当天可用{{item.desc?','+item.desc+'。':'。'}}
					</view>
				</view>
				<navigator url="/pack-activity/pack/buyCoupon?id={{item.id}}&name={{seller.name}}&use={{item.stringifyUse}}&sid={{seller.sid}}&oid={{detail.id}}&types=1&StyleType={{StyleType}}" hover-class="navigator-hover">
					<view class="font24r orderingFood">
						去抢购
					</view>
				</navigator>
			</view>
		</block>
	</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'}}">想吐槽?戳这里填写意见!--></text>
		<text wx:if="{{marketing.is_comments_coupon=='1'}}">想吐槽?戳这里填写意见反馈赢好礼!</text>
		<image src="https://qn.colorcun.com/evaluate.png" mode="" />
	</view>
	<!-- 品牌介绍类型 图文合并 -->
	<!-- (必须有图 && 新模板的图文合并开启 && 图片展示开启 && 文字展示开启) || (新模板的图文合并字段不存在代表老数据 && store.style 1图文合并)-->
	<view class="introduce" wx:if="{{(store && store.images.length && store.is_above && store.is_above=='1' && store.is_images=='1' && store.is_introduce=='1') || (store && !store.is_above && store.style=='1')}}">
		<view class="IntroductionItems" wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
			<view class="imgMask">
				<image src="{{item}}" mode="aspectFill" />
				<view class="IntroduceColor Introducepublic" wx:if="{{arryIndex=='0'}}">
					<view class="englishText font28r">Introduce</view>
					<view class="chefText font32r">品牌介绍</view>
					<view class="shopName font32r">
						{{store.seller_name}}
					</view>
					<view class="labelBox labelBox2">
						<view class="line">
						</view>
						<text class="label" wx:if="{{store.introduce}}">{{store.introduce}}</text>
					</view>
				</view>
			</view>
		</view>
	</view>
	<!-- 品牌介绍类型 图文分开 -->
	<view class="introduce" wx:else>
		<view class="IntroductionItems" wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
			<view class="imgMask">
				<view class="IntroduceColor styleSeparate" wx:if="{{store && arryIndex=='0' && store.style!='0' && store.introduce && ((!store.is_introduce || store.is_introduce!='0') || (!store.is_images || store.is_images!='0'))}}">
					<block wx:if="{{!store.is_introduce || store.is_introduce!='0'}}">
						<view class="englishText font28r">Introduce</view>
						<view class="chefText">品牌介绍</view>
						<view class="shopName styleShopName">
							{{store.seller_name}}
						</view>
						<view class="labelBox">
							<view class="line"></view>
							<text class="label styleLabel">{{store.introduce}}</text>
						</view>
					</block>
				</view>
				<image wx:if="{{store && (!store.is_images || store.is_images!='0')}}" src="{{item}}" mode="aspectFill" />
			</view>
		</view>
	</view>
	<!-- 知名主厨类型chef.style  0不显示  1图文合并 2图文分开 -->
	<!-- 知名主厨类型chef  is_introduce是否展示文字介绍   is_images是否展示介绍图片   is_above餐厅介绍文字是否显示在第一张图片上-->
	<view class="introduce famousChefBox" wx:if="{{(chef && chef.image && chef.is_above && chef.is_above=='1' && chef.is_images=='1' && chef.is_introduce=='1') || (chef && !chef.is_above && chef.style=='1')}}">
		<view class="IntroductionItems">
			<view class="imgMask">
				<image src="{{chef.image}}" mode="aspectFill" />
				<view class="IntroduceColor Introducepublic">
					<view class="englishText font28r">Chief Cook</view>
					<view class="chefText">知名主厨</view>
					<view class="shopName" wx:if="{{chef.chef_name}}">
						{{chef.chef_name}}
					</view>
					<view class="labelBox labelBox2">
						<text class="label" wx:if="{{chef.introduce}}">{{chef.introduce}}
						</text>
						<view class="line line1">
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
	<view class="introduce famousChefBox" wx:else>
		<view class="IntroductionItems">
			<view class="imgMask">
				<view class="IntroduceColor styleSeparate2" wx:if="{{chef && chef.style!='0' && chef.introduce && ((!chef.is_introduce || chef.is_introduce!='0') || (!chef.is_images || chef.is_images!='0'))}}">
					<block wx:if="{{!chef.is_introduce || chef.is_introduce!='0'}}">
						<view class="englishText font28r">Chief Cook</view>
						<view class="chefText">知名主厨</view>
						<view class="shopName styleShopName" wx:if="{{chef.chef_name}}">
							{{chef .chef_name}}
						</view>
						<view class="labelBox labelBox1">
							<view class="line">
							</view>
							<text class="label styleLabel" wx:if="{{!chef.is_introduce || chef.is_introduce!='0'}}">{{chef.introduce}}
							</text>
						</view>
					</block>
				</view>
				<image wx:if="{{chef && (!chef.is_images || chef.is_images!='0')}}" src="{{chef.image}}" mode="aspectFill" />
			</view>
		</view>
	</view>
	<!-- 菜品展示  swich为1展示 -->
	<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="aspectFill" />
				<view class="IntroduceColor Introducepublic" wx:if="{{arryIndex=='0'}}">
					<view class="englishText font28r">Favorites</view>
					<view class="chefText">菜品展示</view>
				</view>
			</view>
		</view>
	</view>
	<view class="specialServices" wx:if="{{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="{{marketing && (marketing.is_coupon=='1' || marketing.is_recharge=='1')}}">
		<view class="rubric rubric1" wx:if="{{marketing && marketing.is_recharge=='1' && recharge_data && (is_fix!='1' || (is_fix=='1' && dataStr<(recharge_data.exp_date.fix_edate*1)))}}">
			特别优惠
		</view>
		<!-- 当前日期要大于限制结束日期 -->
		<view class="preferentialItems" wx:if="{{marketing && marketing.is_recharge=='1' && recharge_data && (is_fix!='1' || (is_fix=='1' && dataStr<(recharge_data.exp_date.fix_edate*1)))}}">
			<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'?'会员充值满'+marketing.recharge_data.recharge_money+'元赠送'+certificate:''}}。
				</view>
			</view>
			<navigator 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="font24r orderingFood">
					去充值
				</view>
			</navigator>
		</view>
	</view>
	<view class="vips">
		<view wx:if="{{marketing.is_link=='1'}}" class="font24r favouredPolicy" bindtap="gotoFavourableList">
			点击了解更多会员优惠政策
		</view>
		<image wx:if="{{marketing && marketing.logo && (!marketing.is_logo || marketing.is_logo!='0')}}" src="{{marketing.logo?marketing.logo:''}}" mode="aspectFill" />
		<text class="businessBox">
			周到安排提供技术支持<text bindtap="call" data-phone="4000009690">4000009690</text>,餐厅入驻请点击<text bindtap="gotoJoinSeller" style="text-decoration: underline;">这里</text>
		</text>
	</view>
	<view class="more" wx:if="{{showMoreTip}}">
		<view class="moreText">滑动查看更多</view>
		<image src="https://qn.colorcun.com/jt1.png" mode="" />
	</view>
</scroll-view>
<view wx:if="{{marketing.is_transpond=='1' || marketing.is_online_book=='1'}}" class="{{between?'all-button flex-lr between':'all-button flex-lr sharewidth'}}">
	<view wx:if="{{marketing.is_online_book=='1'}}" class="book-item-font second-book-button flex-cc font30r" bindtap="secondbook" style="position: relative;">再次预订
	</view>
	<button wx:if="{{marketing.is_transpond=='1'}}" class="book-item-font flex-cc font30r shareItem" open-type="share">转发给客人
	</button>
</view>