|
|
|
@ -20,7 +20,7 @@ |
|
|
|
<div v-if="goodsList.length != 0" v-for="(item,index) in goodsList" :key="index" class="food-list-hook"> |
|
|
|
<p class="title">{{item.combinationName}}</p> |
|
|
|
<div class="f-relative f-all-1px" v-for="(goods,k) in item.goodsList" :key="k"> |
|
|
|
<a :href="'/mall/web/vgoods/detail/' + goods.goodsNo"> |
|
|
|
<a style="display:block" :href="'/mall/web/vgoods/detail/' + goods.goodsNo"> |
|
|
|
<div class="item f-flex"> |
|
|
|
<a :href="'/mall/web/vgoods/detail/' + goods.goodsNo" class="list-img-box"> |
|
|
|
<img :src=" imghost + goods.bannerImgs" class="thumb" /> |
|
|
|
@ -129,7 +129,10 @@ export default { |
|
|
|
this.$router.push({ |
|
|
|
name: "首页" |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
goTo(no){ |
|
|
|
location.href="" |
|
|
|
}, |
|
|
|
// 取到路由带过来的参数 |
|
|
|
getParams() { |
|
|
|
this.no = this.$route.params.no; |
|
|
|
|