From f14f98a263141d2f8ec0079866a758cc7a1c38d1 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期一, 22 八月 2022 03:20:29 +0800
Subject: [PATCH] 添加用户删除功能
---
src/views/product/components/productCard.vue | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/views/product/components/productCard.vue b/src/views/product/components/productCard.vue
index 8d69278..1f4df4f 100644
--- a/src/views/product/components/productCard.vue
+++ b/src/views/product/components/productCard.vue
@@ -26,7 +26,7 @@
</div>
<div class="des">{{ data.description }}</div>
<Price :priceNew="data.priceBase"></Price>
- <div class="button" @click="buyProduct">绔嬪嵆璐拱</div>
+ <div class="button" @click="buyProduct">绔嬪嵆瀹夎</div>
</div>
</template>
@@ -45,7 +45,7 @@
this.$router.push({
path: "/productDetail",
query: {
- name: this.data.productName,
+ id: this.data.id,
},
});
},
@@ -92,12 +92,13 @@
display: flex;
img {
- margin: 0 10px;
+ margin-left: 10px;
width: 60px;
height: 60px;
}
.right {
+ margin-left: 10px;
.name {
margin-bottom: 10px;
font-size: 16px;
--
Gitblit v1.8.0