From b06b6a0974783515e00b11a6131d9ce2a4881d05 Mon Sep 17 00:00:00 2001
From: ctw <>
Date: Sun, 12 Jan 2025 22:19:30 +0800
Subject: [PATCH 1/3] =?UTF-8?q?=E8=B4=AD=E7=89=A9=E8=BD=A6=E8=A7=84?=
=?UTF-8?q?=E6=A0=BC=E5=9B=9E=E6=98=BE=EF=BC=9B=E4=BF=AE=E6=94=B9=E8=B6=85?=
=?UTF-8?q?=E5=B8=82=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 @@
-
-
-
-
-
- {{ props.name }}
-
-
- ¥{{ hooks.useMoney(props.price) }}
-
-
- ¥{{ hooks.useMoney(props.marketPrice) }}
-
-
-
- x{{ props.count }}
-
-
- {{ hooks.useFormatNum("库存", "", props.stock) }}
-
- {{ hooks.useFormatNum("销量", "", props.salesCount) }}
-
-
-
-
-
- {{ props.modelValue }}
-
-
-
-
-
-
+
+
+
+
+ {{ props.name }}
+
+ ¥{{ hooks.useMoney(props.price) }}
+
+ ¥{{ hooks.useMoney(props.marketPrice) }}
+
+
+ x{{ props.count }}
+
+ {{ hooks.useFormatNum("库存", "", props.stock) }}
+
+ {{ hooks.useFormatNum("销量", "", props.salesCount) }}
+
+
+
+
+
+ {{ props.modelValue }}
+
+
+
+
+
+
\ 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 @@
-
-
-
-
+
-
\ No newline at end of file
+
From e5049a2bbb3499fcfcc616279b94869d9bfcff0a Mon Sep 17 00:00:00 2001
From: ctw <>
Date: Mon, 13 Jan 2025 20:44:58 +0800
Subject: [PATCH 3/3] 1
---
.env | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.env b/.env
index 8656828..623b3a0 100644
--- a/.env
+++ b/.env
@@ -26,8 +26,8 @@ VITE_IMAGE_BASE_PATH = http://192.168.101.29:9999 # 邓-本地
# VITE_APP_DEV_SERVICE =http://123.156.228.134:48080/app-api
# VITE_APP_DEV_SERVICE = https://stgl.pj.gov.cn/app-api
VITE_APP_DEV_SERVICE = http://192.168.101.29:9999 # 邓-本地
-#VITE_APP_DEV_SERVICE = http://127.0.0.1:9999
-# VITE_APP_DEV_SERVICE = http://123.156.230.15:8089/api
+#VITE_APP_DEV_SERVICE = http://pjcloud.center.takin.cc # 张
+# VITE_APP_DEV_SERVICE = http://123.156.230.15:8089/api # 线上
# VITE_APP_DEV_SERVICE = http://localhost:9999
# ******************** end 开发环境 end ********************