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">
@ -54,6 +54,7 @@
},
data() {
return {
pageLoading: true,
submitParams: {
isEncrypt: true,
username: '',
@ -63,12 +64,17 @@
}
},
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() {
const { submitParams } = this
@ -105,6 +111,7 @@
</style>
<style scoped lang="scss">
.lgn-page {
height: 100%;
background-color: #B12D29;
position: relative;
min-height: 100%;