wangliang_wd

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

@@ -80,6 +80,7 @@ export default struct MinePageUserSimpleInfoUI { @@ -80,6 +80,7 @@ export default struct MinePageUserSimpleInfoUI {
80 .textOverflow({ overflow: TextOverflow.Ellipsis }) 80 .textOverflow({ overflow: TextOverflow.Ellipsis })
81 .fontSize(20) 81 .fontSize(20)
82 .lineHeight(24) 82 .lineHeight(24)
  83 + .constraintSize({maxWidth:200})
83 84
84 Image($r('app.media.mine_user_edit')) 85 Image($r('app.media.mine_user_edit'))
85 .width(14) 86 .width(14)
@@ -109,7 +110,6 @@ export default struct MinePageUserSimpleInfoUI { @@ -109,7 +110,6 @@ export default struct MinePageUserSimpleInfoUI {
109 } 110 }
110 } 111 }
111 .alignItems(HorizontalAlign.Start) 112 .alignItems(HorizontalAlign.Start)
112 - .width(180)  
113 }else{ 113 }else{
114 Row(){ 114 Row(){
115 Text("登录注册") 115 Text("登录注册")
@@ -69,7 +69,7 @@ export struct HomePageBottomFollowComponent { @@ -69,7 +69,7 @@ export struct HomePageBottomFollowComponent {
69 69
70 Column() { 70 Column() {
71 if (this.isGetRequest == true) { 71 if (this.isGetRequest == true) {
72 - Text().backgroundColor(Color.Red) 72 + Text().backgroundColor($r('app.color.color_EDEDED'))
73 .width('100%') 73 .width('100%')
74 .height(1) 74 .height(1)
75 } 75 }
@@ -443,7 +443,7 @@ export struct PaperSingleColumn999CardView { @@ -443,7 +443,7 @@ export struct PaperSingleColumn999CardView {
443 Image(this.item?.coverUrl) 443 Image(this.item?.coverUrl)
444 .borderRadius(5) 444 .borderRadius(5)
445 .objectFit(ImageFit.Cover) 445 .objectFit(ImageFit.Cover)
446 - .aspectRatio(16 / 10) ///图片设计比例 446 + .aspectRatio(319 / 179) ///图片设计比例
447 .padding({ top: 10 }) 447 .padding({ top: 10 })
448 //视频 448 //视频
449 if (this.item?.videoInfo) { 449 if (this.item?.videoInfo) {