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