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
yumaochao
2024-05-22 17:53:35 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bad49519b8cdbfe38e7ec4d237b0d61432886a8c
bad49519
1 parent
0ee1ac64
fix:somebug
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletions
sight_harmony/features/wdComponent/src/main/ets/components/cardCommon/CardMediaInfo.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardCommon/CardMediaInfo.ets
View file @
bad4951
...
...
@@ -130,7 +130,7 @@ export struct CardMediaInfo {
Image($r('app.media.card_image'))
.mediaLogo()
Text(`${this.contentDTO.photoNum}`)
.mediaText()
.mediaText
Imgtype
()
}
.margin({ left: 80,top: 55})
...
...
@@ -185,3 +185,14 @@ function mediaText() {
offsetY: 2
})
}
@Extend(Text)
function mediaTextImgtype() {
.fontColor($r('app.color.color_fff'))
.fontSize($r('app.float.font_size_13'))
.lineHeight(18)
.textShadow({
radius: 2,
color: 'rgba(0,0,0,0.3)',
offsetY: 2
})
}
...
...
Please
register
or
login
to post a comment