From a16b2b4aa54d214d16f4e653b9c1b34421d61460 Mon Sep 17 00:00:00 2001 From: chenyabin <Chenab123!> Date: 星期二, 11 五月 2021 11:17:05 +0800 Subject: [PATCH] 搜索结果分页效果。 --- src/components/panel/RightSearchPanel.vue | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/components/panel/RightSearchPanel.vue b/src/components/panel/RightSearchPanel.vue index b025a43..0f7114d 100644 --- a/src/components/panel/RightSearchPanel.vue +++ b/src/components/panel/RightSearchPanel.vue @@ -24,7 +24,7 @@ </ul> </div> </div> - <div class="right-control" :class="[{ 'unfold': !isCollapse },{ 'shrink': isCollapse }] "> + <div class="right-control" :class="[{ 'unfold': !isCollapse },{ 'shrink': isCollapse }] " v-if="gcComp!=''"> <div class="panel-fold-btn" @click="toggleMonitorPanel"> <div :class="[isCollapse? 'btn-stretch':'btn-shrink']"></div> </div> @@ -219,6 +219,7 @@ const that = this bus.$on('changeSearchBar', function (obj) { // console.log(obj.checked, obj.name) + that.gcComp = '' that.topicList.forEach((item) => { if (item.name === obj.name) { item.isShow = obj.checked @@ -687,12 +688,16 @@ } .footer-page { - position: absolute; + // position: absolute; background-color: transparent !important; - bottom: 10px !important; - margin-left: 0px; + // bottom: 10px !important; + // margin-left: 0px; border: none; - + margin: 0; + border-top: 1px solid rgba(0, 255, 246, 0.14); + .el-card__body{ + padding: 5px; + } .warnPagination { .btn-quicknext, .btn-quickprev { color: #e4e8f1 !important; -- Gitblit v1.8.0