调整首页按钮

This commit is contained in:
ywyonui 2025-06-13 15:52:25 +08:00
parent d7c34c84f4
commit 22c3a2bb4a
3 changed files with 22 additions and 12 deletions

View File

@ -1,5 +1,5 @@
// const ip: string = "119.29.194.155:8893";
const ip: string = "yufangzc.com";
const ip: string = "192.168.239.1:8897";
// const ip: string = "yufangzc.com";
const fwqip: string = "yufangzc.com";
//打包服务器接口代理标识
const SERVERAGENT: string = "/jzd-api";

View File

@ -16,7 +16,7 @@
</view>
</view>
</view>
<view class="switch-btn" @click="showStudentSelector">
<view class="switch-btn" @click="showStudentSelector" v-if="studentList && studentList.length > 1">
<u-icon name="arrow-down" size="12" color="#fff"></u-icon>
<text>切换</text>
</view>
@ -140,12 +140,23 @@ const menuItems = ref([
path: "/pages/base/class-schedule/index",
},
{
title: "在线请假",
icon: "/static/base/home/draft-line.png",
path: "/pages/base/leave-request/index",
title: "成绩查询",
icon: "/static/base/home/file-search-line.png",
path: "/pages/base/grades/index",
},
// {
// title: "线",
// icon: "/static/base/home/draft-line.png",
// path: "/pages/base/leave-request/index",
// },
// TODO:
// {
// title: "",
// icon: "/static/base/home/file-transfer-line.png",
// path: "/pages/base/campus-access/index",
// },
{
title: "进出校园",
title: "家校沟通",
icon: "/static/base/home/file-transfer-line.png",
path: "/pages/base/campus-access/index",
},
@ -159,11 +170,6 @@ const menuItems = ref([
icon: "/static/base/home/contacts-book-3-line.png",
path: "/pages/base/club/index",
},
{
title: "成绩查询",
icon: "/static/base/home/file-search-line.png",
path: "/pages/base/grades/index",
},
]);
//

View File

@ -50,6 +50,10 @@ onLoad(async (data: any) => {
}
})
.catch((err) => {});
} else {
uni.switchTab({
url: "/pages/base/message/index",
});
}
});
</script>