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
caohuahui
2024-02-05 16:55:51 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d6ad61aed1f291052048357a442e9f04ea0e4ba3
d6ad61ae
1 parent
df4bab24
头图卡添加标题数据
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
PeopleDaily_Harmony/wdComponent/src/main/ets/components/view/HeadPictureCardComponent.ets
PeopleDaily_Harmony/wdComponent/src/main/ets/components/view/HeadPictureCardComponent.ets
View file @
d6ad61a
...
...
@@ -14,18 +14,17 @@ export struct HeadPictureCardComponent {
.width(CommonConstants.FULL_WIDTH)
.height(CommonConstants.FULL_HEIGHT)
if (this.compDTO.operDataList[0].
description
!= null) {
if (this.compDTO.operDataList[0].
newsTitle
!= null) {
Row()
.width(CommonConstants.FULL_WIDTH)
.height(59)
.backgroundColor(Color.Red)
.linearGradient({
colors:[
['rgba(0, 0, 0, 0.0)', 0.0], ['rgba(0, 0, 0, 0.3)', 1.0]
]
})
Row() {
Text(this.compDTO.operDataList[0].
description
)
Text(this.compDTO.operDataList[0].
newsTitle
)
.width(CommonConstants.FULL_WIDTH)
.height(CommonConstants.FULL_HEIGHT)
.fontColor(Color.White)
...
...
@@ -43,3 +42,4 @@ export struct HeadPictureCardComponent {
.height(200)
}
}
...
...
Please
register
or
login
to post a comment