From b06b6a0974783515e00b11a6131d9ce2a4881d05 Mon Sep 17 00:00:00 2001 From: ctw <> Date: Sun, 12 Jan 2025 22:19:30 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=AD=E7=89=A9=E8=BD=A6=E8=A7=84=E6=A0=BC?= =?UTF-8?q?=E5=9B=9E=E6=98=BE=EF=BC=9B=E4=BF=AE=E6=94=B9=E8=B6=85=E5=B8=82?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E8=BD=AE=E6=92=AD=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/merchant/components/product-row.vue | 156 +++++---- src/pages/shop/components/product-car.vue | 5 +- src/pages/shop/components/product-row.vue | 5 + src/pages/shop/detail.vue | 6 +- src/sheep/api/shop.ts | 130 ++++---- src/sheep/utils/request.ts | 305 +++++++++--------- 6 files changed, 300 insertions(+), 307 deletions(-) diff --git a/src/pages/merchant/components/product-row.vue b/src/pages/merchant/components/product-row.vue index dafd6ed..1ebeacc 100644 --- a/src/pages/merchant/components/product-row.vue +++ b/src/pages/merchant/components/product-row.vue @@ -1,6 +1,6 @@ - \ No newline at end of file + diff --git a/src/pages/shop/components/product-car.vue b/src/pages/shop/components/product-car.vue index 46dd417..847f001 100644 --- a/src/pages/shop/components/product-car.vue +++ b/src/pages/shop/components/product-car.vue @@ -14,10 +14,12 @@ :key="v.id" :productId="v.productId" :merchantId="v.merchantId" - :picUrl="v.productPic" + :picUrl="filePath(v.productPic)" :productName="v.productName" :productCount="v.productCount" :productPrice="v.productPrice" + :spec="v.spec" + :unit="v.unit" @add="(v) => emit('add', v)" @remove="(v) => emit('remove', v)" /> @@ -31,6 +33,7 @@