登录页面改造

This commit is contained in:
robin
2026-02-15 14:27:28 +08:00
parent afbc0cde7e
commit 2a811183c4
19 changed files with 1612 additions and 2298 deletions

View File

@@ -32,9 +32,9 @@
{$if not (eq .teaThemeBackgroundColor "")}
<style>
.top-nav,
.main-menu,
.main-menu .menu {
.top-nav.user-theme-enabled,
.main-menu.user-theme-enabled,
.main-menu.user-theme-enabled .menu {
background: #{$.teaThemeBackgroundColor} !important;
}
</style>
@@ -43,7 +43,7 @@
<script type="text/javascript">
(function () {
try {
var savedColor = localStorage.getItem("themeColor");
var savedColor = null;
if (savedColor) {
var styleId = "theme-color-custom";
var styleEl = document.getElementById(styleId);
@@ -87,7 +87,7 @@
<a href="/docs" class="item" :class="{active: teaMenu == 'docs'}"><i class="icon file"></i><span
class="hover-span"><span>文档</span></span></a>
<!-- 自定义主题颜色 -->
<theme-color-picker></theme-color-picker>
<theme-color-picker v-if="false"></theme-color-picker>
<a href="/" class="item" v-show="teaShowIndexPage">
<i class="icon home"></i><span class="hover-span"><span>首页</span></span>
</a>
@@ -160,4 +160,4 @@
</body>
</html>
</html>