| | |
| | | import { useAuthStore } from '#/store'; |
| | | import { selectTerminal, terminalType } from '#/mobile/terminal'; |
| | | import { errorText } from '#/mobile/api'; |
| | | import { appearanceLogoUrl } from '#/utils/system-appearance'; |
| | | import { useRoute } from 'vue-router'; |
| | | |
| | | defineOptions({ name: 'Login' }); |
| | |
| | | const verifyRef = ref(); |
| | | |
| | | const captchaType = 'blockPuzzle'; // 验证码类型:'blockPuzzle' | 'clickWord' |
| | | |
| | | /** 品牌 Logo:优先使用服务端配置,否则使用默认图片 */ |
| | | const brandLogoSrc = computed( |
| | | () => appearanceLogoUrl.value || '/images/tahe-logo.png', |
| | | ); |
| | | |
| | | /** 滑块验证码尺寸:移动端按视口宽度收缩,避免超出屏幕无法拖动 */ |
| | | const captchaImgSize = computed(() => { |
| | |
| | | <div> |
| | | <div class="login-brand"> |
| | | <img |
| | | src="/images/tahe-logo.png" |
| | | :src="brandLogoSrc" |
| | | alt="塔河种业" |
| | | class="login-brand-logo" |
| | | /> |