src/views/product/components/productCard.vue
@@ -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;