细节大牌 新品 排行

version/0412
fanfan 11 months ago
parent e946ccdf92
commit 79e33a1c17
  1. 6
      pages/index/index.vue
  2. 5
      pages/user/vip/goods.vue

@ -106,7 +106,7 @@
</view>
<view class="more" @click="goJump('/pages/user/vip/goods')">查看更多<u-icon style="margin-left:10rpx;" name="arrow-right"></u-icon></view>
<view class="dapaiContent" @click="goBigGoods" v-if="dapaiList.length>0">
<view class="dapaiItem" v-for="(item,index) in dapaiList" :key="index" @click="goJump('/pages/goods/detail?goodsId=' + item.goods_id)">
<view class="dapaiItem" v-for="(item,index) in dapaiList.slice(0,10)" :key="index" @click="goJump('/pages/goods/detail?goodsId=' + item.goods_id)">
<view class="picContent">
<image :src="item.goods_image"></image>
</view>
@ -172,7 +172,7 @@
<view class="more" @click="goNewGoods">查看更多<u-icon name="arrow-right"></u-icon></view>
<scroll-view scroll-x="true">
<view class="right1Good">
<view class="right1Item" v-for="(item,index) in xinpinList" :key="index" @click="goJump('/pages/goods/detail?goodsId=' + item.goods_id)">
<view class="right1Item" v-for="(item,index) in xinpinList.slice(0,3)" :key="index" @click="goJump('/pages/goods/detail?goodsId=' + item.goods_id)">
<image :src="item.goods_image"></image>
<view class="priceBox">
<image :src="$picUrl+'/static/index/price.png'" mode="heightFix"></image>
@ -188,7 +188,7 @@
<image :src="$picUrl+'/static/index/paihangbang.png'" mode="widthFix" @click="rankIng" class="title"></image>
<view class="more" @click="rankIng">查看更多<u-icon name="arrow-right"></u-icon></view>
<view class="right1Good">
<view class="right1Item" v-for="(item,index) in paihangList" :key="index" @click="goJump('/pages/goods/detail?goodsId=' + item.goods_id)">
<view class="right1Item" v-for="(item,index) in paihangList.slice(0,3)" :key="index" @click="goJump('/pages/goods/detail?goodsId=' + item.goods_id)">
<image :src="item.goods_image"></image>
<view class="priceBox">
<image :src="$picUrl+'/static/index/price.png'" mode="heightFix"></image>

@ -28,7 +28,7 @@
<view class="item" @click="tabFilter(3,7)" :class="filterIndex==3?'item-on':''">综合</view>
</view>
<scroll-view scroll-y class="l">
<view class="item" v-for="(item,index) in list" :key="index" @click="goodsDetail(item.goods_id)"
<view class="item" v-for="(item,index) in list" v-if="list.length>0" :key="index" @click="goodsDetail(item.goods_id)"
:isLoading="isLoading">
<image :src="item.goods_image"></image>
<view class="title">
@ -42,6 +42,7 @@
{{item.goods_sales}}+条评论 {{item.remaizhishu}}%好评率
</view>
</view>
<u-empty text="暂无数据显示哦~" v-else mode="list"></u-empty>
</scroll-view>
</view>
</view>
@ -139,7 +140,7 @@
app.categoryChildren = [];
app.categoryChildren = item.children;
app.list = [];
this.getBrandList(item.children[0].category_id)
this.getBrandList(item.category_id)
},
tabFilter(index, stuts) {
this.filterIndex = index;

Loading…
Cancel
Save