From 7e8836fadf442175e0bf4cbcedd859155efef138 Mon Sep 17 00:00:00 2001 From: xiaoxiao Date: Tue, 17 Jun 2025 13:50:34 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=86=E9=A2=91=E9=98=85=E8=AF=BB=E9=87=8F++?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Home/src/main/ets/components/ItemCompVideo.ets | 13 ++----------- .../Home/src/main/ets/components/ListCompGandan.ets | 2 +- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/features/Home/src/main/ets/components/ItemCompVideo.ets b/features/Home/src/main/ets/components/ItemCompVideo.ets index 688c8f9..a67b659 100644 --- a/features/Home/src/main/ets/components/ItemCompVideo.ets +++ b/features/Home/src/main/ets/components/ItemCompVideo.ets @@ -35,22 +35,13 @@ export struct ItemCompVideo { .padding({left:10,right:10,bottom:10}) .width('100%') .margin({top:6}) - - }.backgroundColor(Color.White) .borderRadius(5) .onClick(()=>{ + const newReadNumber:number = Number(this.item.readnum)+1; + this.item.readnum = newReadNumber.toString(); videoTools.getVideoDetail(this.item.uuid) - }) .width('100%').clip(true) - - - } - - - - - } \ No newline at end of file diff --git a/features/Home/src/main/ets/components/ListCompGandan.ets b/features/Home/src/main/ets/components/ListCompGandan.ets index ea9ee6d..e10940d 100644 --- a/features/Home/src/main/ets/components/ListCompGandan.ets +++ b/features/Home/src/main/ets/components/ListCompGandan.ets @@ -38,7 +38,7 @@ export struct ListCompGandan { let routerInfo: uiObserver.RouterPageInfo | undefined = this.queryRouterPageInfo(); if (info.pageId == routerInfo?.pageId) { if (info.state == uiObserver.RouterPageState.ON_PAGE_SHOW) { - this.onRefresh() + // this.onRefresh() } else if (info.state == uiObserver.RouterPageState.ON_PAGE_HIDE) { }