From 864f0e9e1fa3eefc21fe4b44fc8e2bcd5df5a0c3 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期一, 25 七月 2022 17:11:46 +0800
Subject: [PATCH] 1.对接导入功能
---
src/components/Pagination/index.vue | 32 +++++++++++++++++++++++++++++++-
1 files changed, 31 insertions(+), 1 deletions(-)
diff --git a/src/components/Pagination/index.vue b/src/components/Pagination/index.vue
index 6d7184d..91fec95 100644
--- a/src/components/Pagination/index.vue
+++ b/src/components/Pagination/index.vue
@@ -8,6 +8,7 @@
:page-sizes="pageSizes"
:total="total"
v-bind="$attrs"
+ popper-class="select_bottom"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
/>
@@ -35,7 +36,7 @@
pageSizes: {
type: Array,
default() {
- return [5, 10, 20, 100]
+ return [10, 20, 50, 100]
}
},
layout: {
@@ -98,4 +99,33 @@
.pagination-container.hidden {
display: none;
}
+
+::v-deep .el-pagination__sizes .el-input .el-input__inner:hover{
+ border-color: #42b983 ;
+}
+::v-deep .el-pagination__sizes .el-input .el-input__inner:focus{
+ border-color: #42b983;
+}
+
+</style>
+<style lang="scss">
+.select_bottom{
+ //z-index: 2008; position: absolute; left: 147px !important; top: 355px !important; margin: 0px;
+ //border: 1px solid #55aaff;
+ //.el-select-dropdown {
+ //
+ //}
+ //.el-select-dropdown {
+ // background-color: #ffffff;
+ //}
+ .el-select-dropdown__item.selected {
+ color: #42b983;
+ }
+
+ //.el-select-dropdown__item.hover,
+ //.el-select-dropdown__item:hover {
+ // background: red;
+ // color: #fff;
+ //}
+}
</style>
--
Gitblit v1.9.3