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-18 17:50:14 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f95a0b5880ccd0da97f3f06205ae3a4b716b63d5
f95a0b58
1 parent
01f02ea6
feat:优化个人主页UI展示,早晚报图片比例
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
sight_harmony/features/wdComponent/src/main/ets/components/mine/MinePageUserSimpleInfoUI.ets
sight_harmony/features/wdComponent/src/main/ets/components/mine/home/HomePageBottomFollowComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/page/CardView.ets
sight_harmony/features/wdComponent/src/main/ets/components/mine/MinePageUserSimpleInfoUI.ets
View file @
f95a0b5
...
...
@@ -80,6 +80,7 @@ export default struct MinePageUserSimpleInfoUI {
.textOverflow({ overflow: TextOverflow.Ellipsis })
.fontSize(20)
.lineHeight(24)
.constraintSize({maxWidth:200})
Image($r('app.media.mine_user_edit'))
.width(14)
...
...
@@ -109,7 +110,6 @@ export default struct MinePageUserSimpleInfoUI {
}
}
.alignItems(HorizontalAlign.Start)
.width(180)
}else{
Row(){
Text("登录注册")
...
...
sight_harmony/features/wdComponent/src/main/ets/components/mine/home/HomePageBottomFollowComponent.ets
View file @
f95a0b5
...
...
@@ -69,7 +69,7 @@ export struct HomePageBottomFollowComponent {
Column() {
if (this.isGetRequest == true) {
Text().backgroundColor(
Color.Red
)
Text().backgroundColor(
$r('app.color.color_EDEDED')
)
.width('100%')
.height(1)
}
...
...
sight_harmony/features/wdComponent/src/main/ets/components/page/CardView.ets
View file @
f95a0b5
...
...
@@ -443,7 +443,7 @@ export struct PaperSingleColumn999CardView {
Image(this.item?.coverUrl)
.borderRadius(5)
.objectFit(ImageFit.Cover)
.aspectRatio(
16 / 10
) ///图片设计比例
.aspectRatio(
319 / 179
) ///图片设计比例
.padding({ top: 10 })
//视频
if (this.item?.videoInfo) {
...
...
Please
register
or
login
to post a comment