add hemo,help

This commit is contained in:
2026-03-21 10:26:44 +08:00
parent 93713e3e3c
commit d5388f3f08
8 changed files with 1726 additions and 2 deletions

View File

@@ -10,6 +10,13 @@
<div class="content-inner">
<LoginForm />
</div>
<div class="home-link" @click="goToHome">
<a-tooltip content="访问官网首页">
<a-button type="text" shape="circle">
<icon-home />
</a-button>
</a-tooltip>
</div>
</div>
</div>
</div>
@@ -27,7 +34,12 @@ export default defineComponent({
},
setup() {
const showQr = ref(false)
return { showQr }
const goToHome = () => {
window.location.href = '/#/home'
}
return { showQr, goToHome }
},
})
</script>
@@ -109,4 +121,26 @@ export default defineComponent({
background: transparent;
}
}
.home-link {
position: absolute;
top: 32px;
right: 32px;
z-index: 2;
.arco-btn {
color: var(--color-text-2);
font-size: 20px;
transition: all 0.3s;
&:hover {
color: rgb(var(--primary-6));
background: rgba(0, 0, 0, 0.05);
}
}
@media (max-width: 900px) {
position: static;
margin: 16px auto 0 auto;
}
}
</style>