Commit 334aae922f295fa0746a069dfa652a31f693a222

Authored by 曾国涛
1 parent e4098c05

feat(products): 产品列表增加最高价显示

- 在产品列表中的每个产品卡片中,增加了最高价的显示
- 在价格旁边添加了"-"符号,以区分最低价和最高价
Showing 1 changed file with 1 additions and 1 deletions
pages/products/index.vue
... ... @@ -103,7 +103,7 @@
103 103 style="height: auto"
104 104 >
105 105 <h3 style="color: red" v-if="item.price">
106   - ${{ item.price }}
  106 + ${{ item.price }} - ${{ item.maxPrice }}
107 107 </h3>
108 108 <h4 class="item-name">{{ item.name }}</h4>
109 109 </v-card-text>
... ...