From 0f8be5eece9ec8a8a03dc7d4e4b3231e4dc4ebb6 Mon Sep 17 00:00:00 2001 From: mark <mark18340872469@163.com> Date: 星期三, 28 九月 2022 16:19:07 +0800 Subject: [PATCH] 添加时间段 删除取消确定按钮 --- src/views/index/components/commendContent.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/index/components/commendContent.vue b/src/views/index/components/commendContent.vue index 1074544..c8c5991 100644 --- a/src/views/index/components/commendContent.vue +++ b/src/views/index/components/commendContent.vue @@ -12,7 +12,7 @@ <div class="title">{{ item.productName }}</div> <div class="des limitRow2">{{ item.description }}</div> <price :priceNew="item.priceBase ? item.priceBase : 0"></price> - <div class="button" @click="buyProduct(item.productName)">绔嬪嵆璐拱</div> + <div class="button" @click="buyProduct(item.id)">绔嬪嵆瀹夎</div> </div> </div> </template> @@ -33,11 +33,11 @@ refresh() { this.$emit("refresh"); }, - buyProduct(productName) { + buyProduct(id) { this.$router.push({ path: "/productDetail", query: { - name: productName, + id: id, }, }); }, -- Gitblit v1.8.0