马宇豪
2023-12-14 afdca5cb7b8d5c735ab70926e4f5853d904991c6
src/views/components/notice.vue
@@ -14,11 +14,10 @@
      </div>
      <div class="pag-container" v-if="state.total&&state.total>0">
        <el-pagination
            v-model:current-page="state.querys.pageNum"
            v-model:page-size="state.querys.pageSize"
            :page-sizes="[10,15,20,25]"
            :page-sizes="[10,15,20]"
            layout="total, sizes, prev, pager, next, jumper"
            :total="state.total"
            :current-page="state.querys.pageNum"
            @size-change="handleSizeChange"
            @current-change="handleCurrentChange"
        />
@@ -62,6 +61,7 @@
}, { immediate: true });
const handleSizeChange = (val) => {
    state.querys.pageNum = 1
  state.querys.pageSize = val
  getData()
}
@@ -95,11 +95,11 @@
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 170px;
  margin-top: 150px;
  .main-content{
    width: 1200px;
    margin: 20px 0;
    margin: 15px 0;
    background: #fff;
    border-radius: 4px;
    box-shadow: 1px 1px 3px rgba(0,0,0,.04);
@@ -108,12 +108,12 @@
    .list{
      padding: 15px 0;
      max-height: calc(100vh - 350px);
      height: calc(100vh - 280px);
      overflow-y: auto;
      &>div{
        display: flex;
        padding: 10px;
        padding: 8px;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px dashed #ebeef5;
@@ -161,7 +161,7 @@
    .pag-container{
      width: 100%;
      height: 80px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: right;