diff --git a/src/components/index.vue b/src/components/index.vue index abf33eb..372f960 100644 --- a/src/components/index.vue +++ b/src/components/index.vue @@ -99,10 +99,31 @@ + + + + + + + + -
- ~~到底啦~~ + + + + + +
+ +
@@ -141,6 +162,10 @@ data() { return { + currentPage1: 5, + currentPage2: 5, + currentPage3: 5, + currentPage4: 4, loading: false, showAside: true, printerInfo: "你看对面的青山多漂亮", @@ -176,14 +201,18 @@ created() { this.getGuShi(); this.getArticles(); + this.getList(); }, mounted() { }, methods: { - created() { - this.getList(); + handleSizeChange(val) { + console.log(`每页 ${val} 条`); + }, + handleCurrentChange(val) { + console.log(`当前页: ${val}`); }, /** 搜索按钮操作 */ handleQuery() {