From 406dc15a07638f1e6354fb57e2e5dace603c3248 Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期一, 23 十二月 2024 09:36:37 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- admin/src/views/contract/components/contractEdit.vue | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/admin/src/views/contract/components/contractEdit.vue b/admin/src/views/contract/components/contractEdit.vue index a2ae60c..a441200 100644 --- a/admin/src/views/contract/components/contractEdit.vue +++ b/admin/src/views/contract/components/contractEdit.vue @@ -295,7 +295,7 @@ </div> </div> </div> - <div class="window__footer" style="position: sticky; bottom: 0; left: 0; z-index: 9; background: #ffffff;"> + <div class="window__footer"> <slot name="footer"> <el-button @click="confirm" :loading="confirmWorking" type="primary">{{activeTabs === 0 ? '涓嬩竴姝�' : '鎻愪氦'}}</el-button> <slot name="btns" /> @@ -841,6 +841,7 @@ close () { if (this.activeTabs === 0) { this.$emit('close') + this.visible = false } else { this.activeTabs = 0 this.zlList = [] @@ -860,6 +861,19 @@ left: 0; z-index: 999; } +.window__footer { + position: absolute; + width: 100%; + bottom: 0; + left: 0; + z-index: 9; + background: #ffffff; + user-select: none; + border-top: 1px solid #eee; + height: 60px; + line-height: 60px; + text-align: center; +} .tabs { border-bottom: 1px solid #DFE2E8; display: flex; -- Gitblit v1.9.3