Showing
2 changed files
with
1 additions
and
2 deletions
1 | <template> | 1 | <template> |
2 | <div class="resource-category"> | 2 | <div class="resource-category"> |
3 | <a-link class="cate-label" :href="brandLink">品牌<i class="icon icon-right"></i></a-link> | 3 | <a-link class="cate-label" :href="brandLink">品牌<i class="icon icon-right"></i></a-link> |
4 | - <div v-for="(item, index) in value"> | 4 | + <div v-for="(item, index) in value" v-if="item.sub"> |
5 | <p class="cate-label" @click="toggle(index)">{{item.category_name | 5 | <p class="cate-label" @click="toggle(index)">{{item.category_name |
6 | }}<i class="icon" :class="sortClass[index]"></i></p> | 6 | }}<i class="icon" :class="sortClass[index]"></i></p> |
7 | <div class="cate-items" v-if="show[index]"> | 7 | <div class="cate-items" v-if="show[index]"> |
@@ -16,7 +16,6 @@ | @@ -16,7 +16,6 @@ | ||
16 | <resource-focus-image v-if="floor.template_name=='focus'" :value="floor.data"></resource-focus-image> | 16 | <resource-focus-image v-if="floor.template_name=='focus'" :value="floor.data"></resource-focus-image> |
17 | <resource-single-image v-if="floor.template_name =='newSingleImage'" | 17 | <resource-single-image v-if="floor.template_name =='newSingleImage'" |
18 | :value="floor.data.list[0]"></resource-single-image> | 18 | :value="floor.data.list[0]"></resource-single-image> |
19 | - <resource-product-list v-if="products" :value="products"></resource-product-list> | ||
20 | </div> | 19 | </div> |
21 | </layout-body> | 20 | </layout-body> |
22 | </template> | 21 | </template> |
-
Please register or login to post a comment