|
|
|
@ -20,7 +20,7 @@ |
|
|
|
<div class="service f-flex" v-if="iconList.length != 0"> |
|
|
|
<div class="item" v-for="(item,index) in iconList" :key="index" v-on:click="goods(item.combinationNo)"> |
|
|
|
<a href="javascript:void(0)" class="f-relative f-inb"> |
|
|
|
<img :src="item.icon" class="icon" /> |
|
|
|
<img :src="imghost + item.icon" class="icon" /> |
|
|
|
<img src="../assets/images/icon/hot.png" class="hot" v-if="item.label == '2'" /> |
|
|
|
<img src="../assets/images/icon/new.png" class="new" v-if="item.label == '1'"/> |
|
|
|
</a> |
|
|
|
@ -57,10 +57,10 @@ |
|
|
|
</div> |
|
|
|
<div class="new-card" :class="{'new-card-first': index == 0}" v-for="(item,index) in goodsList" :key="index"> |
|
|
|
<div class="new-card-top"> |
|
|
|
<img :src=" imghost + item.list[0].combinationImage"> |
|
|
|
<img :src=" imghost + item.image"> |
|
|
|
</div> |
|
|
|
<ul class="card-list"> |
|
|
|
<li v-for="item1 in item.list"> |
|
|
|
<li v-for="item1 in item.goodsList"> |
|
|
|
<a :href="'/mall/web/vgoods/detail/' + item1.goodsNo"> |
|
|
|
<div class="left"> |
|
|
|
<a :href="'/mall/web/vgoods/detail/' + item1.goodsNo"> |
|
|
|
@ -198,7 +198,8 @@ |
|
|
|
this.activityImgList = res.response.activityImgList || [] |
|
|
|
this.iconList = res.response.iconList || [] |
|
|
|
this.promotionImgList = res.response.promotionImgList[0] || {}; |
|
|
|
let goodsList = res.response.goodsList |
|
|
|
this.goodsList = res.response.goodsList |
|
|
|
/*let goodsList = res.response.goodsList |
|
|
|
let arr = []; |
|
|
|
for(let i=0;i<goodsList.length;i++){ |
|
|
|
goodsList[i].combinationNo&&goodsList[i].isRelease==1?arr.push(goodsList[i].combinationNo):""; |
|
|
|
@ -218,7 +219,7 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
this.goodsList = lastList.slice(); |
|
|
|
this.goodsList = lastList.slice();*/ |
|
|
|
|
|
|
|
} else { |
|
|
|
this.$vux.toast.text(res.msg,"middle"); |
|
|
|
|