wangliang_wd

feat:优化个人主页UI展示,早晚报图片比例

... ... @@ -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("登录注册")
... ...
... ... @@ -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)
}
... ...
... ... @@ -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) {
... ...