From e736fcb2e09725b1b3ae78105cdb83ff98cce8fb Mon Sep 17 00:00:00 2001 From: ynmlzdwsp <2727940448@qq.com> Date: Fri, 5 Jan 2024 21:03:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=BE=E7=BD=AE=E4=BA=86=E9=9D=99=E6=80=81?= =?UTF-8?q?=E7=9A=84=E5=88=86=E9=A1=B5=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/index.vue | 37 +++++++++++++++++++++++++++++++++---- 1 file changed, 33 insertions(+), 4 deletions(-) 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() {