Procházet zdrojové kódy

bugfix: 移动端浅色模式下标题语言颜色异常

爱摸鱼的阿恒 před 8 měsíci
rodič
revize
de5cda9ef4
1 změnil soubory, kde provedl 4 přidání a 3 odebrání
  1. 4 3
      src/views/Login/Login.vue

+ 4 - 3
src/views/Login/Login.vue

@@ -32,15 +32,16 @@
       >
         <!-- 右上角的主题、语言选择 -->
         <div
-          class="flex items-center justify-between text-white at-2xl:justify-end at-xl:justify-end"
+          class="flex items-center justify-between at-2xl:justify-end at-xl:justify-end"
+          style="color: var(--el-text-color-primary);"
         >
           <div class="flex items-center at-2xl:hidden at-xl:hidden">
             <img alt="" class="mr-10px h-48px w-48px" src="@/assets/imgs/logo.png" />
-            <span class="text-20px font-bold">{{ underlineToHump(appStore.getTitle) }}</span>
+            <span class="text-20px font-bold" >{{ underlineToHump(appStore.getTitle) }}</span>
           </div>
           <div class="flex items-center justify-end space-x-10px h-48px">
             <ThemeSwitch />
-            <LocaleDropdown class="dark:text-white lt-xl:text-white" />
+            <LocaleDropdown />
           </div>
         </div>
         <!-- 右边的登录界面 -->