dialog调整
This commit is contained in:
parent
e5336ed74e
commit
eaf84b5fe6
@ -16,11 +16,12 @@
|
|||||||
}"
|
}"
|
||||||
style="max-width: 2000px"
|
style="max-width: 2000px"
|
||||||
>
|
>
|
||||||
<q-scroll-area
|
<!-- <q-scroll-area
|
||||||
|
v-if="props.height"
|
||||||
id="draggable-dialog-scroll"
|
id="draggable-dialog-scroll"
|
||||||
:style="`width: ${props.width}px;height: ${props.height}px`"
|
:style="`width: ${props.width}px;height: ${props.height}px`"
|
||||||
style="max-height: 90vh"
|
style="max-height: 90vh"
|
||||||
>
|
> -->
|
||||||
<div style="position: sticky; top: 0px; z-index: 9">
|
<div style="position: sticky; top: 0px; z-index: 9">
|
||||||
<q-bar
|
<q-bar
|
||||||
ref="headerRef"
|
ref="headerRef"
|
||||||
@ -44,19 +45,21 @@
|
|||||||
<q-btn dense flat icon="sym_o_close" v-close-popup></q-btn>
|
<q-btn dense flat icon="sym_o_close" v-close-popup></q-btn>
|
||||||
</q-bar>
|
</q-bar>
|
||||||
</div>
|
</div>
|
||||||
|
<q-scroll-area
|
||||||
|
v-if="props.height"
|
||||||
|
id="draggable-dialog-scroll"
|
||||||
|
:style="`width: ${props.width}px;height: ${props.height}px`"
|
||||||
|
style="max-height: calc(90vh - 100px)"
|
||||||
|
>
|
||||||
<slot></slot>
|
<slot></slot>
|
||||||
|
</q-scroll-area>
|
||||||
<div :style="`width: ${props.width}px`">
|
|
||||||
<slot name="footer"></slot>
|
<slot name="footer"></slot>
|
||||||
</div>
|
|
||||||
<div
|
<div
|
||||||
:style="`width: ${props.width}px`"
|
:style="`width: ${props.width}px`"
|
||||||
style="position: sticky; bottom: 0px"
|
style="position: sticky; bottom: 0px"
|
||||||
>
|
>
|
||||||
<slot name="sticky-footer"></slot>
|
<slot name="sticky-footer"></slot>
|
||||||
</div>
|
</div>
|
||||||
</q-scroll-area>
|
|
||||||
</q-card>
|
</q-card>
|
||||||
</q-dialog>
|
</q-dialog>
|
||||||
</template>
|
</template>
|
||||||
|
Loading…
Reference in New Issue
Block a user