success_new.wxml 4.03 KB
<!--pack-cookbook/pages/success_new.wxml-->
<view style="background: rgba({{themeColor}});height: 100%;">
	<nav back="none" bindNavEvent="navEvent"  backgroundColor="rgba({{themeColor}})" color="rgba({{navColor}})">{{options.sellerName}}</nav>
	<scroll-view class="main" style="background: rgba({{themeColor}});">
		<view class="box">
			<view class="info" style="color: rgba({{textColor}});">
				<view class="texts font28r">就餐时间:</view>
				<view class="texts_right font28r">{{seller.date}}</view>
			</view>
			<view class="info" style="color: rgba({{textColor}});">
				<view class="texts font28r">桌位台号:</view>
				<view class="texts_right font28r">{{seller.room}} {{seller.region}}</view>
			</view>
			<view class="info" style="color: rgba({{textColor}});">
				<view class="texts font28r">就餐人数:</view>
				<view class="texts font28r">{{seller.tableNum}}</view>
			</view>
			<view class="info" style="color: rgba({{textColor}});">
				<view class="texts font28r">备注信息:</view>
				<view class="texts font28r">{{notes?notes:''}}</view>
			</view>
			<image class="imgs" src="https://qn.colorcun.com/001.png" mode="" />
		</view>
		<view class="line"></view>
		<view class="checkMenu">
			<block wx:for="{{cookbooklist}}" wx:key="{{item.id}}" wx:for-index="indexs">
				<view wx:if="{{item.is_show}}" class="title flex-lr">
					<view class="leftTitle">{{item.class_name}}</view>
					<view class="rightTitle">{{item.normsLen}}道</view>
				</view>
				<block wx:for="{{item.cookbooklist[0]}}" wx:key="{{item.id}}" wx:for-index="index">
					<block wx:if="{{item.norms.length>0}}">
						<view wx:for="{{item.norms}}" wx:for-index="idx" class="content flex-lr">
							<view class="single">{{item.cookName}}<text wx:if="{{item.name}}">({{item.name}})</text></view>
							<view class="price">{{item.price}}元{{item.specs?'/'+item.specs:item.unit?'/'+item.unit:''}}</view>
							{{item.count}}
						</view>
					</block>
				</block>
			</block>
			<view class="probably flex-ll">
				<view class="tariff font24r">菜单价:<text class="font32r">{{probablyPrice}}</text>元</view>
				<view class="tariff font24r">会员价:<text class="font32r">{{vipProbablyPrice}}</text>元</view>
			</view>
			<view class="information font36r">特别优惠</view>
			<view class="poop font24r">根据您选择的菜品,我们推荐您参加以下活动,本次消费可用,预计可以节约大笔开销!</view>
			<view class="preferential" wx:if="{{rechargeList.length>0}}">
				<!-- 当前日期要大于限制结束日期 -->
				<view class="preferentialItems" wx:for="{{rechargeList}}" data-id="{{item.id}}">
					<view class="left">
						<view class="top">
							<text>{{item.rname}}</text>
						</view>
						<view class="bottom" wx:if="{{item.priceInfo}}">
							{{item.priceInfo}}{{(item.recharge_lists.is_coupons=='0' && item.recharge_lists.is_score=='0')?'。':';'}}
						</view>
						<view class="bottom" wx:if="{{item.scoreInfo}}">
							{{item.scoreInfo}}{{item.recharge_lists.is_coupons=='0'?'。':';'}}
						</view>
						<view class="bottom" wx:if="{{item.recharge_lists.is_coupons=='1'}}">
							{{item.recharge_lists.is_coupons=='1'?'会员充值满'+item.recharge_money+'元赠送'+item.certificate:''}}。
						</view>
					</view>
					<navigator url="/pack-activity/pack/vipRecharge?id={{item.id}}&name={{options.sellerName}}&sid={{options.sid}}&oid={{options.oid}}&rid={{options.rid}}&types=2" hover-class="navigator-hover">
						<view class="font24r orderingFood">
							去充值
						</view>
					</navigator>
				</view>
			</view>
			<view class="favouredPolicy">
				<view class="font24r policy" bindtap="gotoFavourableList">
					点击了解更多会员优惠政策
				</view>
			</view>
		</view>
	</scroll-view>
	<view class="btns flex-cc" wx:if="{{options.hasSuccess==1}}">
		<button class="font32r continue flex-cc" style="background: rgba({{themeColor}});color: rgba({{textColor}});" bindtap="continueOrdering">菜品更换</button>
		<button class="font32r determine flex-cc" open-type="share">分享菜单</button>
	</view>
</view>