Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
liyubing
2024-06-04 11:14:38 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b200c9872987e88f18bc2db2111dc3d2dab5eddd
b200c987
1 parent
40d6cb83
feat:
1、直播全屏聊天室,聊天区域信息从底部展示
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
sight_harmony/features/wdDetailPlayLive/src/main/ets/pages/DetailPlayVLivePage.ets
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/vertical/PlayerCommentComponent.ets
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/vertical/PlayerUIComponent.ets
sight_harmony/features/wdDetailPlayLive/src/main/ets/pages/DetailPlayVLivePage.ets
View file @
b200c98
...
...
@@ -78,7 +78,7 @@ export struct DetailPlayVLivePage {
LiveEmptyComponent({
emptyType: WDLiveViewDefaultType.WDViewDefaultType_NoLiveSuspend
})
.height('
3
0%').margin({top:this.topSafeHeight })
.height('
4
0%').margin({top:this.topSafeHeight })
} else {
if (this.liveDetailPageLogic.showPad) {
...
...
@@ -92,7 +92,7 @@ export struct DetailPlayVLivePage {
LiveEmptyComponent({
emptyType: WDLiveViewDefaultType.WDViewDefaultType_NoLiveSuspend
})
.height('
3
0%').margin({top:this.topSafeHeight })
.height('
4
0%').margin({top:this.topSafeHeight })
}
...
...
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/vertical/PlayerCommentComponent.ets
View file @
b200c98
...
...
@@ -14,6 +14,7 @@ import { EmitterEventId, EmitterUtils, Logger, SPHelper, WindowModel } from 'wdK
import { TrackConstants, TrackingContent, TrackParamConvert } from 'wdTracking/Index'
const TAG = "PlayerCommentComponent"
/**
* 沉浸式直播--- 聊天区域
*/
...
...
@@ -52,7 +53,7 @@ export struct PlayerCommentComponent {
this.liveViewModel.getLiveCommentList(
1,
this.contentDetailData?.liveInfo?.mlive?.mliveId,
this.contentDetailData?.newsId
+
'',
this.contentDetailData?.newsId
+
'',
20,)
.then(
(data) => {
...
...
@@ -82,6 +83,7 @@ export struct PlayerCommentComponent {
build() {
Column() {
Stack({ alignContent: Alignment.BottomStart }) {
List({ scroller: this.scroller }) {
// 主持人
if (this.contentDetailData.oldNewsId) {
...
...
@@ -93,10 +95,10 @@ export struct PlayerCommentComponent {
}
})
}
.height(280)
.width('80%')
.scrollBar(BarState.Off)
.margin({ bottom: 20 })
}.height(280)
// 收藏、分享、点赞是否需要根据字段显隐
LiveOperRowListView({
...
...
sight_harmony/features/wdDetailPlayLive/src/main/ets/widgets/vertical/PlayerUIComponent.ets
View file @
b200c98
...
...
@@ -13,6 +13,7 @@ export struct PlayerUIComponent {
build() {
Stack() {
// 标题
PlayerTitleComponent()
PlayerCommentComponent()
...
...
Please
register
or
login
to post a comment