|
@@ -1,11 +1,11 @@
|
|
<template>
|
|
<template>
|
|
- <div class="box">
|
|
|
|
|
|
+ <div class="box" :style="{'background-image': 'url(' + webContent.loginBgUrl + ')'}">
|
|
<navBar v-if="!isMobile" :showLoginBtn="false" class="navBar"></navBar>
|
|
<navBar v-if="!isMobile" :showLoginBtn="false" class="navBar"></navBar>
|
|
<div class="content pa-10">
|
|
<div class="content pa-10">
|
|
<div class="resume-header">
|
|
<div class="resume-header">
|
|
<div class="resume-title">企业修改密码</div>
|
|
<div class="resume-title">企业修改密码</div>
|
|
</div>
|
|
</div>
|
|
- <editPasswordPage :showCancelBtn="false" openVerify @cancel="router.push('/login')">
|
|
|
|
|
|
+ <editPasswordPage :showCancelBtn="false" openVerify>
|
|
<template #custom>
|
|
<template #custom>
|
|
<div class="font-size-14 text-end">
|
|
<div class="font-size-14 text-end">
|
|
<span class="color-primary cursor-pointer" @click="router.push('/login')">回到登录页</span>
|
|
<span class="color-primary cursor-pointer" @click="router.push('/login')">回到登录页</span>
|
|
@@ -20,13 +20,16 @@
|
|
defineOptions({ name: 'forgotPasswordEnt'})
|
|
defineOptions({ name: 'forgotPasswordEnt'})
|
|
import { useRouter } from 'vue-router'
|
|
import { useRouter } from 'vue-router'
|
|
import navBar from '@/layout/personal/navBar.vue'
|
|
import navBar from '@/layout/personal/navBar.vue'
|
|
|
|
+import { webContentStore } from '@/store/webContent'
|
|
import editPasswordPage from '@/views/login/components/editPasswordEnt.vue'
|
|
import editPasswordPage from '@/views/login/components/editPasswordEnt.vue'
|
|
import { ref, onMounted } from 'vue'
|
|
import { ref, onMounted } from 'vue'
|
|
|
|
|
|
const router = useRouter()
|
|
const router = useRouter()
|
|
|
|
+const webContent = webContentStore()
|
|
|
|
|
|
const isMobile = ref(false)
|
|
const isMobile = ref(false)
|
|
-onMounted(() => {
|
|
|
|
|
|
+onMounted(async () => {
|
|
|
|
+ await webContent.getSystemWebContent()
|
|
const userAgent = navigator.userAgent
|
|
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)
|
|
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)
|
|
})
|
|
})
|
|
@@ -43,7 +46,6 @@ onMounted(() => {
|
|
position: relative;
|
|
position: relative;
|
|
width: 100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
height: 100%;
|
|
- background-image: url('https://minio.menduner.com/dev/menduner/login-bgc.jpg');
|
|
|
|
background-size: cover;
|
|
background-size: cover;
|
|
display: flex;
|
|
display: flex;
|
|
justify-content: center;
|
|
justify-content: center;
|