Parcourir la source

翻页水平居中

lxf il y a 1 an
Parent
commit
7f39f1cbf4
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/components/Pagination/index.vue

+ 2 - 2
src/components/Pagination/index.vue

@@ -98,8 +98,8 @@ export default {
   display: none;
 }
 /deep/ .el-pagination {
-  left: 36%;
   position: relative;
-  // margin-left: -400px;
+  margin: 0 auto;
+  width: -webkit-fit-content;
 }
 </style>