首页列表判断

version/0412
shuxiaoquan 10 months ago
parent 9cfb506460
commit 68dde52c8f
  1. 6
      pages/index/index.vue

@ -103,7 +103,7 @@
</view> </view>
</view> </view>
<view class="dapai"> <view class="dapai" v-if="dapaiList && dapaiList.length>0">
<!-- <image src="/static/index/dapaibg.png" mode="widthFix" class="dapaibg"></image> --> <!-- <image src="/static/index/dapaibg.png" mode="widthFix" class="dapaibg"></image> -->
<view class="dapaiBox"> <view class="dapaiBox">
<view class="dapaiTitle"> <view class="dapaiTitle">
@ -136,7 +136,7 @@
</view> </view>
</view> </view>
<view class="qianggou" v-if="seckillList.length>0"> <view class="qianggou" v-if="seckillList && seckillList.length>0">
<view class="title" @click="seckill"> <view class="title" @click="seckill">
<image :src="$picUrl+'/static/index/limitBuy.png'" mode="widthFix"></image> <image :src="$picUrl+'/static/index/limitBuy.png'" mode="widthFix"></image>
<view class="more">查看更多<u-icon style="margin-left:10rpx;" name="arrow-right"></u-icon> <view class="more">查看更多<u-icon style="margin-left:10rpx;" name="arrow-right"></u-icon>
@ -158,7 +158,7 @@
</u-count-down> </u-count-down>
</view> </view>
</view> </view>
<view class="goods-list"> <view class="goods-list" v-if="seckillList && seckillList.length>0">
<view class="list" v-for="(item, index) in seckillList" :key="index" <view class="list" v-for="(item, index) in seckillList" :key="index"
@click="handleTargetGoods(item.goods_id)"> @click="handleTargetGoods(item.goods_id)">
<view class="pictrue"> <view class="pictrue">

Loading…
Cancel
Save