cart_new.wxml
2.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!--pack-cookbook/pages/cart_new.wxml-->
<view class="page" style="background: rgba({{themeColor}});">
<nav backgroundColor="rgba({{themeColor}})" color="rgba({{navColor}})">{{options.sellerName||'提交订单'}}</nav>
<scroll-view class="main" style="background: rgba({{themeColor}});">
<view class="info" style="color: rgba({{textColor}});">
<view class="texts font28r">就餐时间:</view>
<view class="texts font28r">{{seller.date}}</view>
</view>
<view class="info" style="color: rgba({{textColor}});">
<view class="texts font28r">桌位台号:</view>
<view class="texts_right font28r">{{seller.tablesText}}</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>
<input type="text" model:value="{{notes}}" style="color:rgba({{textColor}})" placeholder="点击录入口味,偏好等要求" placeholder-style="color:rgba({{textColor}})" />
</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:item.unit?'/'+item.unit:''}}</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" style="color: rgba({{textColor}});">
<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" style="background: rgba({{themeColor}});color: rgba({{textColor}});" bindtap="continueOrdering">继续点菜</button>
<button class="font32r flex-cc {{noData?'determine1':'determine'}}" bindtap="determineFun">确认下单</button>
</view>
</view>