修复临时菜和数签子显示问题,修复下单页面商品弹窗问题
This commit is contained in:
@@ -7,14 +7,21 @@
|
||||
<view class="limitDiscount" v-if="showLimitDiscount(item)"
|
||||
>限时折扣</view
|
||||
>
|
||||
|
||||
<up-image
|
||||
width="76"
|
||||
height="76"
|
||||
radius="6"
|
||||
:src="item.productImg"
|
||||
v-if="item.productId != -999"
|
||||
v-if="item.isTemporary != 1&&item.is_temporary!=1"
|
||||
></up-image>
|
||||
<up-image
|
||||
v-else-if="(item.isTemporary||item.is_temporary) &&(item.product_name=='签子'||item.productName=='签子')"
|
||||
width="76"
|
||||
height="76"
|
||||
radius="6"
|
||||
src="https://cashier-oss.oss-cn-beijing.aliyuncs.com/upload/5/b97054debd83486ab7ad8e20ca6a360a.png"
|
||||
mode="heightFix"
|
||||
></up-image>
|
||||
<up-image
|
||||
width="76"
|
||||
height="76"
|
||||
@@ -25,7 +32,7 @@
|
||||
></up-image>
|
||||
</view>
|
||||
<view class="info">
|
||||
<text class="productName">{{ item.productName }}</text>
|
||||
<text class="productName">{{ item.productName||item.product_name }}</text>
|
||||
<text class="productSkuName" v-if="item.skuName">{{
|
||||
item.skuName
|
||||
}}</text>
|
||||
@@ -55,18 +62,22 @@
|
||||
<view class="price">
|
||||
<view class="priceAmount">
|
||||
¥
|
||||
|
||||
<goodsPrice
|
||||
v-if="!item.is_temporary&&!item.isTemporary"
|
||||
:cart="item"
|
||||
:limitDiscount="limitDiscount"
|
||||
:shopUserInfo="shopUserInfo"
|
||||
:shopInfo="shopInfo"
|
||||
idKey="product_id"
|
||||
></goodsPrice>
|
||||
<text v-else>{{item.discount_sale_amount}}</text>
|
||||
<view class="old-price" v-if="showLimitDiscount(item)"
|
||||
>¥{{ item.salePrice }}</view
|
||||
>
|
||||
</view>
|
||||
<view class="num">x{{ item.num }}</view>
|
||||
<view class="num" v-if="!item.is_temporary&&!item.isTemporary">x{{ item.num }}</view>
|
||||
<view class="num" v-else>x{{ item.number }}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -70,7 +70,10 @@
|
||||
<view class="item" v-for="item in value" :key="item.id">
|
||||
<view class="cover">
|
||||
<up-image width="76" height="76" radius="16" :src="item.productImg"
|
||||
v-if="item.productId!=-999"></up-image>
|
||||
v-if="!item.isTemporary"></up-image>
|
||||
<u-image width="56" height="56" radius="10"
|
||||
v-else-if="item.isTemporary &&item.productName=='签子'"
|
||||
src="https://cashier-oss.oss-cn-beijing.aliyuncs.com/upload/5/b97054debd83486ab7ad8e20ca6a360a.png"></u-image>
|
||||
<up-image width="76" height="76" radius="16"
|
||||
:src="'https://czg-qr-order.oss-cn-beijing.aliyuncs.com/confirmOrder/table.png'"
|
||||
mode="heightFix" v-else></up-image>
|
||||
@@ -174,8 +177,8 @@
|
||||
<view>{{listinfo.packFeess}}</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- isTableFee == 0是不免除 -->
|
||||
<view class="cell-item"
|
||||
v-if="ordershopUserInfo.isTableFee == 0 && is_type == 0 && listinfo.Seatcharge != 0">
|
||||
@@ -198,7 +201,7 @@
|
||||
<text class="price"> {{listinfo.payAmount}} </text>
|
||||
</view>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user