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
王士厅
2024-09-21 16:20:32 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b68646b1fd012ede7a4c7e2c88d453cef2450429
b68646b1
1 parent
d013ee66
fix: 视频详情页,说两句输入框,要和进度条右对齐
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
sight_harmony/features/wdComponent/src/main/ets/components/view/OperRowListView.ets
sight_harmony/features/wdComponent/src/main/ets/components/view/OperRowListView.ets
View file @
b68646b
...
...
@@ -100,11 +100,11 @@ export struct OperRowListView {
private shareOpen = 0;
async aboutToAppear() {
console.info(TAG, 'this.needLike', this.needLike)
//
console.info(TAG, 'this.needLike', this.needLike)
this.handleStyle()
this.onDetailUpdated()
EmitterUtils.receiveEvent(EmitterEventId.AUDIO_CHANGE_STATUS, (val: number | string | undefined) => {
console.log(TAG, 'this.currentStatus', val)
//
console.log(TAG, 'this.currentStatus', val)
this.currentStatus = val
})
//注册通知,来自别的组件的评论成功通知
...
...
@@ -134,7 +134,7 @@ export struct OperRowListView {
}
async onDetailUpdated() {
console.info(TAG, 'this.styleType', this.styleType)
//
console.info(TAG, 'this.styleType', this.styleType)
this.handleStyle()
if (!this.contentDetailData) {
return
...
...
@@ -168,10 +168,10 @@ export struct OperRowListView {
this.likeBean['contentType'] = this.contentDetailData.newsType + ''
console.info(TAG, 'contentDetailData----', JSON.stringify(this.contentDetailData))
console.info(TAG, 'this.contentDetailData.shareInfo.shareOpen', JSON.stringify(this.contentDetailData.shareInfo.shareOpen))
console.info(TAG, 'likeBean----', JSON.stringify(this.likeBean))
console.info(TAG, 'this.operationButtonList', JSON.stringify(this.operationButtonList))
// console.info(TAG, 'contentDetailData----', JSON.stringify(this.contentDetailData))
// console.info(TAG, 'this.contentDetailData.shareInfo.shareOpen', JSON.stringify(this.contentDetailData.shareInfo.shareOpen))
// console.info(TAG, 'likeBean----', JSON.stringify(this.likeBean))
// console.info(TAG, 'this.operationButtonList', JSON.stringify(this.operationButtonList))
// 评论需要数据
/* this.publishCommentModel.targetId = this.contentDetailData.newsId + ''
...
...
@@ -185,8 +185,8 @@ export struct OperRowListView {
if (this.operationButtonList?.includes('listen')) {
this.audioUrl = this.contentDetailData.audioList[0]?.audioUrl || ''
this.audioTitle = this.contentDetailData.newsTitle || ''
console.log(TAG, 'this.audioUrl+++', this.audioUrl)
console.log(TAG, 'this.audioTitle+++', this.audioTitle)
// console.log(TAG, 'this.audioUrl+++', this.audioUrl)
// console.log(TAG, 'this.audioTitle+++', this.audioTitle)
}
// 2:竖屏直播页 3:图集 4:横屏直播页
if(this.pageComponentType == 2 || this.pageComponentType == 4) {
...
...
@@ -289,7 +289,7 @@ export struct OperRowListView {
}
.layoutWeight(1)
.margin({
right:
this.pageComponentType === 1 ? 20 :
0,
right:
1
0,
left: 0
})
...
...
Please
register
or
login
to post a comment