更改背景显示方式,解决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>
<q-layout
view="hHh lpR fFf"
:style="
landspace
? {
'background-image': 'url(login/login_background.png)',
'background-size': '100% 100%',
'background-repeat': 'no-repeat',
}
: {}
"
>
<q-layout view="hHh lpR fFf">
<img
v-if="landspace"
src="login/login_background.png"
class="fit"
style="position: fixed"
/>
<q-page-container>
<q-page
class="row items-center"
style="position: fixed"
:class="landspace ? '' : 'justify-evenly'"
:style="landspace ? { left: '50%' } : {}"
>