YangYuGang
2025-03-11 bfdfeb40c7ba97511584a30477acf5ad801398ba
src/views/sys/login/Login.vue
@@ -9,14 +9,14 @@
      />
    </div>
    <span class="-enter-x xl:hidden">
      <AppLogo :alwaysShowTitle="false" />
    <span class="mt-5 -enter-x xl:hidden">
      <LoginLogo :alwaysShowTitle="false" />
    </span>
    <div class="container relative h-full py-2 mx-auto sm:px-10">
      <div class="flex h-full">
        <div class="hidden min-h-full pl-4 mr-4 xl:flex xl:flex-col xl:w-6/12">
          <AppLogo class="-enter-x" />
          <loginLogo class="-enter-x" />
          <div class="my-auto">
            <!-- <img
              :alt="title"
@@ -24,7 +24,8 @@
              class="w-1/2 -mt-16 -enter-x"
            /> -->
            <div class="mt-10 font-medium text-white -enter-x">
              <span class="inline-block mt-4 text-3xl"> {{ t('鸿鹄智能智造MES系统') }}</span>
              <span v-if="!IsMes" class="inline-block mt-4 text-3xl"> {{ t('鸿鹄智能智造WMS系统') }}</span>
              <span v-if="IsMes" class="inline-block mt-4 text-3xl"> {{ t('鸿鹄智能智造MES系统') }}</span>
            </div>
            <div class="mt-5 font-normal text-white dark:text-gray-500 -enter-x">
              {{ t('未来可见 数字化智造平台') }}
@@ -48,12 +49,12 @@
  </div>
</template>
<script lang="ts" setup>
  import { AppDarkModeToggle, AppLocalePicker, AppLogo } from '@/components/Application';
  import { AppDarkModeToggle, AppLocalePicker, AppLogo, LoginLogo } from '@/components/Application';
  import { useGlobSetting } from '@/hooks/setting';
  import { useDesign } from '@/hooks/web/useDesign';
  import { useI18n } from '@/hooks/web/useI18n';
  import { useLocaleStore } from '@/store/modules/locale';
  import { computed } from 'vue';
  import { computed, ref } from 'vue';
  import ForgetPasswordForm from './ForgetPasswordForm.vue';
  import LoginForm from './LoginForm.vue';
  import MobileForm from './MobileForm.vue';
@@ -72,6 +73,7 @@
  const localeStore = useLocaleStore();
  const showLocale = localeStore.getShowPicker;
  const title = computed(() => globSetting?.title ?? '');
  const IsMes = ref(globSetting.systemType == 'MES');
</script>
<style lang="less">
  @prefix-cls: ~'@{namespace}-login';