学习很差啦 2022-10-27 10:25:32 +08:00
commit ddee1fca8e
3 changed files with 6 additions and 6 deletions

View File

@ -38,7 +38,7 @@
<view v-else>
<!-- 批发价格 -->
<div class='price-row flex' v-if="wholesaleList.length">
<div class='price-row flex' v-if="goodsDetail.salesModel === 'WHOLESALE'">
<div class='goods-price' v-for="(item,index) in wholesaleList" :key="index">
<span>

View File

@ -147,9 +147,9 @@
<p class="goods-prices">
<span></span>
<span class="goods-price">{{
$options.filters.goodsFormatPrice(val.goodsSku.price)[0]
$options.filters.goodsFormatPrice(val.purchasePrice)[0]
}}</span>
<span>.{{ $options.filters.goodsFormatPrice(val.goodsSku.price)[1] }}</span>
<span>.{{ $options.filters.goodsFormatPrice(val.purchasePrice)[1] }}</span>
</p>
</div>
</div>

View File

@ -1,8 +1,8 @@
<template>
<div class="layout">
<div class="flex-one">
<!-- <u-image width="100%" mode="aspectFit" height="280rpx" :src="res.list[0].img" alt=""></u-image> -->
<hotzone :res="res"></hotzone>
<u-image v-if="res.list[0].zoneInfo == ''" @click="modelNavigateTo(res.list[0])" width="100%" mode="aspectFit" height="280rpx" :src="res.list[0].img" alt=""></u-image>
<hotzone v-else :res="res"></hotzone>
</div>
</div>
</template>
@ -17,7 +17,7 @@ export default {
},
data() {
return {
modelNavigateTo,
modelNavigateTo
};
},
props: ["res"],