更改背景显示方式,解决IPAD下输入法引起的背景显示不完全的BUG

This commit is contained in:
fangxiang 2022-04-12 15:47:27 +08:00
parent edd75d1cc0
commit 1aa47f2b42
1 changed files with 8 additions and 12 deletions

View File

@ -1,19 +1,15 @@
<template> <template>
<q-layout <q-layout view="hHh lpR fFf">
view="hHh lpR fFf" <img
:style=" v-if="landspace"
landspace src="login/login_background.png"
? { class="fit"
'background-image': 'url(login/login_background.png)', style="position: fixed"
'background-size': '100% 100%', />
'background-repeat': 'no-repeat',
}
: {}
"
>
<q-page-container> <q-page-container>
<q-page <q-page
class="row items-center" class="row items-center"
style="position: fixed"
:class="landspace ? '' : 'justify-evenly'" :class="landspace ? '' : 'justify-evenly'"
:style="landspace ? { left: '50%' } : {}" :style="landspace ? { left: '50%' } : {}"
> >