固定顶栏

This commit is contained in:
fofolee 2022-04-27 09:37:31 +08:00
parent d755df87f2
commit c4434992a2

View File

@ -2,7 +2,7 @@
<div> <div>
<div v-if="!fromUtools"> <div v-if="!fromUtools">
<q-dialog v-model="isResultShow" position="bottom" @hide="stopRun"> <q-dialog v-model="isResultShow" position="bottom" @hide="stopRun">
<q-card style="width: 90vh"> <q-card style="max-width: 700px; min-width: 500px; overflow: hidden">
<q-toolbar> <q-toolbar>
<q-avatar> <q-avatar>
<q-icon <q-icon
@ -16,16 +16,21 @@
> >
<q-btn flat round icon="close" color="negative" v-close-popup /> <q-btn flat round icon="close" color="negative" v-close-popup />
</q-toolbar> </q-toolbar>
<ResultArea <q-card-section
v-if="isResultShow" style="max-height: calc(100% - 50px); padding: 0"
@frameLoad="frameLoad" class="scroll"
:frameInitHeight="frameInitHeight" >
:enableHtml="enableHtml" <ResultArea
:runResultStatus="runResultStatus" v-if="isResultShow"
:runResult="runResult" @frameLoad="frameLoad"
:maxHeight="maxHeight" :frameInitHeight="frameInitHeight"
:key="timeStamp" :enableHtml="enableHtml"
/> :runResultStatus="runResultStatus"
:runResult="runResult"
:maxHeight="maxHeight"
:key="timeStamp"
/>
</q-card-section>
</q-card> </q-card>
</q-dialog> </q-dialog>
</div> </div>