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