|
...
|
...
|
@@ -13,66 +13,116 @@ |
|
|
|
</view>
|
|
|
|
<view class="info" style="color: rgba({{textColor}});">
|
|
|
|
<view class="texts font28r">就餐人数:</view>
|
|
|
|
<view class="texts font28r">{{seller.tableNum}}</view>
|
|
|
|
<view class="texts_right font28r">{{seller.tableNum}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="info" wx:if="{{options.type=='2'}}" style="color: rgba({{textColor}});">
|
|
|
|
<view class="texts font28r">排菜单名称:</view>
|
|
|
|
<view class="texts_right font28r">{{options.name}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="info" wx:if="{{options.type=='2'}}" style="color: rgba({{textColor}});">
|
|
|
|
<view class="texts font28r">餐厅地址:</view>
|
|
|
|
<view class="texts_right font28r">{{options.address}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="info" wx:if="{{options.type=='2'}}" style="color: rgba({{textColor}});">
|
|
|
|
<view class="texts font28r">专属服务:</view>
|
|
|
|
<view class="texts_right font28r">{{options.service}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="info" style="color: rgba({{textColor}});">
|
|
|
|
<view class="texts font28r">备注信息:</view>
|
|
|
|
<view class="texts font28r">{{notes?notes:''}}</view>
|
|
|
|
<view class="texts_right font28r">{{(options.type=='2' && options.remark)?options.remark:(options.type=='1' && notes)?notes:''}}</view>
|
|
|
|
</view>
|
|
|
|
<image class="imgs" src="https://qn.colorcun.com/001.png" mode="" />
|
|
|
|
</view>
|
|
|
|
<view class="checkMenu">
|
|
|
|
<block wx:for="{{cookbooklist}}" wx:key="id" wx:for-index="indexs">
|
|
|
|
<view class="heand flex-cc" wx:if="{{item.is_show}}">
|
|
|
|
<view class="heand flex-cc" wx:if="{{options.type=='2' || item.is_show}}">
|
|
|
|
<view class="style_round flex-cc">
|
|
|
|
<view class="round"></view>
|
|
|
|
<view class="line"></view>
|
|
|
|
</view>
|
|
|
|
<view class="title" style="color:rgba({{textColor}})">{{item.class_name}} <view>{{item.normsLen}}道</view></view>
|
|
|
|
<view class="title" style="color:rgba({{textColor}})">{{item.class_name}} <view>{{options.type=='2'?item.cookbooklist.length:item.normsLen}}道</view></view>
|
|
|
|
<view class="style_round flex-cc">
|
|
|
|
<view class="line"></view>
|
|
|
|
<view class="round"></view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<block wx:for="{{item.cookbooklist[0]}}" wx:key="id" wx:for-index="index" wx:key="id" >
|
|
|
|
<block wx:if="{{item.norms.length>0}}">
|
|
|
|
<view wx:for="{{item.norms}}" wx:for-index="idx" wx:key="id" class="normsBox">
|
|
|
|
<view class="content">
|
|
|
|
<view class="single" style="color: rgba({{textColor}});">{{item.cookName}}<text wx:if="{{item.name}}">({{item.name}})</text></view>
|
|
|
|
<view wx:if="{{is_show_price!='0'}}" class="onwBoxWrap">
|
|
|
|
<view class="oneBox" style="color: rgba({{textColor}});" wx:for="{{item.specArr}}" wx:key="id">
|
|
|
|
<view wx:if="{{item.str}}">{{item.str}}</view>
|
|
|
|
<view wx:if="{{item.member_str}}">{{item.member_str}}</view>
|
|
|
|
<block wx:if="{{options.type=='2'}}">
|
|
|
|
<block wx:for="{{item.cookbooklist}}" wx:key="id" wx:for-index="index" wx:key="id" >
|
|
|
|
<block wx:if="{{item.amount>0}}">
|
|
|
|
<view class="normsBox">
|
|
|
|
<view class="content">
|
|
|
|
<view class="single" style="color: rgba({{textColor}});">{{item.name}}<text wx:if="{{item.practiceName}}">({{item.practiceName}})</text></view>
|
|
|
|
<view wx:if="{{is_show_price!='0'}}" class="onwBoxWrap">
|
|
|
|
<view class="oneBox" style="color: rgba({{textColor}});" wx:for="{{item.specArr}}" wx:key="id">
|
|
|
|
<view wx:if="{{item.str}}">{{item.str}}</view>
|
|
|
|
<view wx:if="{{item.member_str}}" class="margLeft">{{item.member_str}}</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view wx:else class="onwBoxWrap">
|
|
|
|
<view class="oneBox" style="color: rgba({{textColor}});">
|
|
|
|
<view wx:if="{{item.taste}}" class="font26r">味型:{{item.taste}}</view>
|
|
|
|
<view wx:if="{{item.cooks}}" class="font26r">烹调:{{item.cooks}}</view>
|
|
|
|
<view wx:else class="onwBoxWrap">
|
|
|
|
<view class="oneBox" style="color: rgba({{textColor}});">
|
|
|
|
<view wx:if="{{item.taste}}" class="font26r">味型:{{item.taste}}</view>
|
|
|
|
<view wx:if="{{item.cooks}}" class="font26r">烹调:{{item.cooks}}</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{(is_show_price=='1' || !is_show_price) && (item.taste || item.cooks)}}" class="dishTexts" style="color:rgba({{textColor}})">
|
|
|
|
<text wx:if="{{item.taste}}" class="texts">味型:{{item.taste}}</text>
|
|
|
|
<text wx:if="{{item.cooks}}">烹调:{{item.cooks}}</text>
|
|
|
|
</view>
|
|
|
|
<view class="imgOneBox">
|
|
|
|
<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}}" />
|
|
|
|
</view>
|
|
|
|
<view class="countNum">
|
|
|
|
<view class="num">{{item.amount}}</view>
|
|
|
|
<view class="text texts" wx:if="{{item.specsName}}" style="color: rgba({{textColor}});">{{item.specsName}}</view>
|
|
|
|
<view class="text" wx:if="{{item.practiceName}}" style="color: rgba({{textColor}});">{{item.practiceName}}</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{(is_show_price=='1' || !is_show_price) && (item.taste || item.cooks)}}" class="dishTexts" style="color:rgba({{textColor}})">
|
|
|
|
<text wx:if="{{item.taste}}" class="texts">味型:{{item.taste}}</text>
|
|
|
|
<text wx:if="{{item.cooks}}">烹调:{{item.cooks}}</text>
|
|
|
|
</view>
|
|
|
|
<view class="imgOneBox">
|
|
|
|
<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}}" />
|
|
|
|
</view>
|
|
|
|
<view class="countNum">
|
|
|
|
<view class="num">{{item.count}}</view>
|
|
|
|
<view class="text texts" wx:if="{{item.specs || item.unit}}" style="color: rgba({{textColor}});">{{item.specs?item.specs:item.unit}}</view>
|
|
|
|
<view class="text" wx:if="{{item.specs || item.name}}" style="color: rgba({{textColor}});">{{item.name?item.name:''}}</view>
|
|
|
|
</block>
|
|
|
|
</block>
|
|
|
|
</block>
|
|
|
|
<block wx:else>
|
|
|
|
<block wx:for="{{item.cookbooklist[0]}}" wx:key="id" wx:for-index="index" wx:key="id" >
|
|
|
|
<block wx:if="{{item.norms.length>0}}">
|
|
|
|
<view wx:for="{{item.norms}}" wx:for-index="idx" wx:key="id" class="normsBox">
|
|
|
|
<view class="content">
|
|
|
|
<view class="single" style="color: rgba({{textColor}});">{{item.cookName}}<text wx:if="{{item.name}}">({{item.name}})</text></view>
|
|
|
|
<view wx:if="{{is_show_price!='0'}}" class="onwBoxWrap">
|
|
|
|
<view class="oneBox" style="color: rgba({{textColor}});" wx:for="{{item.specArr}}" wx:key="id">
|
|
|
|
<view wx:if="{{item.str}}">{{item.str}}</view>
|
|
|
|
<view wx:if="{{item.member_str}}" class="margLeft">{{item.member_str}}</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view wx:else class="onwBoxWrap">
|
|
|
|
<view class="oneBox" style="color: rgba({{textColor}});">
|
|
|
|
<view wx:if="{{item.taste}}" class="font26r">味型:{{item.taste}}</view>
|
|
|
|
<view wx:if="{{item.cooks}}" class="font26r">烹调:{{item.cooks}}</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view wx:if="{{(is_show_price=='1' || !is_show_price) && (item.taste || item.cooks)}}" class="dishTexts" style="color:rgba({{textColor}})">
|
|
|
|
<text wx:if="{{item.taste}}" class="texts">味型:{{item.taste}}</text>
|
|
|
|
<text wx:if="{{item.cooks}}">烹调:{{item.cooks}}</text>
|
|
|
|
</view>
|
|
|
|
<view class="imgOneBox">
|
|
|
|
<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}}" />
|
|
|
|
</view>
|
|
|
|
<view class="countNum">
|
|
|
|
<view class="num">{{item.count}}</view>
|
|
|
|
<view class="text texts" wx:if="{{item.specs || item.unit}}" style="color: rgba({{textColor}});">{{item.specs?item.specs:item.unit}}</view>
|
|
|
|
<view class="text" wx:if="{{item.specs || item.name}}" style="color: rgba({{textColor}});">{{item.name?item.name:''}}</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</block>
|
|
|
|
</block>
|
|
|
|
</block>
|
|
|
|
</block>
|
|
|
|
</view>
|
|
|
|
<view style="background-color: #fff;margin:0 20rpx;padding-top: 20rpx;">
|
|
|
|
<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 class="tariff font24r">菜单价:<text class="font28r">{{options.type=='2'?options.priceSum:probablyPrice}}</text>元</view>
|
|
|
|
<view class="tariff font24r">会员价:<text class="font28r">{{options.type=='2'?options.memberPriceSum:vipProbablyPrice}}</text>元</view>
|
|
|
|
<view class="tariff font24r" wx:if="{{options.type=='2' && options.planPriceSum}}">排菜价:<text class="font28r">{{options.planPriceSum}}</text>元</view>
|
|
|
|
</view>
|
|
|
|
<view class="information font36r">特别优惠</view>
|
|
|
|
<view class="poop font24r">根据您选择的菜品,我们推荐您参加以下活动,本次消费可用,预计可以节约大笔开销!</view>
|
|
...
|
...
|
@@ -110,8 +160,8 @@ |
|
|
|
周到安排提供技术支持 400-000-9690
|
|
|
|
</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 class="btns flex-cc">
|
|
|
|
<button wx:if="{{options.hasSuccess==1 && options.type=='1'}}" class="font32r continue flex-cc" style="background: rgba({{themeColor}});color: rgba({{textColor}});" bindtap="continueOrdering">菜品更换</button>
|
|
|
|
<button wx:if="{{options.hasSuccess==1}}" class="font32r determine flex-cc {{options.type=='2'?'onebtns':''}}" open-type="share">分享菜单</button>
|
|
|
|
</view>
|
|
|
|
</view> |
|
|
\ No newline at end of file |
...
|
...
|
|