|
@@ -13,66 +13,116 @@ |
|
@@ -13,66 +13,116 @@ |
|
13
|
</view>
|
13
|
</view>
|
|
14
|
<view class="info" style="color: rgba({{textColor}});">
|
14
|
<view class="info" style="color: rgba({{textColor}});">
|
|
15
|
<view class="texts font28r">就餐人数:</view>
|
15
|
<view class="texts font28r">就餐人数:</view>
|
|
16
|
- <view class="texts font28r">{{seller.tableNum}}</view>
|
16
|
+ <view class="texts_right font28r">{{seller.tableNum}}</view>
|
|
|
|
17
|
+ </view>
|
|
|
|
18
|
+ <view class="info" wx:if="{{options.type=='2'}}" style="color: rgba({{textColor}});">
|
|
|
|
19
|
+ <view class="texts font28r">排菜单名称:</view>
|
|
|
|
20
|
+ <view class="texts_right font28r">{{options.name}}</view>
|
|
|
|
21
|
+ </view>
|
|
|
|
22
|
+ <view class="info" wx:if="{{options.type=='2'}}" style="color: rgba({{textColor}});">
|
|
|
|
23
|
+ <view class="texts font28r">餐厅地址:</view>
|
|
|
|
24
|
+ <view class="texts_right font28r">{{options.address}}</view>
|
|
|
|
25
|
+ </view>
|
|
|
|
26
|
+ <view class="info" wx:if="{{options.type=='2'}}" style="color: rgba({{textColor}});">
|
|
|
|
27
|
+ <view class="texts font28r">专属服务:</view>
|
|
|
|
28
|
+ <view class="texts_right font28r">{{options.service}}</view>
|
|
17
|
</view>
|
29
|
</view>
|
|
18
|
<view class="info" style="color: rgba({{textColor}});">
|
30
|
<view class="info" style="color: rgba({{textColor}});">
|
|
19
|
<view class="texts font28r">备注信息:</view>
|
31
|
<view class="texts font28r">备注信息:</view>
|
|
20
|
- <view class="texts font28r">{{notes?notes:''}}</view>
|
32
|
+ <view class="texts_right font28r">{{(options.type=='2' && options.remark)?options.remark:(options.type=='1' && notes)?notes:''}}</view>
|
|
21
|
</view>
|
33
|
</view>
|
|
22
|
<image class="imgs" src="https://qn.colorcun.com/001.png" mode="" />
|
34
|
<image class="imgs" src="https://qn.colorcun.com/001.png" mode="" />
|
|
23
|
</view>
|
35
|
</view>
|
|
24
|
<view class="checkMenu">
|
36
|
<view class="checkMenu">
|
|
25
|
<block wx:for="{{cookbooklist}}" wx:key="id" wx:for-index="indexs">
|
37
|
<block wx:for="{{cookbooklist}}" wx:key="id" wx:for-index="indexs">
|
|
26
|
- <view class="heand flex-cc" wx:if="{{item.is_show}}">
|
38
|
+ <view class="heand flex-cc" wx:if="{{options.type=='2' || item.is_show}}">
|
|
27
|
<view class="style_round flex-cc">
|
39
|
<view class="style_round flex-cc">
|
|
28
|
<view class="round"></view>
|
40
|
<view class="round"></view>
|
|
29
|
<view class="line"></view>
|
41
|
<view class="line"></view>
|
|
30
|
</view>
|
42
|
</view>
|
|
31
|
- <view class="title" style="color:rgba({{textColor}})">{{item.class_name}} <view>{{item.normsLen}}道</view></view>
|
43
|
+ <view class="title" style="color:rgba({{textColor}})">{{item.class_name}} <view>{{options.type=='2'?item.cookbooklist.length:item.normsLen}}道</view></view>
|
|
32
|
<view class="style_round flex-cc">
|
44
|
<view class="style_round flex-cc">
|
|
33
|
<view class="line"></view>
|
45
|
<view class="line"></view>
|
|
34
|
<view class="round"></view>
|
46
|
<view class="round"></view>
|
|
35
|
</view>
|
47
|
</view>
|
|
36
|
</view>
|
48
|
</view>
|
|
37
|
- <block wx:for="{{item.cookbooklist[0]}}" wx:key="id" wx:for-index="index" wx:key="id" >
|
|
|
|
38
|
- <block wx:if="{{item.norms.length>0}}">
|
|
|
|
39
|
- <view wx:for="{{item.norms}}" wx:for-index="idx" wx:key="id" class="normsBox">
|
|
|
|
40
|
- <view class="content">
|
|
|
|
41
|
- <view class="single" style="color: rgba({{textColor}});">{{item.cookName}}<text wx:if="{{item.name}}">({{item.name}})</text></view>
|
|
|
|
42
|
- <view wx:if="{{is_show_price!='0'}}" class="onwBoxWrap">
|
|
|
|
43
|
- <view class="oneBox" style="color: rgba({{textColor}});" wx:for="{{item.specArr}}" wx:key="id">
|
|
|
|
44
|
- <view wx:if="{{item.str}}">{{item.str}}</view>
|
|
|
|
45
|
- <view wx:if="{{item.member_str}}">{{item.member_str}}</view>
|
49
|
+ <block wx:if="{{options.type=='2'}}">
|
|
|
|
50
|
+ <block wx:for="{{item.cookbooklist}}" wx:key="id" wx:for-index="index" wx:key="id" >
|
|
|
|
51
|
+ <block wx:if="{{item.amount>0}}">
|
|
|
|
52
|
+ <view class="normsBox">
|
|
|
|
53
|
+ <view class="content">
|
|
|
|
54
|
+ <view class="single" style="color: rgba({{textColor}});">{{item.name}}<text wx:if="{{item.practiceName}}">({{item.practiceName}})</text></view>
|
|
|
|
55
|
+ <view wx:if="{{is_show_price!='0'}}" class="onwBoxWrap">
|
|
|
|
56
|
+ <view class="oneBox" style="color: rgba({{textColor}});" wx:for="{{item.specArr}}" wx:key="id">
|
|
|
|
57
|
+ <view wx:if="{{item.str}}">{{item.str}}</view>
|
|
|
|
58
|
+ <view wx:if="{{item.member_str}}" class="margLeft">{{item.member_str}}</view>
|
|
|
|
59
|
+ </view>
|
|
46
|
</view>
|
60
|
</view>
|
|
47
|
- </view>
|
|
|
|
48
|
- <view wx:else class="onwBoxWrap">
|
|
|
|
49
|
- <view class="oneBox" style="color: rgba({{textColor}});">
|
|
|
|
50
|
- <view wx:if="{{item.taste}}" class="font26r">味型:{{item.taste}}</view>
|
|
|
|
51
|
- <view wx:if="{{item.cooks}}" class="font26r">烹调:{{item.cooks}}</view>
|
61
|
+ <view wx:else class="onwBoxWrap">
|
|
|
|
62
|
+ <view class="oneBox" style="color: rgba({{textColor}});">
|
|
|
|
63
|
+ <view wx:if="{{item.taste}}" class="font26r">味型:{{item.taste}}</view>
|
|
|
|
64
|
+ <view wx:if="{{item.cooks}}" class="font26r">烹调:{{item.cooks}}</view>
|
|
|
|
65
|
+ </view>
|
|
52
|
</view>
|
66
|
</view>
|
|
53
|
</view>
|
67
|
</view>
|
|
|
|
68
|
+ <view wx:if="{{(is_show_price=='1' || !is_show_price) && (item.taste || item.cooks)}}" class="dishTexts" style="color:rgba({{textColor}})">
|
|
|
|
69
|
+ <text wx:if="{{item.taste}}" class="texts">味型:{{item.taste}}</text>
|
|
|
|
70
|
+ <text wx:if="{{item.cooks}}">烹调:{{item.cooks}}</text>
|
|
|
|
71
|
+ </view>
|
|
|
|
72
|
+ <view class="imgOneBox">
|
|
|
|
73
|
+ <image wx:if="{{item.image}}" catch:tap="preview" style="height: {{item.imageHeight>height?height+'px':item.imageHeight+'px'}};width: {{item.imageHeight>height?'':item.imageHeight==height?'100%':'100%'}}" mode="{{(item.imageHeight>height || item.imageHeight==height)?'aspectFit':''}}" src="{{item.image}}" bindload="imageLoad" data-item="{{item}}" data-index="{{index}}" data-indexs="{{indexs}}" data-idx="{{idx}}" />
|
|
|
|
74
|
+ </view>
|
|
|
|
75
|
+ <view class="countNum">
|
|
|
|
76
|
+ <view class="num">{{item.amount}}</view>
|
|
|
|
77
|
+ <view class="text texts" wx:if="{{item.specsName}}" style="color: rgba({{textColor}});">{{item.specsName}}</view>
|
|
|
|
78
|
+ <view class="text" wx:if="{{item.practiceName}}" style="color: rgba({{textColor}});">{{item.practiceName}}</view>
|
|
|
|
79
|
+ </view>
|
|
54
|
</view>
|
80
|
</view>
|
|
55
|
- <view wx:if="{{(is_show_price=='1' || !is_show_price) && (item.taste || item.cooks)}}" class="dishTexts" style="color:rgba({{textColor}})">
|
|
|
|
56
|
- <text wx:if="{{item.taste}}" class="texts">味型:{{item.taste}}</text>
|
|
|
|
57
|
- <text wx:if="{{item.cooks}}">烹调:{{item.cooks}}</text>
|
|
|
|
58
|
- </view>
|
|
|
|
59
|
- <view class="imgOneBox">
|
|
|
|
60
|
- <image wx:if="{{item.image}}" catch:tap="preview" style="height: {{item.imageHeight>height?height+'px':item.imageHeight+'px'}};width: {{item.imageHeight>height?'':item.imageHeight==height?'100%':'100%'}}" mode="{{(item.imageHeight>height || item.imageHeight==height)?'aspectFit':''}}" src="{{item.image}}" bindload="imageLoad" data-item="{{item}}" data-index="{{index}}" data-indexs="{{indexs}}" data-idx="{{idx}}" />
|
|
|
|
61
|
- </view>
|
|
|
|
62
|
- <view class="countNum">
|
|
|
|
63
|
- <view class="num">{{item.count}}</view>
|
|
|
|
64
|
- <view class="text texts" wx:if="{{item.specs || item.unit}}" style="color: rgba({{textColor}});">{{item.specs?item.specs:item.unit}}</view>
|
|
|
|
65
|
- <view class="text" wx:if="{{item.specs || item.name}}" style="color: rgba({{textColor}});">{{item.name?item.name:''}}</view>
|
81
|
+ </block>
|
|
|
|
82
|
+ </block>
|
|
|
|
83
|
+ </block>
|
|
|
|
84
|
+ <block wx:else>
|
|
|
|
85
|
+ <block wx:for="{{item.cookbooklist[0]}}" wx:key="id" wx:for-index="index" wx:key="id" >
|
|
|
|
86
|
+ <block wx:if="{{item.norms.length>0}}">
|
|
|
|
87
|
+ <view wx:for="{{item.norms}}" wx:for-index="idx" wx:key="id" class="normsBox">
|
|
|
|
88
|
+ <view class="content">
|
|
|
|
89
|
+ <view class="single" style="color: rgba({{textColor}});">{{item.cookName}}<text wx:if="{{item.name}}">({{item.name}})</text></view>
|
|
|
|
90
|
+ <view wx:if="{{is_show_price!='0'}}" class="onwBoxWrap">
|
|
|
|
91
|
+ <view class="oneBox" style="color: rgba({{textColor}});" wx:for="{{item.specArr}}" wx:key="id">
|
|
|
|
92
|
+ <view wx:if="{{item.str}}">{{item.str}}</view>
|
|
|
|
93
|
+ <view wx:if="{{item.member_str}}" class="margLeft">{{item.member_str}}</view>
|
|
|
|
94
|
+ </view>
|
|
|
|
95
|
+ </view>
|
|
|
|
96
|
+ <view wx:else class="onwBoxWrap">
|
|
|
|
97
|
+ <view class="oneBox" style="color: rgba({{textColor}});">
|
|
|
|
98
|
+ <view wx:if="{{item.taste}}" class="font26r">味型:{{item.taste}}</view>
|
|
|
|
99
|
+ <view wx:if="{{item.cooks}}" class="font26r">烹调:{{item.cooks}}</view>
|
|
|
|
100
|
+ </view>
|
|
|
|
101
|
+ </view>
|
|
|
|
102
|
+ </view>
|
|
|
|
103
|
+ <view wx:if="{{(is_show_price=='1' || !is_show_price) && (item.taste || item.cooks)}}" class="dishTexts" style="color:rgba({{textColor}})">
|
|
|
|
104
|
+ <text wx:if="{{item.taste}}" class="texts">味型:{{item.taste}}</text>
|
|
|
|
105
|
+ <text wx:if="{{item.cooks}}">烹调:{{item.cooks}}</text>
|
|
|
|
106
|
+ </view>
|
|
|
|
107
|
+ <view class="imgOneBox">
|
|
|
|
108
|
+ <image wx:if="{{item.image}}" catch:tap="preview" style="height: {{item.imageHeight>height?height+'px':item.imageHeight+'px'}};width: {{item.imageHeight>height?'':item.imageHeight==height?'100%':'100%'}}" mode="{{(item.imageHeight>height || item.imageHeight==height)?'aspectFit':''}}" src="{{item.image}}" bindload="imageLoad" data-item="{{item}}" data-index="{{index}}" data-indexs="{{indexs}}" data-idx="{{idx}}" />
|
|
|
|
109
|
+ </view>
|
|
|
|
110
|
+ <view class="countNum">
|
|
|
|
111
|
+ <view class="num">{{item.count}}</view>
|
|
|
|
112
|
+ <view class="text texts" wx:if="{{item.specs || item.unit}}" style="color: rgba({{textColor}});">{{item.specs?item.specs:item.unit}}</view>
|
|
|
|
113
|
+ <view class="text" wx:if="{{item.specs || item.name}}" style="color: rgba({{textColor}});">{{item.name?item.name:''}}</view>
|
|
|
|
114
|
+ </view>
|
|
66
|
</view>
|
115
|
</view>
|
|
67
|
- </view>
|
116
|
+ </block>
|
|
68
|
</block>
|
117
|
</block>
|
|
69
|
</block>
|
118
|
</block>
|
|
70
|
</block>
|
119
|
</block>
|
|
71
|
</view>
|
120
|
</view>
|
|
72
|
<view style="background-color: #fff;margin:0 20rpx;padding-top: 20rpx;">
|
121
|
<view style="background-color: #fff;margin:0 20rpx;padding-top: 20rpx;">
|
|
73
|
<view class="probably flex-ll">
|
122
|
<view class="probably flex-ll">
|
|
74
|
- <view class="tariff font24r">菜单价:<text class="font32r">{{probablyPrice}}</text>元</view>
|
|
|
|
75
|
- <view class="tariff font24r">会员价:<text class="font32r">{{vipProbablyPrice}}</text>元</view>
|
123
|
+ <view class="tariff font24r">菜单价:<text class="font28r">{{options.type=='2'?options.priceSum:probablyPrice}}</text>元</view>
|
|
|
|
124
|
+ <view class="tariff font24r">会员价:<text class="font28r">{{options.type=='2'?options.memberPriceSum:vipProbablyPrice}}</text>元</view>
|
|
|
|
125
|
+ <view class="tariff font24r" wx:if="{{options.type=='2' && options.planPriceSum}}">排菜价:<text class="font28r">{{options.planPriceSum}}</text>元</view>
|
|
76
|
</view>
|
126
|
</view>
|
|
77
|
<view class="information font36r">特别优惠</view>
|
127
|
<view class="information font36r">特别优惠</view>
|
|
78
|
<view class="poop font24r">根据您选择的菜品,我们推荐您参加以下活动,本次消费可用,预计可以节约大笔开销!</view>
|
128
|
<view class="poop font24r">根据您选择的菜品,我们推荐您参加以下活动,本次消费可用,预计可以节约大笔开销!</view>
|
|
@@ -110,8 +160,8 @@ |
|
@@ -110,8 +160,8 @@ |
|
110
|
周到安排提供技术支持 400-000-9690
|
160
|
周到安排提供技术支持 400-000-9690
|
|
111
|
</view>
|
161
|
</view>
|
|
112
|
</scroll-view>
|
162
|
</scroll-view>
|
|
113
|
- <view class="btns flex-cc" wx:if="{{options.hasSuccess==1}}">
|
|
|
|
114
|
- <button class="font32r continue flex-cc" style="background: rgba({{themeColor}});color: rgba({{textColor}});" bindtap="continueOrdering">菜品更换</button>
|
|
|
|
115
|
- <button class="font32r determine flex-cc" open-type="share">分享菜单</button>
|
163
|
+ <view class="btns flex-cc">
|
|
|
|
164
|
+ <button wx:if="{{options.hasSuccess==1 && options.type=='1'}}" class="font32r continue flex-cc" style="background: rgba({{themeColor}});color: rgba({{textColor}});" bindtap="continueOrdering">菜品更换</button>
|
|
|
|
165
|
+ <button wx:if="{{options.hasSuccess==1}}" class="font32r determine flex-cc {{options.type=='2'?'onebtns':''}}" open-type="share">分享菜单</button>
|
|
116
|
</view>
|
166
|
</view>
|
|
117
|
</view> |
167
|
</view> |