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)
}
}
// 申请加入合伙人