cart_new.wxml 2.47 KB
<!--pack-cookbook/pages/cart_new.wxml-->
<nav backgroundColor="#4d4e50" color="#fff">{{options.sellerName||'提交订单'}}</nav>
<scroll-view class="main">
	<view class="info flex-lr">
		<view class="texts font28r">就餐时间:</view>
		<view class="texts_right font28r">{{options.sellerDate}} {{options.soltName}}</view>
	</view>
	<view class="info flex-lr">
		<view class="texts font28r">桌位台号:</view>
		<view class="texts_right font28r">{{options.region}}</view>
	</view>
	<view class="info flex-lr">
		<view class="texts font28r">就餐人数:</view>
		<view class="texts font28r">{{options.tableNum}}</view>
	</view>
	<view class="info flex-lr">
		<view class="texts font28r">备注信息:</view>
		<input type="text" model:value="{{notes}}" placeholder="点击录入口味,偏好等要求" placeholder-style="color:#fff" />
	</view>
	<view class="line"></view>
	<view class="checkMenu" wx:if="{{cookbooklist.length>0}}">
		<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:''}}</view>
						<view class="count flex-cc">
							<image bindtap="countFun" data-type="2" data-item="{{item}}" src="https://qn.colorcun.com/WechatIMG809.png" class="img1" mode="" />
							{{item.count}}
							<image bindtap="countFun" data-type="1" data-item="{{item}}" src="https://qn.colorcun.com/WechatIMG810.png" class="img2" mode="" />
						</view>
					</view>
				</block>
			</block>
		</block>
	</view>
	<view wx:if="{{noData}}" 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>
</scroll-view>
<view class="btns flex-cc">
	<button class="font32r continue flex-cc" bindtap="continueOrdering">继续点菜</button>
	<button class="font32r flex-cc {{noData?'determine':'determine1'}}" bindtap="determineFun">确认下单</button>
</view>