detail_owner_invitation_new.wxml 11.6 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?home.title:seller.name}}</view>
		<view class="info {{theme+'Info'}}">
			{{home.slogan}}
		</view>
	</view>
	<image wx:if="{{home.image}}" src="{{home.image}}" class="homeImage" mode="aspectFill"></image>
	<view class="reservationInfo flex-ll">
		<view class="line">
		</view>
		<view class="infoRight">
			<view class="begin">
				<view>尊敬的贵宾,您好!</view>
				<view>非常感谢您选择{{seller.name?seller.name:reserve.seller_name}}!</view>
			</view>
			<view class="flex-11" wx:if="{{seller.date}}">
				<view class="label">【日期】</view>
				<view class="contentData">{{seller.date}}</view>
			</view>
			<view class="flex-11" wx:if="{{seller.soltName}}">
				<view class="label">【餐段】</view>
				<view class="contentData">{{seller.soltName}}</view>
			</view>
			<view class="flex-11" wx:if="{{seller.region || seller.room}}">
				<view class="label">【包间】</view>
				<view class="contentData">{{seller.region}}{{seller.room}}</view>
			</view>
			<view class="flex-11" wx:if="{{detail.actual_pum || tableNum}}">
				<view class="label">【人数】</view>
				<view class="contentData">{{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">【停车】</view>
				<view class="contentData">{{reserve.park_info}}</view>
			</view>
			<view class="flex-11" wx:if="{{ reserve && (reserve.seller_phone || detail.seller.phone)}}">
				<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' && 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>专属服务:{{staffinfo.name}}</view>
						<view>服务电话:{{staffinfo.phone}}</view>
					</view>
					<view class="handle">
						<view wx:if="{{staffinfo.phone}}" class="font22r brownFont" bindtap="call">拨打电话</view>
						<view wx:if="{{staffinfo.wechat}}" class="font22r brownFont" bindtap="cli">复制微信号</view>
					</view>
				</view>
			</block>
		</view>
	</view>
	<view class="positioning" bindtap="looklocation">
		<image src="https://qn.colorcun.com/WechatIMG256.png" mode="" />
		<view class="name">
			<text>{{seller.name?seller.name:reserve.seller_name}}</text>
			<text>{{seller.addr?seller.addr:reserev.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="aspectFill" />
				<view class="IntroduceColor chief Introducepublic {{theme+'chief'}}" wx:if="{{arryIndex=='0'}}">
					<view class="englishText">Introduce</view>
					<view class="chefText">品牌介绍</view>
					<view class="shopName">
						{{seller.name?seller.name:reserve .seller_name}}
					</view>
					<view class="labelBox labelBox2">
						<view class="line">
						</view>
						<text class="label">{{store.introduce}}
						</text>
					</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">
						{{seller.name?seller.name:reserve .seller_name}}
					</view>
					<view class="labelBox">
						<view class="line">
						</view>
						<text class="label styleLabel">{{store.introduce}}
						</text>
					</view>
				</view>
				<image src="{{item}}" mode="aspectFill"/>
			</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 wx:if="{{chef.image}}" src="{{chef.image}}" mode="aspectFill" />
				<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 labelBox2">
						<text class="label" >{{chef.introduce}}
						</text>
						<view class="line line1">
						</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>
						<text class="label styleLabel">{{chef .introduce}}
						</text>
					</view>
				</view>
				<image src="{{chef.image}}" mode="aspectFill" />
			</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="aspectFill" />
				<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 && 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">
			特别优惠
		</view>
		<view class="preferentialItems" wx:if="{{marketing && marketing.is_coupon=='1' && dataStr<(coupon_data.etime*1)}}">
			<view class="left">
				<view class="top">
					<text>{{coupon_data.aname}}</text>
					<text class="price" wx:if="{{coupon_data.price}}">¥{{coupon_data.price}}</text>
					<!-- is_cash 代金券  is_discount折扣券  is_dish菜品券 只有代金券有几折显示 -->
					<text wx:if="{{discount!='0.00' && (coupon_data.use.is_cash=='1' || coupon_data.use.is_cash)}}" class="discount">{{discount}}折</text>
				</view>
				<view wx:if="{{coupon_data.exp_date.is_week=='1' || coupon_data.exp_date.is_week===true}}" class="bottom" >
					{{coupon_data.exp_date.week_show?coupon_data.exp_date.week_show+'可用':''}}{{coupon_data.desc?','+coupon_data.desc+'。':'。'}}
				</view>
				<view wx:if="{{coupon_data.exp_date.is_none=='1' || coupon_data.exp_date.is_none===true}}" class="bottom" >
					无限制{{coupon_data.desc?','+coupon_data.desc+'。':'。'}}
				</view>
				<view wx:if="{{coupon_data.exp_date.is_birthday=='1' || coupon_data.exp_date.is_birthday===true}}" class="bottom" >
					会员生日当天可用{{coupon_data.desc?','+coupon_data.desc+'。':'。'}}
				</view>
			</view>
			<navigator url="/pack-activity/pack/buyCoupon?id={{coupon_data.id}}&name={{seller.name}}&use={{stringifyUse}}&sid={{seller.sid}}&oid={{detail.id}}" hover-class="navigator-hover">
				<view class="font24r orderingFood">
					去抢购
				</view>
			</navigator>
		</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>{{recharge_data.rname}}</text>
				</view>
				<view class="bottom" wx:if="{{priceInfo}}">
					{{priceInfo}}{{(recharge_data.recharge_list.is_coupons=='0' && recharge_data.recharge_list.is_score=='0')?'。':';'}}
				</view>
				<view class="bottom" wx:if="{{scoreInfo}}">
					{{scoreInfo}}{{recharge_data.recharge_list.is_coupons=='0'?'。':';'}}
				</view>
				<view class="bottom" wx:if="{{recharge_data.recharge_list.is_coupons=='1'}}">
					{{recharge_data.recharge_list.is_coupons=='1'?'会员充值满'+marketing.recharge_data.recharge_money+'元赠送优惠券':''}}。
				</view>
			</view>
			<navigator url="/pack-activity/pack/vipRecharge?id={{recharge_data.id}}&name={{seller.name}}&sid={{seller.sid}}&oid={{detail.id}}" hover-class="navigator-hover">
				<view class="font24r orderingFood">
					去充值
				</view>
			</navigator>
		</view>
	</view>
	<view class="vips">
		<image wx:if="{{marketing && marketing.logo}}" src="{{marketing.logo?marketing.logo:''}}" mode="heightFix" />
		<view class="news" wx:if="{{marketing && marketing.wecomle}}">
			{{marketing?marketing.wecomle:''}}
		</view>
		<!-- <view wx:if="{{marketing.is_link}}" class="font24r favouredPolicy">
			点击了解更多会员优惠政策
		</view> -->
		<view class="text">
			{{seller.name?seller.name:reserve.seller_name}}
		</view>
		<text style="color: #999; font-size: 26rpx;font-family: PingFang SC;">
			\n
			周到安排提供技术支持 400 000 9690
		</text>
	</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>
	<!-- <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>