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

@ -105,7 +105,7 @@
<view v-else> <view v-else>
<u-waterfall v-model="list.data" ref="uWaterfall1"> <u-waterfall v-model="list.data" ref="uWaterfall1">
<template v-slot:left="{leftList}"> <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)"> @click="onTargetDetail(item.goods_id)">
<!-- 多列显示 --> <!-- 多列显示 -->
<view class=""> <view class="">
@ -127,7 +127,8 @@
<text v-if="item.line_price_min > 0" <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> class="line-price col-9 f-24">{{ item.line_price_min>0?Number(item.line_price_min):0.00 }}</text>
</view> </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> </image>
</view> </view>
<view class="goodsInfo"> <view class="goodsInfo">
@ -159,7 +160,7 @@
</view> </view>
</template> </template>
<template v-slot:right="{rightList}"> <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)"> @click="onTargetDetail(item.goods_id)">
<!-- 多列显示 --> <!-- 多列显示 -->
<view class=""> <view class="">
@ -181,7 +182,8 @@
<text v-if="item.line_price_min > 0" <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> class="line-price col-9 f-24">{{ item.line_price_min>0?Number(item.line_price_min):'' }}</text>
</view> </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> </image>
</view> </view>
<view class="goodsInfo"> <view class="goodsInfo">
@ -693,8 +695,12 @@
} }
} }
.goods-item1 {
width: 365rpx;
}
.goods-item { .goods-item {
float: left; // float: left;
box-sizing: border-box; box-sizing: border-box;
padding: 12rpx 9rpx; padding: 12rpx 9rpx;
@ -968,4 +974,4 @@
} }
} }
</style> </style>

Loading…
Cancel
Save