detail_owner_invitation_new.wxml 9.57 KB
<!--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}}">
		<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="widthFix" />
		<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}}" 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}}" class="book-item-font flex-cc font30r shareItem" open-type="share">转发给客人
		</button>
	</block>
</view>