This commit is contained in:
aihe 2024-12-18 11:11:03 +08:00
parent 4a4ee88b62
commit 97a833b2d1

View File

@ -1,5 +1,5 @@
<template>
<view class="lgn-page">
<view v-show="!pageLoading" class="lgn-page">
<view class="pos-abt-all" style="z-index: 0;overflow: hidden;">
<tpx-image width="750" mode="widthFix" :src="getCdnUrl('login/bg.png')"></tpx-image>
<view class="yunduo">
@ -53,7 +53,8 @@
props: {
},
data() {
return {
return {
pageLoading: true,
submitParams: {
isEncrypt: true,
username: '',
@ -62,12 +63,17 @@
},
}
},
created() {
created() {
this.showLoading()
let info = getSessionLoginInfo()
let { remberPassport } = info
if(remberPassport[0]) {
Object.assign(this.submitParams, info)
}
},
mounted(){
this.hideLoading()
this.pageLoading = false
},
methods: {
async handleLogin() {
@ -104,7 +110,8 @@
}
</style>
<style scoped lang="scss">
.lgn-page {
.lgn-page {
height: 100%;
background-color: #B12D29;
position: relative;
min-height: 100%;