Ver código fonte

feat: 项目概况操作日志分页

qinlaiqiao 3 anos atrás
pai
commit
28e8343a39

+ 1 - 0
src/views/project/overview/Overview.vue

@@ -227,6 +227,7 @@ const logList = reactive(list);
           <el-empty :image-size="120" description="暂无项目"/>
         </template>
       </el-table>
+      <el-pagination background layout="total, prev, pager, next" :total="50"/>
     </el-card>
   </article>
 </template>

+ 9 - 0
src/views/project/overview/style.scss

@@ -114,4 +114,13 @@
       @apply select-none;
     }
   }
+
+  ::v-deep .el-pagination {
+    @apply text-center;
+    margin-top: 16px;
+
+    .number {
+      font-weight: 400;
+    }
+  }
 }