This commit is contained in:
lyc 2024-10-30 10:39:00 +08:00
parent 01f32869ba
commit 923d0f1f9a
9 changed files with 42 additions and 6 deletions

View File

@ -1,8 +1,8 @@
@font-face {
font-family: "iconfont"; /* Project id 4723712 */
src: url('iconfont.woff2?t=1730189025078') format('woff2'),
url('iconfont.woff?t=1730189025078') format('woff'),
url('iconfont.ttf?t=1730189025078') format('truetype');
src: url('iconfont.woff2?t=1730255375658') format('woff2'),
url('iconfont.woff?t=1730255375658') format('woff'),
url('iconfont.ttf?t=1730255375658') format('truetype');
}
.iconfont {
@ -13,6 +13,10 @@
-moz-osx-font-smoothing: grayscale;
}
.icon-yanhouke-shengyinyichang:before {
content: "\e672";
}
.icon-renzheng-:before {
content: "\e623";
}

File diff suppressed because one or more lines are too long

View File

@ -5,6 +5,13 @@
"css_prefix_text": "icon-",
"description": "",
"glyphs": [
{
"icon_id": "5257347",
"name": "咽喉科-声音异常",
"font_class": "yanhouke-shengyinyichang",
"unicode": "e672",
"unicode_decimal": 58994
},
{
"icon_id": "7447571",
"name": "认证-01",

View File

@ -16,6 +16,7 @@
<span class="mlr-5">学校认证</span>
<span class="gray">未认证</span>
</li>
<li>加入学校</li>
<li @click="onUserTo('/profile')">个人中心</li>
<li @click="onUserTo('/class')">班级中心</li>
<li @click="logout">退出登录</li>
@ -60,7 +61,6 @@ import pkc from "../../../../../package.json"
const { ipcRenderer } = window.electron || {}
const dev_api = ref(import.meta.env.VITE_APP_BASE_API)
const userStore = useUserStore()
console.log(userStore,'userStore')
const router = useRouter()
const currentRoute = ref('')
const activeId = ref('/home')
@ -93,8 +93,14 @@ const headerMenus = [
const sideBottomMenu = [
{
name: '设置',
name: '算力',
id: 4,
icon: 'icon-yanhouke-shengyinyichang',
path: '/hashrate'
},
{
name: '设置',
id: 5,
icon: 'icon-set',
path: '/setting'
},

View File

@ -128,6 +128,12 @@ export const constantRoutes = [
name: 'examReport',
meta: {title: '考试分析'}
},
{
path: '/hashrate',
component: () => import('@/views/hashrate/index.vue'),
name: 'hashrate',
meta: {title: '算力'}
},
{
path: '/setting',
component: () => import('@/views/setting/index.vue'),

View File

@ -0,0 +1,13 @@
<template>
<div>
算力
</div>
</template>
<script setup>
</script>
<style lang="scss" scoped>
</style>