mo 2 年之前
父节点
当前提交
566ad57b11
共有 2 个文件被更改,包括 4 次插入3 次删除
  1. 2 2
      src/components/col-header/index.css
  2. 2 1
      src/components/col-header/index.tsx

+ 2 - 2
src/components/col-header/index.css

@@ -42,12 +42,12 @@
 
 }
 
-.isdark.headerSection {
+.isdark.top.headerSection {
   background-color: #252627!important;
   animation:none;
   /* isdark */
 }
-.isdark .normalItem {
+.isdark.top.normalItem {
   color: #fff;
 
 }

+ 2 - 1
src/components/col-header/index.tsx

@@ -82,9 +82,10 @@ export default defineComponent({
         >
           <div class="flex items-center h-full">
             <div class="logoWrap" onClick={() => this.gotoMain()}>
+              {/* this.isdark || */}
               <img
                 class="w-full"
-                src={this.isdark || !this.isTop ? logo : whileLogo}
+                src={ !this.isTop ? logo : whileLogo}
                 alt=""
               />
             </div>