diglog调整

This commit is contained in:
joylink_fanyuhong 2024-04-11 15:36:41 +08:00
parent 0330c00cbc
commit 870856f3d7
3 changed files with 33 additions and 14 deletions

@ -1 +1 @@
Subproject commit e4728f0f732904f543a86aabb2c3da2653dd139f
Subproject commit 7d576a6c69ccbcdcdf14219f992602ccf0b1b30f

View File

@ -35,14 +35,21 @@
<div style="margin-right: 10px"><slot name="titleButton"></slot></div>
<q-btn dense flat icon="sym_o_close" v-close-popup></q-btn>
</q-bar>
<q-scroll-area
<!-- <q-scroll-area
:style="`width: ${props.width}px; height: ${props.height}px;`"
>
> -->
<slot></slot>
</q-scroll-area>
<!-- </q-scroll-area> -->
<div :style="`width: ${props.width}px`">
<slot name="footer"></slot>
</div>
<div
:style="`width: ${props.width}px`"
style="position: sticky; bottom: 0px"
>
<slot name="sticky-footer"></slot>
</div>
</q-card>
</q-dialog>
</template>

View File

@ -427,7 +427,20 @@
</div>
</div>
</div>
<q-card-actions align="right" class="text-primary">
<!-- <q-card-actions align="right" class="text-primary">
</q-card-actions> -->
</q-form>
</q-card>
<template v-slot:sticky-footer>
<div
style="
height: 45px;
line-height: 45px;
text-align: right;
background: #fff;
"
>
<q-btn
flat
label="取消"
@ -435,9 +448,8 @@
v-close-popup
/>
<q-btn flat label="确认" type="submit" />
</q-card-actions>
</q-form>
</q-card>
</div>
</template>
</draggable-dialog>
</template>