[add]init client menu dict role
This commit is contained in:
parent
6999b21def
commit
e8f34b691d
@ -4,7 +4,7 @@
|
|||||||
<meta charset="UTF-8"/>
|
<meta charset="UTF-8"/>
|
||||||
<link rel="icon" type="image/svg+xml" href="/vite.svg"/>
|
<link rel="icon" type="image/svg+xml" href="/vite.svg"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||||
<title>梧桐工作台</title>
|
<title>酷猫</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
|||||||
@ -3,12 +3,19 @@
|
|||||||
class="flex flex-center flex-justify-between"
|
class="flex flex-center flex-justify-between"
|
||||||
style="padding: 12px 32px"
|
style="padding: 12px 32px"
|
||||||
>
|
>
|
||||||
<div class="logo pointer" @click="this.$router.push('/')">
|
<div class="flex flex-center pointer" @click="this.$router.push('/')">
|
||||||
<img
|
<img
|
||||||
src="https://res.wutongshucloud.com/res/2024/12/05/202412051410990.svg"
|
style="height: 48px"
|
||||||
|
src="https://res.catter.cn/kaka/2024/03/06/1709709484624.jpg"
|
||||||
/>
|
/>
|
||||||
|
<h2 class="ml-15">酷猫工作台</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-center">
|
<div class="flex flex-center">
|
||||||
|
<div>
|
||||||
|
<a-button>网盘</a-button>
|
||||||
|
<a-button class="ml-15">Gitea</a-button>
|
||||||
|
</div>
|
||||||
|
<a-divider direction="vertical" />
|
||||||
<div>
|
<div>
|
||||||
<a-badge :count="list.length" dot :offset="[2, -2]">
|
<a-badge :count="list.length" dot :offset="[2, -2]">
|
||||||
<icon-notification
|
<icon-notification
|
||||||
@ -70,10 +77,9 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
logout() {
|
logout() {
|
||||||
localStorage.clear()
|
localStorage.clear()
|
||||||
sessionStorage.clear()
|
sessionStorage.clear()
|
||||||
this.$router.push('/login')
|
this.$router.push('/login')
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,11 +8,11 @@
|
|||||||
border-top-left-radius: 8px;
|
border-top-left-radius: 8px;
|
||||||
border-bottom-left-radius: 8px;
|
border-bottom-left-radius: 8px;
|
||||||
"
|
"
|
||||||
src="https://res.wutongshucloud.com/res/2024/12/05/202412051152453.png"
|
src="https://res.catter.cn/pub/2025/05/04/202505041750998.svg"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div style="padding: 32px">
|
<div style="padding: 32px">
|
||||||
<h1 style="padding-bottom: 32px">👏 欢迎使用梧桐项目云</h1>
|
<h1 style="padding-bottom: 32px">👏 欢迎使用酷猫工作台</h1>
|
||||||
<a-form :model="form" auto-label-width>
|
<a-form :model="form" auto-label-width>
|
||||||
<a-form-item style="width: 360px" label="用户账号">
|
<a-form-item style="width: 360px" label="用户账号">
|
||||||
<a-input
|
<a-input
|
||||||
@ -36,15 +36,13 @@
|
|||||||
@click="login"
|
@click="login"
|
||||||
>登录
|
>登录
|
||||||
</a-button>
|
</a-button>
|
||||||
<div class="grey-6 mt-20 font-14">
|
|
||||||
开通账号及使用问题请咨询:15587166921
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="bottom">
|
<div class="bottom">
|
||||||
<div>
|
<div>
|
||||||
Copyright © 2019-{{ new Date().getFullYear() }}
|
Copyright © 2024-{{ new Date().getFullYear() }}
|
||||||
梧凤桐凰规划研究院(云南)有限公司 版权所有
|
昆明酷猫科技有限公司 版权所有
|
||||||
</div>
|
</div>
|
||||||
<div class="mt-10">All Rights Reserved.</div>
|
<div class="mt-10">All Rights Reserved.</div>
|
||||||
</div>
|
</div>
|
||||||
@ -99,7 +97,7 @@ export default {
|
|||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.bg {
|
.bg {
|
||||||
background-image: url('https://wutong-1302848345.cos.ap-chengdu.myqcloud.com/wtzx/7667edec62f44063a50c66e8654eaa87.png');
|
background-image: url('https://res.catter.cn/kaka/2024/01/20/202401201712597.jpg');
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
}
|
}
|
||||||
@ -107,12 +105,11 @@ export default {
|
|||||||
.login-windows {
|
.login-windows {
|
||||||
background-color: white;
|
background-color: white;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
|
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
.bottom {
|
.bottom {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 80px;
|
bottom: 80px;
|
||||||
color: white;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -46,8 +46,8 @@ export default defineConfig({
|
|||||||
proxy: {
|
proxy: {
|
||||||
'/api': {
|
'/api': {
|
||||||
// 正式环境地址
|
// 正式环境地址
|
||||||
// target: 'https://www.zkfgcloud.com',
|
target: 'https://prod.wutongshucloud.com/api',
|
||||||
target: 'http://127.0.0.1:3000',
|
// target: 'http://127.0.0.1:3000',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
rewrite: path => path.replace(/^\/api/, '')
|
rewrite: path => path.replace(/^\/api/, '')
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user