From 5940f481b4b423a7bbc63082438cb8e3ae167ecb Mon Sep 17 00:00:00 2001 From: chutingting Date: Wed, 30 Dec 2020 15:32:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=86=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/page/journalism/journalism.vue | 42 ++++++++++++++++++++---------- 1 file changed, 28 insertions(+), 14 deletions(-) diff --git a/src/page/journalism/journalism.vue b/src/page/journalism/journalism.vue index be04391..110f1a8 100644 --- a/src/page/journalism/journalism.vue +++ b/src/page/journalism/journalism.vue @@ -5,21 +5,23 @@ -
-
- -
-

{{item.title}}

-

- {{item.publishDate}} {{item.view}} +
+
+
+ +
+

{{item.title}}

+

+ {{item.publishDate}} {{item.view}} +
+ +
- -
@@ -64,7 +66,10 @@ export default { this.paging.total = Number(res.total) this.newsList = res.list }) - } + }, + handleCurrentChange(val) { + this.getNewsList() + }, }, created() { this.getNewsList() @@ -72,9 +77,18 @@ export default { };