张善主

fix(17493):人民号冷启动卡-行间距过大、功能按钮位置偏下

... ... @@ -26,7 +26,7 @@ export struct PeopleShipRecommendComponent {
.height('30vp')
.fontColor($r('app.color.color_222222'))
.fontWeight(600)
.fontSize($r('app.float.vp_18'))
.fontSize($r('app.float.vp_15_7'))
Blank()
Button({ type: ButtonType.Normal, stateEffect: false }) {
... ... @@ -35,7 +35,7 @@ export struct PeopleShipRecommendComponent {
.height('30vp')
.fontColor($r('app.color.color_999999'))
.fontWeight(400)
.fontSize($r('app.float.vp_14'))
.fontSize($r('app.float.vp_13'))
Image($r('app.media.ic_refresh'))
.width('14vp')
.height('14vp')
... ... @@ -56,7 +56,7 @@ export struct PeopleShipRecommendComponent {
.width('100%')
.alignSelf(ItemAlign.Start)
.margin({
top: '10vp',
top: '-50vp',
bottom: '10vp'
})
... ... @@ -75,7 +75,7 @@ export struct PeopleShipRecommendComponent {
.columnsTemplate('1fr 1fr 1fr')
.columnsGap(20)
.rowsGap(16)
.height(Math.ceil(this.rmhList.length / 3.0) * 132)
.height(Math.ceil(this.rmhList.length / 3.0) * 126)
.backgroundColor(Color.Transparent)
.margin({
right: '20vp',
... ... @@ -94,7 +94,7 @@ export struct PeopleShipRecommendComponent {
.borderRadius('3vp')
.fontColor($r('app.color.color_999999'))
.fontWeight(500)
.fontSize($r('app.float.vp_14'))
.fontSize($r('app.float.vp_13'))
.fontColor(Color.White)
.onClick(() => {
// 点击一键关注
... ...
... ... @@ -11,8 +11,8 @@ export struct PeopleShipRecommendHeadComponent {
Column(){
Stack({ alignContent: Alignment.BottomEnd }) {
Image(this.rmhInfo.headPhotoUrl.length > 0 ? this.rmhInfo.headPhotoUrl : $r('app.media.WDAccountOwnerHedaerDefaultIcon'))
.width('44vp')
.height('44vp')
.width('40vp')
.height('40vp')
.borderRadius('22vp')
.objectFit(ImageFit.Cover)
... ... @@ -23,12 +23,12 @@ export struct PeopleShipRecommendHeadComponent {
.margin({
right: '-3vp'
})
}.margin({ top: 12, bottom: 8 })
}.margin({ top: 4, bottom: 8 })
Row() {
Text(this.rmhInfo.userName)
.fontColor($r('app.color.color_222222'))
.fontSize($r('app.float.vp_14'))
.fontSize($r('app.float.vp_13'))
.fontWeight(600)
.maxLines(1)
.textOverflow({overflow: TextOverflow.Ellipsis})
... ... @@ -49,14 +49,14 @@ export struct PeopleShipRecommendHeadComponent {
Text(this.rmhInfo.introduction)
.fontColor($r('app.color.color_B0B0B0'))
.fontSize($r('app.float.vp_12'))
.margin({ top: 8, bottom: 14 })
.fontSize($r('app.float.vp_11'))
.margin({ top: 6, bottom: 14 })
.textOverflow({overflow: TextOverflow.Ellipsis})
.maxLines(2)
.height(34)
}
.width('100%')
.height('116vp')
.height('110vp')
}
... ...