From b8055c4e439703cc33171e8cbb81f28270a4c8f8 Mon Sep 17 00:00:00 2001
From: lzx_win <2602107437@qq.com>
Date: Sat, 29 Mar 2025 19:08:18 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/home.js | 2 +-
pages/login/index.vue | 222 ++++++++++++++++++++--------------------
pages/workbenchManage/index.vue | 34 +++---
3 files changed, 132 insertions(+), 126 deletions(-)
diff --git a/api/home.js b/api/home.js
index eb69b1d..ecb4612 100644
--- a/api/home.js
+++ b/api/home.js
@@ -2,7 +2,7 @@ import request from '@/utils/request'
export const banner = (data) => {
return request({
- url: '/applet/workIn/bannerList',
+ url: '/applet/workOut/bannerList',
headers: {
isToken: false
},
diff --git a/pages/login/index.vue b/pages/login/index.vue
index 2838f0c..e1a6718 100644
--- a/pages/login/index.vue
+++ b/pages/login/index.vue
@@ -28,134 +28,134 @@
\ No newline at end of file
diff --git a/pages/workbenchManage/index.vue b/pages/workbenchManage/index.vue
index add6182..59ecf0f 100644
--- a/pages/workbenchManage/index.vue
+++ b/pages/workbenchManage/index.vue
@@ -4,13 +4,14 @@
+
- 合伙人工作台
+ 合伙人工作台{{state}}
@@ -24,9 +25,9 @@
-
- {{item.indexInfo}}
+ {{item.name}}
@@ -51,9 +52,9 @@
-
- {{ item.indexInfo }}
+ {{ item.name }}
@@ -117,21 +118,26 @@
const userHh = ref(0)
const userBcs = ref(0)
onShow(() => {
- const info = uni.getStorageSync("baseInfo")
- if (info) {
- const baseInfo = JSON.parse(info)
- userHh.value = baseInfo.userHh === 1 ? 0 : 1
- userBcs.value = baseInfo.userBcs === 1 ? 0 : 1
- if (userHh.value === 1 || userBcs.value === 1) {
- show.value = false
- }
- }
+ // const info = uni.getStorageSync("baseInfo")
+ // if (info) {
+ // const baseInfo = JSON.parse(info)
+ // userHh.value = baseInfo.userHh === 1 ? 0 : 1
+ // userBcs.value = baseInfo.userBcs === 1 ? 0 : 1
+ // if (userHh.value === 1 || userBcs.value === 1) {
+ // show.value = false
+ // }
+
+ userHh.value == 1
+ userBcs.value == 1
+ // }
})
// 获取轮播图
const getBanner = async () => {
const res = await banner()
if (res.code === 200) {
+ console.log("banner图",res)
state.banner = [...res.data]
+ console.log("state.banner",state.banner)
}
}
// 申请加入合伙人