Commit 27032a23 authored by 王炽's avatar 王炽

66666

parent f280fe75
...@@ -946,7 +946,7 @@ ...@@ -946,7 +946,7 @@
flex-wrap: wrap; flex-wrap: wrap;
.goods-item { .goods-item {
background-color: #6f6d67; background-color: #ffffff;
position: relative; position: relative;
width: 333rpx; width: 333rpx;
height: 459rpx; height: 459rpx;
......
...@@ -374,17 +374,18 @@ ...@@ -374,17 +374,18 @@
<view class="goods-content" v-for="(goodItemList, index) in goodsDataArr" :key="index" <view class="goods-content" v-for="(goodItemList, index) in goodsDataArr" :key="index"
v-if="goodsDataArr?.length > 0"> v-if="goodsDataArr?.length > 0">
<view class="goods-list" v-if="activeIndex === index"> <view class="goods-list" v-if="activeIndex === index">
<view class="goods-item" v-for="(goodItem, i) in goodItemList?.resourcePositionGoods" :key="i" <!-- <view class="goods-item" v-for="(goodItem, i) in goodItemList?.resourcePositionGoods" :key="i"
:style="{ :style="{
background: `url(${$baseUrl}integral/1022/listItemImgBg${itemIndex}.png) no-repeat center/contain` background: `url(${$baseUrl}integral/1022/listItemImgBg${itemIndex}.png) no-repeat center/contain`
}"> }"> -->
<view class="goods-item" v-for="(goodItem, i) in goodItemList?.resourcePositionGoods" :key="i">
<view class="goods-item-container" @click="handleGoodsItemClick(goodItem, i)"> <view class="goods-item-container" @click="handleGoodsItemClick(goodItem, i)">
<image class="goods-img" <image class="goods-img"
:src="goodItem?.goodsIcon.indexOf('http') !== -1 ? goodItem?.goodsIcon : $baseUrl + `${goodItem?.goodsIcon}`" :src="goodItem?.goodsIcon.indexOf('http') !== -1 ? goodItem?.goodsIcon : $baseUrl + `${goodItem?.goodsIcon}`"
mode="aspectFit" /> mode="scaleToFill" />
<image class="jifenshangpinmask" <image class="jifenshangpinmask"
:src="$baseUrl + `integral/1023/jifenshangpinmask${itemIndex}.png`" :src="$baseUrl + `integral/1023/jifenshangpinmask${itemIndex}.png`"
mode="aspectFit" /> mode="scaleToFill" />
<view class="title-container1"> <view class="title-container1">
<text class="title-text1">{{ goodItem?.goodsName }}</text> <text class="title-text1">{{ goodItem?.goodsName }}</text>
</view> </view>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment