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
wangliang_wd
2024-09-19 14:52:19 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8a8cc4045f5f28121a755717e01fe9e99d461782
8a8cc404
1 parent
2cf68803
feat:优化信息流UI展示问题
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
sight_harmony/features/wdComponent/src/main/ets/components/cardCommon/RmhTitle.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card14Component.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card6Component.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardCommon/RmhTitle.ets
View file @
8a8cc40
...
...
@@ -195,7 +195,8 @@ export struct RmhTitle {
Blank()
if (this.rmhInfo?.cnIsAttention) {
Row() {
Column() {
Row(){
if (Number(this.followStatus) === 0) {
Image($r('app.media.rmh_follow'))
.width(16)
...
...
@@ -205,9 +206,9 @@ export struct RmhTitle {
Text(Number(this.followStatus) === 0 ? '关注' : '已关注')
.fontSize($r('app.float.font_size_13'))
.fontColor(Number(this.followStatus) === 0 ? $r('app.color.color_ED2800') : 0xc6c6c6)
}.margin({top:4})
}
.flexShrink(0)
.alignSelf(ItemAlign.Center)
.onClick(() => {
this.handleAccention();
})
...
...
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card14Component.ets
View file @
8a8cc40
...
...
@@ -86,7 +86,7 @@ export struct Card14Component {
.height(78)
.borderRadius($r('app.float.image_border_radius'))
.border({
width:
1
,
width:
0.5
,
color: '#0D000000'
})
.borderStyle(BorderStyle.Solid)
...
...
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card6Component.ets
View file @
8a8cc40
...
...
@@ -124,7 +124,7 @@ export struct Card6Component {
.borderRadius(5)
.aspectRatio(this.contentDTO.appStyle === CompStyle.Card_13 ? 3 / 2 : 3 / 4)
.height(this.contentDTO.appStyle === CompStyle.Card_13 ? 78 : 156)
.border({width:
1
, color: 0xf5f5f5})
.border({width:
0.5
, color: 0xf5f5f5})
.borderStyle(BorderStyle.Solid)
CardMediaInfo({ contentDTO: this.contentDTO })
}
...
...
Please
register
or
login
to post a comment