From 67df3c70de791a2d3afa9151ce6705f3d27abeea Mon Sep 17 00:00:00 2001 From: wanganxp Date: Tue, 17 Oct 2023 04:54:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E6=BC=94=E7=A4=BA=E4=BE=8B?= =?UTF-8?q?=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../element-takesnapshot.uvue | 105 +++-- .../sticky-header/sticky-header.uvue | 7 +- pages/template/list-news/list-news.uvue | 400 +++++++++--------- 3 files changed, 278 insertions(+), 234 deletions(-) diff --git a/pages/API/element-takesnapshot/element-takesnapshot.uvue b/pages/API/element-takesnapshot/element-takesnapshot.uvue index 742b85d2..786be868 100644 --- a/pages/API/element-takesnapshot/element-takesnapshot.uvue +++ b/pages/API/element-takesnapshot/element-takesnapshot.uvue @@ -3,9 +3,7 @@ this is text - this is view + this is view @@ -14,47 +12,78 @@ 点击截图 - + diff --git a/pages/component/sticky-header/sticky-header.uvue b/pages/component/sticky-header/sticky-header.uvue index 32dfa72b..0ba8d841 100644 --- a/pages/component/sticky-header/sticky-header.uvue +++ b/pages/component/sticky-header/sticky-header.uvue @@ -16,7 +16,7 @@ + v-for="(name,index) in sift_item" @click="clickTH(index)"> {{name}} @@ -57,7 +57,10 @@ }, confirm_scroll_top_input(value : number) { this.scroll_top_input = value - } + }, + clickTH(index:number){ + console.log("点击表头:" + index); + } } } diff --git a/pages/template/list-news/list-news.uvue b/pages/template/list-news/list-news.uvue index 2d0f7958..0fbb41bb 100644 --- a/pages/template/list-news/list-news.uvue +++ b/pages/template/list-news/list-news.uvue @@ -1,217 +1,229 @@ -- GitLab