Showing
2 changed files
with
3 additions
and
4 deletions
@@ -5,8 +5,8 @@ | @@ -5,8 +5,8 @@ | ||
5 | <product-link :value="item" class="link"></product-link> | 5 | <product-link :value="item" class="link"></product-link> |
6 | <img-format :src="item.default_images" :w="188" :h="250"></img-format> | 6 | <img-format :src="item.default_images" :w="188" :h="250"></img-format> |
7 | <div class="ellipsis"> | 7 | <div class="ellipsis"> |
8 | - <p class="title">{{item.product_name}}</p> | ||
9 | - <p class="price">¥{{item.sales_price}}</p> | 8 | + <p class="title" v-if="item.product_name">{{item.product_name}}</p> |
9 | + <p class="price" v-if="item.sales_price">¥{{item.sales_price}}</p> | ||
10 | </div> | 10 | </div> |
11 | </li> | 11 | </li> |
12 | </ul> | 12 | </ul> |
-
Please register or login to post a comment