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-06-03 15:23:42 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
640b4ae6d5a59cdabc60c0864ff0450428afb660
640b4ae6
1 parent
75f42d24
fix(18049):全域规则-人民日报客户端稿件评论开关关闭,号主动态列表,评论按钮不应展示
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
13 deletions
sight_harmony/features/wdComponent/src/main/ets/components/CarderInteraction.ets
sight_harmony/features/wdComponent/src/main/ets/components/CarderInteraction.ets
View file @
640b4ae
...
...
@@ -60,20 +60,13 @@ export struct CarderInteraction {
})
}
Row() {
Image($r('app.media.CarderInteraction_comment'))
.width(18)
.height(18)
Text('评论')
.margin({ left: 4 })
.fontSize(14)
.fontColor('#666666')
if(this.contentDetailData.rmhInfo != null){
if(this.contentDetailData.shareInfo != null && 1 == this.contentDetailData.shareInfo.shareOpen && 1 == this.contentDetailData.rmhInfo.cnShareControl){
this.shareLayout()
}
}else{
this.shareLayout()
}
.justifyContent(FlexAlign.Center)
.onClick(() => {
ProcessUtils.processPage(this.contentDTO)
})
this.builderLike()
}
...
...
@@ -87,6 +80,23 @@ export struct CarderInteraction {
.alignItems(VerticalAlign.Center)
}
@Builder
shareLayout() {
Row() {
Image($r('app.media.CarderInteraction_comment'))
.width(18)
.height(18);
Text('评论')
.margin({ left: 4 })
.fontSize(14)
.fontColor('#666666');
}
.justifyContent(FlexAlign.Center)
.onClick(() => {
ProcessUtils.processPage(this.contentDTO);
})
}
/**
* 点赞组件
*/
...
...
Please
register
or
login
to post a comment