|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div class="login-box py-5">
|
|
|
+ <div class="login-box py-5" :style="{'background-image': 'url(' + webContent.loginBgUrl + ')'}">
|
|
|
<v-card class="pa-5" :class="isMobile? 'mobileBox' : 'default-width'" :elevation="isMobile? '0' : '3'">
|
|
|
<!-- 标题 -->
|
|
|
<div class="mt-3" v-if="!isMobile">
|
|
@@ -113,10 +113,12 @@ import { enterpriseRegisterApply } from '@/api/personal/user'
|
|
|
import { onMounted, ref, computed } from 'vue';
|
|
|
import { checkCompanyEmail } from '@/utils/validate'
|
|
|
import { getBusinessLicenseOCR } from '@/api/common'
|
|
|
+import { webContentStore } from '@/store/webContent'
|
|
|
import Confirm from '@/plugins/confirm'
|
|
|
import TextUI from '@/components/FormUI/TextInput'
|
|
|
import { findFirstDuplicateWithIndices } from '@/utils/dealData'
|
|
|
|
|
|
+const webContent = webContentStore()
|
|
|
const { t } = useI18n()
|
|
|
const CtFormRef = ref()
|
|
|
const loginLoading = ref(false)
|
|
@@ -130,7 +132,8 @@ let licenseUrl = ref('')
|
|
|
|
|
|
// 组件挂载后添加事件监听器
|
|
|
const isMobile = ref(false)
|
|
|
-onMounted(() => {
|
|
|
+onMounted(async () => {
|
|
|
+ await webContent.getSystemWebContent()
|
|
|
const userAgent = navigator.userAgent
|
|
|
isMobile.value = /(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i.test(userAgent)
|
|
|
})
|
|
@@ -494,7 +497,6 @@ const passwordConfirmObj = {
|
|
|
position: relative;
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
- background-image: url('https://minio.menduner.com/dev/menduner/login-bgc.jpg');
|
|
|
background-size: cover;
|
|
|
}
|
|
|
.file-box {
|