浏览代码

翻页水平居中

lxf 1 年之前
父节点
当前提交
7f39f1cbf4
共有 1 个文件被更改,包括 2 次插入2 次删除
  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>