main
fanfan 8 months ago
parent 985f1279d5
commit 4b9fa154ba
  1. 16
      pages/goods/list.vue

@ -105,7 +105,7 @@
<view v-else>
<u-waterfall v-model="list.data" ref="uWaterfall1">
<template v-slot:left="{leftList}">
<view class="goods-item" v-for="(item, index) in leftList" :key="index"
<view class="goods-item goods-item1" v-for="(item, index) in leftList" :key="index"
@click="onTargetDetail(item.goods_id)">
<!-- 多列显示 -->
<view class="">
@ -127,7 +127,8 @@
<text v-if="item.line_price_min > 0"
class="line-price col-9 f-24">{{ item.line_price_min>0?Number(item.line_price_min):0.00 }}</text>
</view>
<image :src="$picUrl+'/static/detail/redShen.png'" v-if="item.is_check==1" mode="">
<image :src="$picUrl+'/static/detail/redShen.png'" v-if="item.is_check==1"
mode="">
</image>
</view>
<view class="goodsInfo">
@ -159,7 +160,7 @@
</view>
</template>
<template v-slot:right="{rightList}">
<view class="goods-item" v-for="(item, index) in rightList" :key="index"
<view class="goods-item goods-item1" v-for="(item, index) in rightList" :key="index"
@click="onTargetDetail(item.goods_id)">
<!-- 多列显示 -->
<view class="">
@ -181,7 +182,8 @@
<text v-if="item.line_price_min > 0"
class="line-price col-9 f-24">{{ item.line_price_min>0?Number(item.line_price_min):'' }}</text>
</view>
<image :src="$picUrl+'/static/detail/redShen.png'" v-if="item.is_check==1" mode="">
<image :src="$picUrl+'/static/detail/redShen.png'" v-if="item.is_check==1"
mode="">
</image>
</view>
<view class="goodsInfo">
@ -693,8 +695,12 @@
}
}
.goods-item1 {
width: 365rpx;
}
.goods-item {
float: left;
// float: left;
box-sizing: border-box;
padding: 12rpx 9rpx;

Loading…
Cancel
Save