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) { }