From 06c8aa18a41393b564f48b42fe49db9fa761336c Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期日, 23 四月 2023 13:19:21 +0800
Subject: [PATCH] 1.MES产品对接云平台
---
src/components/Pagination/index.vue | 34 ++++++++++++++++++++++------------
1 files changed, 22 insertions(+), 12 deletions(-)
diff --git a/src/components/Pagination/index.vue b/src/components/Pagination/index.vue
index 51bcb07..04353fd 100644
--- a/src/components/Pagination/index.vue
+++ b/src/components/Pagination/index.vue
@@ -36,7 +36,7 @@
pageSizes: {
type: Array,
default() {
- return [5, 10, 20, 100]
+ return [10, 20, 50, 100]
}
},
layout: {
@@ -93,19 +93,19 @@
<style scoped>
.pagination-container {
- background: #fff;
- padding: 32px 16px;
+ background: #f8f8fa;
+ padding: 10px 0;
}
.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;
-}
+/*::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">
@@ -118,9 +118,10 @@
//.el-select-dropdown {
// background-color: #ffffff;
//}
- .el-select-dropdown__item.selected {
- color: #42b983;
- }
+
+ //.el-select-dropdown__item.selected {
+ // color: #42b983;
+ //}
//.el-select-dropdown__item.hover,
//.el-select-dropdown__item:hover {
@@ -128,4 +129,13 @@
// color: #fff;
//}
}
+
+.el-pagination button, .el-pagination span:not([class*=suffix]){
+ font-size: 14px;
+}
+
+.el-pagination .el-select .el-input .el-input__inner{
+ line-height: 34px;
+ height: 34px;
+}
</style>
--
Gitblit v1.9.3