|
|
|
@ -24,13 +24,13 @@ |
|
|
|
|
<view v-if="item.imgs && item.imgs.length > 0" class="pic-list"> |
|
|
|
|
<image v-for="(pic, k) in item.imgs" :key="k" :src="pic.external_url" mode="aspectFill" @click="previewImage(k, item.imgs)"></image> |
|
|
|
|
</view> |
|
|
|
|
<view class="goods"> |
|
|
|
|
<view v-if="item.goodsInfo" class="goods"> |
|
|
|
|
<view class="goods-box"> |
|
|
|
|
<image :src="item.goods_image" mode="aspectFill"></image> |
|
|
|
|
<image :src="item.goodsInfo.goods_image" mode="aspectFill"></image> |
|
|
|
|
<view class="goods-info"> |
|
|
|
|
<view class="name">{{ item.goods_name }}</view> |
|
|
|
|
<view class="name">{{ item.goodsInfo.goods_name }}</view> |
|
|
|
|
<view class="price"> |
|
|
|
|
<text>¥{{ item.goods_price_min>0?Number(item.goods_price_min):0.00 }}</text> |
|
|
|
|
<text>¥{{ item.goodsInfo.goods_price_min>0?Number(item.goodsInfo.goods_price_min):0.00 }}</text> |
|
|
|
|
<text @click="toGoodsDetail(item)">加购</text> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|