fanfan 6 months ago
parent ecbc73e2a8
commit a3e1c1a07d
  1. 10
      pages/goods/list.vue
  2. 3
      pages/index/index.vue

@ -15,7 +15,7 @@
<scroll-view class="typeList" scroll-x="true">
<view v-for="(item,index) in tabbar" :key="index" class="bandsImg"
@click="onChage(item,1,index)"
:style="{'color':item.category_id==isBanrdActive?'#F43B21':'#5A5A5A','border':item.category_id==isBanrdActive?'1rpx solid #F22029':'1rpx solid #E7E7E7'}">
:style="{display: item.image ? 'inline-block' : 'none','color':item.category_id==isBanrdActive?'#F43B21':'#5A5A5A','border':item.category_id==isBanrdActive?'1rpx solid #F22029':'1rpx solid #E7E7E7'}">
<image :src="item.image?item.image.external_url:''" mode="aspectFill"></image>
<view class="typeItem">{{item.name}}</view>
</view>
@ -134,8 +134,7 @@
<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" v-if="item.cmmdty_model">
@ -297,7 +296,7 @@
}],
multiIndex: -1,
blheight: 0,
from: ''
from: '',
}
},
@ -572,7 +571,7 @@
<style lang="scss" scoped>
::v-deep .u-empty {
padding: 100rpx 0;
padding: 150rpx 0 0 0;
}
.head {
@ -754,6 +753,7 @@
justify-content: space-between;
flex-wrap: wrap;
}
.goods-item {
// width: 50%;
}

@ -190,7 +190,8 @@
</view>
</view>
<view class="activity">
<view class="left" @click="goNews" v-if="wxAppSetting.service">
<!-- @click="goNews" -->
<view class="left" v-if="wxAppSetting.service">
<image :src="`${$picUrl}/static/index/activity${styleIndex || ''}.png?t=${timestamp}`" mode="widthFix"></image>
</view>
<view class="right">

Loading…
Cancel
Save