cart_new.wxml 2.3 KB
<!--pack-cookbook/pages/cart_new.wxml-->
<nav backgroundColor="#4d4e50" color="#fff">{{sellerName||'提交订单'}}</nav>
<scroll-view class="main">
	<view class="info flex-lr">
		<view class="texts font28r">就餐时间:</view>
		<view class="texts_right font28r">{{sellerDate}} {{soltName}}</view>
	</view>
	<view class="info flex-lr">
		<view class="texts font28r">桌位台号:</view>
		<view class="texts_right font28r">{{region}}</view>
	</view>
	<view class="info flex-lr">
		<view class="texts font28r">就餐人数:</view>
		<view class="texts font28r">{{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.arr.length>0}}">
					<view wx:for="{{item.arr}}" wx:for-index="idx" class="content flex-lr">
						<view class="single">{{item.name}}<text>({{item.practice}})</text></view>
						<view class="price">{{item.price}}元/{{item.unit}}</view>
						<view class="count flex-cc">
							<image bindtap="countFun" data-type="0" data-indexs="{{indexs}}" data-index="{{index}}" data-idx="{{idx}}" src="https://qn.colorcun.com/WechatIMG809.png" class="img1" mode="" />
							{{item.quantum}}
							<image bindtap="countFun" data-type="1" data-indexs="{{indexs}}" data-index="{{index}}" data-idx="{{idx}}" src="https://qn.colorcun.com/WechatIMG810.png" class="img2" mode="" />
						</view>
					</view>
				</block>
			</block>
		</block>
	</view>
	<view wx:if="{{noData}}" class="probably">预计金额:{{probablyPrice}}元</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>