diff --git a/src/config.ts b/src/config.ts index d6af5b8..57b6eb9 100644 --- a/src/config.ts +++ b/src/config.ts @@ -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"; diff --git a/src/pages/base/home/index.vue b/src/pages/base/home/index.vue index 2d4364e..d4039e4 100644 --- a/src/pages/base/home/index.vue +++ b/src/pages/base/home/index.vue @@ -16,7 +16,7 @@ - + 切换 @@ -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", - }, ]); // 通知公告数据 diff --git a/src/pages/system/launchPage/launchPage.vue b/src/pages/system/launchPage/launchPage.vue index 9d94c98..8f03146 100644 --- a/src/pages/system/launchPage/launchPage.vue +++ b/src/pages/system/launchPage/launchPage.vue @@ -50,6 +50,10 @@ onLoad(async (data: any) => { } }) .catch((err) => {}); + } else { + uni.switchTab({ + url: "/pages/base/message/index", + }); } });