All checks were successful
Build and Deploy Front / deploy (push) Successful in 4m11s
地图支持全屏漫游、美国邮编港口与中国城市口岸图层;同步入出库扫码与培训手册等改动。 Co-authored-by: Cursor <cursoragent@cursor.com>
44 lines
912 B
Vue
44 lines
912 B
Vue
<template>
|
|
<div v-if="logoSrc" class="login-brand" aria-hidden="true">
|
|
<img class="login-brand__img" :src="logoSrc" alt="" draggable="false" />
|
|
<span class="login-brand__name">{{ t('brand.name') }}</span>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { computed } from 'vue';
|
|
import { useI18n } from 'vue-i18n';
|
|
import { brandLogoImages } from '@/utils/brandLogo';
|
|
|
|
defineOptions({ name: 'LoginLockLogo' });
|
|
|
|
const { t } = useI18n();
|
|
const logoSrc = computed(() => brandLogoImages.site);
|
|
</script>
|
|
|
|
<style lang="less" scoped>
|
|
.login-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 7px;
|
|
margin: 0 auto;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.login-brand__img {
|
|
display: block;
|
|
width: 32px;
|
|
height: 32px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.login-brand__name {
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.03em;
|
|
line-height: 1;
|
|
color: #1d1d1f;
|
|
}
|
|
</style>
|