From ed35d0b4c2051e067bd9904c4b0158257d5db0d9 Mon Sep 17 00:00:00 2001
From: ZZJ <10913410+zzj2100@user.noreply.gitee.com>
Date: 星期二, 02 八月 2022 18:58:30 +0800
Subject: [PATCH] 摄像机树样式,导出数据样式
---
src/views/index/components/rightRrid.vue | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/views/index/components/rightRrid.vue b/src/views/index/components/rightRrid.vue
index aa1b5a2..af7f84a 100644
--- a/src/views/index/components/rightRrid.vue
+++ b/src/views/index/components/rightRrid.vue
@@ -2,14 +2,14 @@
<div class="rightRrid">
<div class="gridItem" v-for="(item, index) in product" :key="index">
<div class="title">
- <img :src="'/httpImage/' + item.logoUrl" alt="" />
+ <ImageShow :src="item.logoUrl"></ImageShow>
{{ item.modelName }}
</div>
<div class="des limitRow2">
{{ item.description }}
</div>
<price :priceNew="item.priceBase"></price>
- <div class="button" @click="buyProduct(item.modelName)">绔嬪嵆璐拱</div>
+ <div class="button" @click="buyProduct(item.id)">绔嬪嵆瀹夎</div>
</div>
</div>
</template>
@@ -39,11 +39,11 @@
}
},
methods: {
- buyProduct(modelName) {
+ buyProduct(id) {
this.$router.push({
path: "/productDetail",
query: {
- name: modelName,
+ id: id,
},
});
},
--
Gitblit v1.8.0