diff options
| author | 刘洪洪 <[email protected]> | 2024-02-22 16:47:53 +0800 |
|---|---|---|
| committer | 刘洪洪 <[email protected]> | 2024-02-22 16:47:53 +0800 |
| commit | 916ad6c387181e6ac74a9947f2091f462bd93474 (patch) | |
| tree | 649e0573b184eb6e357b42786deb61259c852677 | |
| parent | 2a6f81454ea2e8bb11793e33f5399d3a0a77423a (diff) | |
fix: 暂时隐藏切换主题选项,修复刷新时界面暂时为黑色的问题
| -rw-r--r-- | public/index.html | 2 | ||||
| -rw-r--r-- | src/Login.vue | 1 | ||||
| -rw-r--r-- | src/components/layout/Header.vue | 12 |
3 files changed, 8 insertions, 7 deletions
diff --git a/public/index.html b/public/index.html index 40c409e4..53327c82 100644 --- a/public/index.html +++ b/public/index.html @@ -1,5 +1,5 @@ <!DOCTYPE html> -<html lang="" class="dark"> +<html lang=""> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> diff --git a/src/Login.vue b/src/Login.vue index 1dab0b6b..73597b8d 100644 --- a/src/Login.vue +++ b/src/Login.vue @@ -242,6 +242,7 @@ export default { } .login--input { :deep .el-input__wrapper { + background-color: rgb(11, 50, 92) !important; box-shadow: none !important; //border-bottom: 1px solid rgba(103,179,245,0.65); border-bottom: 1px solid #295688; diff --git a/src/components/layout/Header.vue b/src/components/layout/Header.vue index 3ccc4640..ac4010b5 100644 --- a/src/components/layout/Header.vue +++ b/src/components/layout/Header.vue @@ -35,12 +35,12 @@ <el-dropdown-item> <div id="header-to-logout" @click="logout">{{ $t('overall.logout') }}</div> </el-dropdown-item> - <el-dropdown-item> - <div id="header-to-theme" @click="switchTheme"> - <span>暗黑模式</span> - <el-switch v-model="isDark" size="large" class="mt-2" style="margin-left: 24px" inline-prompt /> - </div> - </el-dropdown-item> +<!-- <el-dropdown-item>--> +<!-- <div id="header-to-theme" @click="switchTheme">--> +<!-- <span>暗黑模式</span>--> +<!-- <el-switch v-model="isDark" size="large" class="mt-2" style="margin-left: 24px" inline-prompt />--> +<!-- </div>--> +<!-- </el-dropdown-item>--> </el-dropdown-menu> </template> </el-dropdown> |
