clay commit : 新闻中心对接完成

This commit is contained in:
clay
2022-10-05 23:35:21 +08:00
parent 256e4ab2ea
commit fe4dd98a58
12 changed files with 648 additions and 286 deletions

View File

@@ -54,14 +54,21 @@
<el-row>
<el-col class="pagination_p">
<el-pagination class="pagination" v-if="listData"
<el-pagination v-if="!small"
:small="!small"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page.sync="listData.pageNum"
:page-sizes="[10,20, 30, 50, 100]"
layout="prev, pager,next,sizes, jumper"
:total="listData.total">
</el-pagination>
<el-pagination v-if="small"
:small="small"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
:current-page.sync="listData.pageNum"
:page-sizes="[5,10,20, 30, 50, 100]"
:page-size="4"
layout="prev, pager, next,sizes, jumper"
layout="prev ,pager,next"
:total="listData.total">
</el-pagination>
</el-col>
@@ -165,15 +172,6 @@ export default {
}
}
</script>
<style>
.el-input__inner {
border-color: #1956BC !important;
border-radius: 0 !important;
/*line-height: 3.5rem !important;*/
/*height: 3.5rem !important;*/
}
</style>
<style scoped lang="scss">
@@ -280,15 +278,6 @@ export default {
}
}
.pagination_p {
text-align: center;
margin-bottom: 2rem;
.pagination {
display: inline-block;
float: none;
}
}
.query {
//margin: 1rem 0;
@@ -312,7 +301,8 @@ export default {
width: 80% !important;
}
.context {
margin-top: 6rem;
width: 80% !important;
margin-top: 4rem;
}
}
</style>