wangliang_wd

Merge branch 'main' of http://192.168.1.42/developOne/harmonyPool into main

* 'main' of http://192.168.1.42/developOne/harmonyPool:
  ref |> 修复横版直播间直播间Tab和大家聊占位图多了一个返回按钮问题
  fix: 沉浸式视频进度条左右边距修改
... ... @@ -63,6 +63,8 @@ export struct EmptyComponent {
@State emptyButton: boolean = false
@State isBlack: boolean = false // 背景是否为黑色 默认白色
@State timeNum: number = 10
///占位图上是否显示返回按钮
@State showBackButton: boolean = true
/**
* The empty image width percentage setting.
*/
... ... @@ -111,6 +113,7 @@ export struct EmptyComponent {
build() {
Stack({alignContent:Alignment.Bottom}) {
this.noProgrammeData();
if (this.showBackButton) {
Image($r("app.media.icon_arrow_left_white"))
.width(24)
.height(24)
... ... @@ -123,6 +126,7 @@ export struct EmptyComponent {
})
}
}
}
/**
* 无数据,空白view组件
... ...
... ... @@ -78,7 +78,7 @@ export struct TabChatComponent {
} else if (this.pageModel.viewType == ViewType.ERROR) {
ErrorComponent()
} else if (this.pageModel.viewType == ViewType.EMPTY) {
EmptyComponent({ emptyType: WDViewDefaultType.WDViewDefaultType_NoComment1 })
EmptyComponent({ emptyType: WDViewDefaultType.WDViewDefaultType_NoComment1, showBackButton:false})
} else {
CustomPullToRefresh({
... ...
... ... @@ -75,7 +75,7 @@ export struct TabLiveComponent {
} else if (this.pageModel.viewType == ViewType.ERROR) {
ErrorComponent()
} else if (this.pageModel.viewType == ViewType.EMPTY) {
EmptyComponent({ emptyType: WDViewDefaultType.WDViewDefaultType_NoContent1 })
EmptyComponent({ emptyType: WDViewDefaultType.WDViewDefaultType_NoContent1, showBackButton:false })
} else {
CustomPullToRefresh({
alldata: this.liveList,
... ...
... ... @@ -130,11 +130,12 @@ export struct PlayerProgressView {
this.isDragging = false
}
this.playerController?.setSeekTime(value, mode);
console.log('slider onChange:', value, mode)
// console.log('slider onChange:', value, mode)
})
}
.width('100%')
.padding({ left: 6, right: 6 })
.height(24)
.justifyContent(FlexAlign.Center)
... ...
... ... @@ -94,7 +94,7 @@ export struct PlayerTitleView {
}
clipStr += strArr[i]
}
console.log(TAG, 'clipStr:', clipStr)
// console.log(TAG, 'clipStr:', clipStr)
return clipStr
}
... ... @@ -130,7 +130,7 @@ export struct PlayerTitleView {
}
clipStr += strArr[i]
}
console.log(TAG, 'clipTitleText clipStr:', clipStr)
// console.log(TAG, 'clipTitleText clipStr:', clipStr)
return clipStr
}
... ... @@ -145,8 +145,8 @@ export struct PlayerTitleView {
})
this.titleHeight = info?.height as number || 0
console.log('titleHeight:', this.titleHeight,)
console.log(TAG, 'this.contentDetailData:', JSON.stringify(this.contentDetailData))
// console.log('titleHeight:', this.titleHeight,)
// console.log(TAG, 'this.contentDetailData:', JSON.stringify(this.contentDetailData))
this.summary = this.getSummary()
}
... ...