yanlu

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

@@ -6,9 +6,10 @@ import { PeopleShipAttentionContentListHeadComponent } from './PeopleShipAttenti @@ -6,9 +6,10 @@ import { PeopleShipAttentionContentListHeadComponent } from './PeopleShipAttenti
6 @Component 6 @Component
7 export struct PeopleShipAttentionContentListTopComponent { 7 export struct PeopleShipAttentionContentListTopComponent {
8 @Prop followList: FollowListDetailItem[] 8 @Prop followList: FollowListDetailItem[]
  9 +
9 build() { 10 build() {
10 Column() { 11 Column() {
11 - List(){ 12 + List() {
12 ListItem() { 13 ListItem() {
13 this.PeopleShipFollowTop() 14 this.PeopleShipFollowTop()
14 }.onClick(() => { 15 }.onClick(() => {
@@ -32,15 +33,16 @@ export struct PeopleShipAttentionContentListTopComponent { @@ -32,15 +33,16 @@ export struct PeopleShipAttentionContentListTopComponent {
32 .scrollBar(BarState.Off) 33 .scrollBar(BarState.Off)
33 .width('100%') 34 .width('100%')
34 .height('102vp') 35 .height('102vp')
  36 +
35 Divider().strokeWidth(1).color($r('app.color.color_F5F5F5')) 37 Divider().strokeWidth(1).color($r('app.color.color_F5F5F5'))
36 } 38 }
37 } 39 }
38 40
39 @Builder 41 @Builder
40 PeopleShipFollowTop() { 42 PeopleShipFollowTop() {
41 - Column(){ 43 + Column() {
42 // 头像 44 // 头像
43 - Image( $r('app.media.attention_mine') ) 45 + Image($r('app.media.attention_mine'))
44 .alt($r('app.media.attention_mine')) 46 .alt($r('app.media.attention_mine'))
45 .width(48) 47 .width(48)
46 .height(48) 48 .height(48)
@@ -58,7 +60,7 @@ export struct PeopleShipAttentionContentListTopComponent { @@ -58,7 +60,7 @@ export struct PeopleShipAttentionContentListTopComponent {
58 .height('18vp') 60 .height('18vp')
59 .lineHeight('18vp') 61 .lineHeight('18vp')
60 .maxLines(1) 62 .maxLines(1)
61 - .textOverflow({overflow: TextOverflow.Ellipsis}) 63 + .textOverflow({ overflow: TextOverflow.Ellipsis })
62 .padding({ 64 .padding({
63 left: '2vp', 65 left: '2vp',
64 right: '2vp' 66 right: '2vp'