diff --git a/index.html b/index.html index bdae075f..fb46ba00 100644 --- a/index.html +++ b/index.html @@ -1,113 +1,112 @@ - - - - - Vite App - + + + + + Vite App + - -
- -
-

SuperCuteXiaoSi

- -
-
- - - + if (el) { + if (browser && version >= 90) { + let success = document.createTextNode('哈哈哈哈哈!帅吧? 😃'); + el.appendChild(success); + } else { + let warn = document.createTextNode('你这浏览器不行啊,换一个吧!😯'); + el.appendChild(warn); + el.style.color = 'red'; + } + } + return Sys; + })(); + }; + + + diff --git a/src/App.vue b/src/App.vue index f4d96343..401bec90 100644 --- a/src/App.vue +++ b/src/App.vue @@ -39,9 +39,3 @@ // }; // req2(); - - diff --git a/src/styles/el-theme.scss b/src/styles/el-theme.scss index 3b0a4a11..1d5504ea 100644 --- a/src/styles/el-theme.scss +++ b/src/styles/el-theme.scss @@ -1,7 +1,10 @@ // 修改element主题 :root { --el-border-color-lighter: #{$text-color-placeholder}; - --el-text-color-regular: #{$text-color-primary}; + --el-text-color-primary: #{$text-color-primary}; + --el-text-color-regular: #{$text-color-regular}; + --el-text-color-secondary: #{$text-color-secondary}; + --el-text-color-placeholder: #{$text-color-placeholder}; } .el-drawer { @@ -39,6 +42,6 @@ $menuItemActiveBorderLeft: $mian-color; //二级左描边背景颜色 $app-main-bg-color: $sub-main-bg-content; //app-mian背景颜色 $navBarColor: $main-bg-color; //顶部导航栏背景颜色 -$navBarBorderBottomColor: $main-bg-color; +$navBarBorderBottomColor: $text-color-placeholder; $BreadcrumbColor: $main-bg-color; //面包屑背景颜色 $BreadcrumbText: $text-color-primary; //面包屑文字颜色 diff --git a/src/styles/index.scss b/src/styles/index.scss index 16c18ba8..8520c1e3 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -26,6 +26,7 @@ html { #app { // height: 100%; + color: #{$text-color-primary}; } *, diff --git a/src/styles/sidebar.scss b/src/styles/sidebar.scss index 1258b21f..0dba3a74 100644 --- a/src/styles/sidebar.scss +++ b/src/styles/sidebar.scss @@ -33,6 +33,7 @@ background-color: $menuBg; box-shadow: 1px 0 2px rgb(28 29 30 / 8%); transition: width 0.28s; + border-right: 1px solid #{$text-color-placeholder}; .el-menu-item::before { position: absolute; diff --git a/src/views/index/components/WeDetails.vue b/src/views/index/components/WeDetails.vue index 5a8c7822..b43ff095 100644 --- a/src/views/index/components/WeDetails.vue +++ b/src/views/index/components/WeDetails.vue @@ -6,7 +6,7 @@ 用户名 - 小斯斯 + 小斯斯