完善购物车显示

master
hequan_waynaqua 4 years ago
parent 4cdf44673b
commit 952e818d9c

@ -10,6 +10,7 @@
:title="item.goodsName"
:desc="item.remark"
:tag="'123'"
:specifications="item.specifications"
:tags="['满50减20', 'hot']"
:price="item.price"
:isChecked="item.checked"

@ -25,6 +25,7 @@
>{{item}}</van-tag>
</template>
<template #footer>
<span style="margin-right:10px;" v-for="(item, index) in specifications" :key="index">{{item}}</span>
<svg-icon icon-class="add-circle" :width="20" :height="20" @click="addNum"/>&nbsp;&nbsp;
<svg-icon icon-class="minus-circle" :width="20" :height="20" @click="minusNum"/>
</template>
@ -50,6 +51,7 @@ export default {
desc: String,
tag: String,
tags: Array,
specifications: Array,
price: String,
num: Number,
isChecked: {

Loading…
Cancel
Save