修复无界状态的显示墙靠下

This commit is contained in:
miao 2023-02-20 15:05:01 +08:00
parent 1ce66817d4
commit e9cbd79d3b
1 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<template>
<q-page class="row items-center justify-evenly">
<q-page class="row items-center justify-evenly" :style-fn="wujie_height">
<wall-page />
<media-control-page />
</q-page>
@ -70,7 +70,11 @@ export default defineComponent({
new Initializer(options).initialize();
});
return {};
return {
wujie_height(offset:any){
return { minHeight: offset ? `calc(100vh - ${offset}px)` : '100vh' }
}
};
},
});
</script>