|
@@ -1,5 +1,5 @@
|
|
<template>
|
|
<template>
|
|
- <div>
|
|
|
|
|
|
+ <div :class="{special_goods_list:specialGoodsStyle}">
|
|
<titles :special="special"></titles>
|
|
<titles :special="special"></titles>
|
|
<div class="goods_items">
|
|
<div class="goods_items">
|
|
<goods-item v-for="goods in special.items" :key="goods" :item="goods" :proxy="proxy"></goods-item>
|
|
<goods-item v-for="goods in special.items" :key="goods" :item="goods" :proxy="proxy"></goods-item>
|
|
@@ -15,6 +15,13 @@
|
|
components:{
|
|
components:{
|
|
GoodsItem,
|
|
GoodsItem,
|
|
Titles
|
|
Titles
|
|
|
|
+ },
|
|
|
|
+ computed:{
|
|
|
|
+ specialGoodsStyle(){
|
|
|
|
+ if(this.$route.query['is_special'] == 'false') {
|
|
|
|
+ return true;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
@@ -28,5 +35,8 @@
|
|
background: #f9f9f9;
|
|
background: #f9f9f9;
|
|
margin-top: -2.5%;
|
|
margin-top: -2.5%;
|
|
}
|
|
}
|
|
|
|
+ .special_goods_list {
|
|
|
|
+ padding-top: 2.5%;
|
|
|
|
+ }
|
|
|
|
|
|
</style>
|
|
</style>
|