yanlu

fix: 16809 人民号下我的关注图标样式鸿蒙与安卓不一致

... ... @@ -6,9 +6,10 @@ import { PeopleShipAttentionContentListHeadComponent } from './PeopleShipAttenti
@Component
export struct PeopleShipAttentionContentListTopComponent {
@Prop followList: FollowListDetailItem[]
build() {
Column() {
List(){
List() {
ListItem() {
this.PeopleShipFollowTop()
}.onClick(() => {
... ... @@ -32,15 +33,16 @@ export struct PeopleShipAttentionContentListTopComponent {
.scrollBar(BarState.Off)
.width('100%')
.height('102vp')
Divider().strokeWidth(1).color($r('app.color.color_F5F5F5'))
}
}
@Builder
PeopleShipFollowTop() {
Column(){
Column() {
// 头像
Image( $r('app.media.attention_mine') )
Image($r('app.media.attention_mine'))
.alt($r('app.media.attention_mine'))
.width(48)
.height(48)
... ... @@ -58,7 +60,7 @@ export struct PeopleShipAttentionContentListTopComponent {
.height('18vp')
.lineHeight('18vp')
.maxLines(1)
.textOverflow({overflow: TextOverflow.Ellipsis})
.textOverflow({ overflow: TextOverflow.Ellipsis })
.padding({
left: '2vp',
right: '2vp'
... ...