diff --git a/admin-imgtc.html b/admin-imgtc.html index 9aefb581..3665e3ec 100644 --- a/admin-imgtc.html +++ b/admin-imgtc.html @@ -1,5 +1,6 @@ + @@ -45,7 +46,8 @@ } .title:hover { - color: #B39DDB; /* 使用柔和的淡紫色 */ + color: #B39DDB; + /* 使用柔和的淡紫色 */ } .search-card { @@ -74,13 +76,16 @@ } .stats:hover { - background-color: #f0eaf8; /* 使用柔和的淡紫色 */ + background-color: #f0eaf8; + /* 使用柔和的淡紫色 */ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15); - color: #B39DDB; /* 使用柔和的淡紫色 */ + color: #B39DDB; + /* 使用柔和的淡紫色 */ } .stats:hover .fa-database { - color: #B39DDB; /* 使用柔和的淡紫色 */ + color: #B39DDB; + /* 使用柔和的淡紫色 */ } .header-content .actions { @@ -97,7 +102,8 @@ } .header-content .actions i:hover { - color: #B39DDB; /* 使用柔和的淡紫色 */ + color: #B39DDB; + /* 使用柔和的淡紫色 */ transform: scale(1.2); } @@ -106,7 +112,8 @@ } .header-content .actions .el-dropdown-link i:hover { - color: #B39DDB; /* 使用柔和的淡紫色 */ + color: #B39DDB; + /* 使用柔和的淡紫色 */ } .header-content .actions .disabled { @@ -115,7 +122,8 @@ } .header-content .actions .enabled { - color: #B39DDB; /* 使用柔和的淡紫色 */ + color: #B39DDB; + /* 使用柔和的淡紫色 */ } .search-card .el-input__inner { @@ -229,6 +237,7 @@ } +
@@ -248,8 +257,10 @@ - 按时间倒序 - 按名称升序 + 按时间倒序 + 按名称升序 @@ -257,7 +268,8 @@ - + @@ -270,10 +282,7 @@
- +
@@ -428,7 +432,15 @@ mounted() { fetch("./api/manage/check", { method: 'GET', credentials: 'include' }) .then(response => response.text()) - .then(result => result === "true" ? this.showLogoutButton = true : window.location.href = "./api/manage/login") + .then(result => { + if (result == "true") { + this.showLogoutButton = true; + } else if (result == "Not using basic auth.") { + // Do nothing + } else { + window.location.href = "./api/manage/login"; + } + }) .catch(() => this.$message.error('同步数据时出错,请检查网络连接')); fetch("./api/manage/list", { method: 'GET', credentials: 'include' }) @@ -447,4 +459,5 @@ }); + \ No newline at end of file diff --git a/admin.html b/admin.html index 10719b68..943e84e0 100644 --- a/admin.html +++ b/admin.html @@ -1,64 +1,61 @@ + - + +
- -
Dashboard - - - - 网格视图 - - - 瀑布流 - - 退出登录
-
- - - - 记录总数量: - {{ Number }} - - - - -