From c7ec9e17f6e48335912bad1c07df56ba8eb8f662 Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期四, 05 五月 2022 13:35:21 +0800
Subject: [PATCH] page subuser

---
 src/views/product/components/productCard.vue |   10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/src/views/product/components/productCard.vue b/src/views/product/components/productCard.vue
index 8a4aa2f..8df9f91 100644
--- a/src/views/product/components/productCard.vue
+++ b/src/views/product/components/productCard.vue
@@ -1,15 +1,11 @@
 <template>
   <div class="productCard">
     <div class="image">
-      <img
-        v-if="data.pics[0]"
-        :src="'/httpImage/' + data.pics[0].url"
-        class="cursor-pointer"
-      />
+      <ImageShow v-if="data.pics[0]" :src="data.pics[0].url"></ImageShow>
     </div>
 
     <div class="info">
-      <img :src="'/httpImage/' + data.logoUrl" alt />
+      <ImageShow v-if="data.pics[0]" :src="data.logoUrl"></ImageShow>
       <div class="right">
         <div class="name">{{ data.productName }}</div>
         <div class="tagList">
@@ -40,7 +36,7 @@
       this.$router.push({
         path: "/productDetail",
         query: {
-          id: this.data.id,
+          name: this.data.productName,
         },
       });
     },

--
Gitblit v1.8.0