|
|
@ -99,10 +99,31 @@
|
|
|
|
<!-- <div @click="pageArticles()" class="pagination" v-if="pagination.total !== articles.length">-->
|
|
|
|
<!-- <div @click="pageArticles()" class="pagination" v-if="pagination.total !== articles.length">-->
|
|
|
|
<!-- 下一页-->
|
|
|
|
<!-- 下一页-->
|
|
|
|
<!-- </div>-->
|
|
|
|
<!-- </div>-->
|
|
|
|
|
|
|
|
<!-- <pagination-->
|
|
|
|
|
|
|
|
<!-- v-show="total>0"-->
|
|
|
|
|
|
|
|
<!-- :total="total"-->
|
|
|
|
|
|
|
|
<!-- :page.sync="queryParams.pageNum"-->
|
|
|
|
|
|
|
|
<!-- :limit.sync="queryParams.pageSize"-->
|
|
|
|
|
|
|
|
<!-- @pagination="getList"-->
|
|
|
|
|
|
|
|
<!-- />-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div style="user-select: none;text-align: center">
|
|
|
|
<!-- <div style="user-select: none;text-align: center">-->
|
|
|
|
~~到底啦~~
|
|
|
|
<!-- ~~到底啦~~-->
|
|
|
|
|
|
|
|
<!-- </div>-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--分页组件-->
|
|
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
|
|
<el-pagination
|
|
|
|
|
|
|
|
@size-change="handleSizeChange"
|
|
|
|
|
|
|
|
@current-change="handleCurrentChange"
|
|
|
|
|
|
|
|
:current-page="currentPage4"
|
|
|
|
|
|
|
|
:page-sizes="[100, 200, 300, 400]"
|
|
|
|
|
|
|
|
:page-size="100"
|
|
|
|
|
|
|
|
layout="total, sizes, prev, pager, next, jumper"
|
|
|
|
|
|
|
|
:total="400">
|
|
|
|
|
|
|
|
</el-pagination>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
@ -141,6 +162,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
|
|
|
|
currentPage1: 5,
|
|
|
|
|
|
|
|
currentPage2: 5,
|
|
|
|
|
|
|
|
currentPage3: 5,
|
|
|
|
|
|
|
|
currentPage4: 4,
|
|
|
|
loading: false,
|
|
|
|
loading: false,
|
|
|
|
showAside: true,
|
|
|
|
showAside: true,
|
|
|
|
printerInfo: "你看对面的青山多漂亮",
|
|
|
|
printerInfo: "你看对面的青山多漂亮",
|
|
|
@ -176,14 +201,18 @@
|
|
|
|
created() {
|
|
|
|
created() {
|
|
|
|
this.getGuShi();
|
|
|
|
this.getGuShi();
|
|
|
|
this.getArticles();
|
|
|
|
this.getArticles();
|
|
|
|
|
|
|
|
this.getList();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
mounted() {
|
|
|
|
mounted() {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
created() {
|
|
|
|
handleSizeChange(val) {
|
|
|
|
this.getList();
|
|
|
|
console.log(`每页 ${val} 条`);
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
handleCurrentChange(val) {
|
|
|
|
|
|
|
|
console.log(`当前页: ${val}`);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
/** 搜索按钮操作 */
|
|
|
|
/** 搜索按钮操作 */
|
|
|
|
handleQuery() {
|
|
|
|
handleQuery() {
|
|
|
|