From e846eefa54a7a2274a34d43d4601e192a1ada3d9 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期六, 25 六月 2022 13:16:07 +0800
Subject: [PATCH] 1.项目整体样式的配置2.实现工艺设置动态添加的静态样式
---
src/components/Pagination/index.vue | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/src/components/Pagination/index.vue b/src/components/Pagination/index.vue
index 6d7184d..51bcb07 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"
/>
@@ -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