学习很差啦 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> <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"> <div class='goods-price' v-for="(item,index) in wholesaleList" :key="index">
<span> <span>

View File

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

View File

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