视频阅读量++
This commit is contained in:
parent
61a28b9150
commit
7e8836fadf
@ -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)
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
@ -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) {
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user