li.shaoyi il y a 1 an
Parent
commit
a43c2c561f

+ 4 - 8
src/packages/mobile/components/layouts/login/index.less

@@ -15,14 +15,10 @@
         top: 0;
         z-index: 1;
         display: inline-flex;
-
-        .app-luanguage {
-            display: flex;
-            justify-content: center;
-            align-items: center;
-            height: var(--navbar-height);
-            padding: 0 14px;
-        }
+        justify-content: center;
+        align-items: center;
+        height: var(--navbar-height);
+        padding: 0 14px;
     }
 
     &-logo {

+ 1 - 3
src/packages/mobile/components/layouts/login/index.vue

@@ -1,9 +1,7 @@
 <template>
   <app-statusbar class="login">
     <app-navback class="login-navback" />
-    <app-statusbar class="login-luanguage" v-if="globalStore.getSystemInfo('i18nEnabled')">
-      <app-luanguage />
-    </app-statusbar>
+    <app-luanguage class="login-luanguage" v-if="globalStore.getSystemInfo('i18nEnabled')" />
     <div class="login-logo">
       <slot name="logo">
         <img :src="logoSrc" />