From e5320d808e8fd97851b9a501012afa0329a52cb3 Mon Sep 17 00:00:00 2001
From: lzx_mac <2602107437@qq.com>
Date: Fri, 16 May 2025 12:40:49 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
manifest.json | 4 +-
pages_order/mine/cooperation.vue | 12 +-
pages_order/mine/memberCenter.vue | 826 +++++++++++++++++++-------------------
3 files changed, 423 insertions(+), 419 deletions(-)
diff --git a/manifest.json b/manifest.json
index 35523f4..cbc1ffa 100644
--- a/manifest.json
+++ b/manifest.json
@@ -57,8 +57,8 @@
"urlCheck" : false,
"minified" : true
},
- "optimization": {
- "subPackages": true
+ "optimization" : {
+ "subPackages" : true
},
"usingComponents" : true,
"permission" : {},
diff --git a/pages_order/mine/cooperation.vue b/pages_order/mine/cooperation.vue
index f48d196..4035e0e 100644
--- a/pages_order/mine/cooperation.vue
+++ b/pages_order/mine/cooperation.vue
@@ -194,11 +194,16 @@ export default {
async initData() {
try {
- const shopList = (await this.$fetch('queryShopList', { userId: this.userInfo.id }))?.records
+ const shopDetails = (await this.$fetch('queryShopById'))
+
+ console.log("shopDetails======")
+ console.log(shopDetails)
- if (!shopList.length) {
+ if (!shopDetails) {
return
}
+
+
const {
id,
@@ -213,7 +218,7 @@ export default {
latitude,
longitude,
address,
- } = shopList[0]
+ } = shopDetails
this.form = {
image,
@@ -225,7 +230,6 @@ export default {
longitude,
address,
}
-
this.id = id
this.status = status
this.statusDesc = status == '2' ? `${status_dictText}:${remark}` : status_dictText
diff --git a/pages_order/mine/memberCenter.vue b/pages_order/mine/memberCenter.vue
index 2a621a1..dba8073 100644
--- a/pages_order/mine/memberCenter.vue
+++ b/pages_order/mine/memberCenter.vue
@@ -1,414 +1,414 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ userInfo.nickName }}
-
-
-
-
-
-
-
-
-
-
- {{ `将于${'2026-12-12'} 到期` }}
-
-
- 暂未开通会员
-
-
-
-
-
-
-
- {{ `累积消费达到${3800}元或直接充值即可成为会员` }}
-
-
-
-
-
-
-
- ¥
- {{ item.price }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 合计:
-
- ¥
-
- {{ totalPrice }}
-
-
-
- 开通会员
-
-
-
-
-
-
-
-
\ No newline at end of file