From 22bf644b3fc85763be3ad0c5e348d2bee38e2444 Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期三, 22 三月 2023 17:07:48 +0800 Subject: [PATCH] Default Changelist --- src/views/intellectInspect/inspectRecordManage/inspectRecord/index.vue | 16 +++++++++++++--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/views/intellectInspect/inspectRecordManage/inspectRecord/index.vue b/src/views/intellectInspect/inspectRecordManage/inspectRecord/index.vue index 76515d5..28f223d 100644 --- a/src/views/intellectInspect/inspectRecordManage/inspectRecord/index.vue +++ b/src/views/intellectInspect/inspectRecordManage/inspectRecord/index.vue @@ -1,6 +1,6 @@ <template> <div class="home-container"> - <div style="height: 100%"> + <div style="height: 100%;display: flex;flex-direction: column;align-items: stretch;"> <el-row class="homeCard"> <div class="basic-line"> <span>任务类型:</span> @@ -423,12 +423,14 @@ height: calc(100vh - 144px); box-sizing: border-box; overflow: hidden; + position: relative; .homeCard { width: 100%; padding: 20px; box-sizing: border-box; background: #fff; border-radius: 4px; + flex: 0 auto; .main-card { width: 100%; @@ -443,7 +445,15 @@ } } .pageBtn { + position: absolute; + width: 100%; + z-index: 99; + bottom: 0; + right: 0; height: 60px; + border-radius: 0 0 4px 4px; + padding-right: 20px; + background: #fff; display: flex; align-items: center; justify-content: right; @@ -456,8 +466,8 @@ } } } - &:last-of-type { - height: calc(100% - 100px); + &:last-of-type{ + flex: 1; } } .el-row { -- Gitblit v1.9.2