魔墙:修改对话框大小

This commit is contained in:
miao 2023-03-08 10:22:25 +08:00
parent 6f636315b6
commit 138b19c717
1 changed files with 9 additions and 6 deletions

View File

@ -102,7 +102,7 @@
<q-separator /> <q-separator />
<q-card-section style="max-height: 80vh; width: 55vw" class="q-pa-none"> <q-card-section style="max-height: 70vh; width: 48vw" class="q-pa-none">
<q-scroll-area style="height: 70vh"> <q-scroll-area style="height: 70vh">
<q-card class="my-card" flat bordered> <q-card class="my-card" flat bordered>
<q-card-section horizontal> <q-card-section horizontal>
@ -298,8 +298,8 @@
<div <div
style=" style="
position: absolute; position: absolute;
height: 20.7vw; height: 18vw;
width: 36.8vw; width: 32vw;
text-align: center; text-align: center;
" "
:class="$store.state.power_state ? 'wall' : ''" :class="$store.state.power_state ? 'wall' : ''"
@ -321,8 +321,8 @@
v-if="$store.state.power_state" v-if="$store.state.power_state"
style=" style="
position: absolute; position: absolute;
height: 20.7vw; height: 18vw;
width: 36.8vw; width: 32vw;
overflow: hidden; overflow: hidden;
" "
@click="canel_active()" @click="canel_active()"
@ -670,7 +670,7 @@
.wall { .wall {
border: 1px solid black; border: 1px solid black;
background: no-repeat url("../../public/magic_bg/bg.jpg"); background: no-repeat url("../../public/magic_bg/bg.jpg");
background-size: 36.8vw 20.7vw; background-size: 32vw 18vw;
} }
.wall_row { .wall_row {
@ -2009,7 +2009,10 @@ export default defineComponent({
monitor_list_current_index.value = -1; monitor_list_current_index.value = -1;
} }
} }
console.log(item)
console.log(test_monitor_wall.value)
} }
}, },
onDragEnter(e: DragEvent, index: string) { onDragEnter(e: DragEvent, index: string) {