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> <div style="margin-right: 10px"><slot name="titleButton"></slot></div>
<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>
<q-scroll-area <!-- <q-scroll-area
:style="`width: ${props.width}px; height: ${props.height}px;`" :style="`width: ${props.width}px; height: ${props.height}px;`"
> > -->
<slot></slot> <slot></slot>
</q-scroll-area> <!-- </q-scroll-area> -->
<div :style="`width: ${props.width}px`"> <div :style="`width: ${props.width}px`">
<slot name="footer"></slot> <slot name="footer"></slot>
</div> </div>
<div
:style="`width: ${props.width}px`"
style="position: sticky; bottom: 0px"
>
<slot name="sticky-footer"></slot>
</div>
</q-card> </q-card>
</q-dialog> </q-dialog>
</template> </template>

View File

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