调整首页按钮
This commit is contained in:
parent
d7c34c84f4
commit
22c3a2bb4a
@ -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";
|
||||
|
||||
@ -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",
|
||||
},
|
||||
]);
|
||||
|
||||
// 通知公告数据
|
||||
|
||||
@ -50,6 +50,10 @@ onLoad(async (data: any) => {
|
||||
}
|
||||
})
|
||||
.catch((err) => {});
|
||||
} else {
|
||||
uni.switchTab({
|
||||
url: "/pages/base/message/index",
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user