Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
yanlu
2024-05-06 11:53:43 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9db992777c932a5e68e148ac464205b0ed2c442b
9db99277
1 parent
5e455630
fix: 16809 人民号下我的关注图标样式鸿蒙与安卓不一致
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
sight_harmony/features/wdComponent/src/main/ets/components/peopleShip/PeopleShipAttentionContentListTopComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/peopleShip/PeopleShipAttentionContentListTopComponent.ets
View file @
9db9927
...
...
@@ -6,11 +6,12 @@ import { PeopleShipAttentionContentListHeadComponent } from './PeopleShipAttenti
@Component
export struct PeopleShipAttentionContentListTopComponent {
@Prop followList: FollowListDetailItem[]
build() {
Column() {
List(){
List()
{
ListItem() {
this.PeopleShipFollowTop()
this.PeopleShipFollowTop()
}.onClick(() => {
// 跳转到关注列表-我的
WDRouterRule.jumpWithPage(WDRouterPage.followListPage)
...
...
@@ -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)
...
...
@@ -48,8 +50,8 @@ export struct PeopleShipAttentionContentListTopComponent {
.objectFit(ImageFit.ScaleDown)
.backgroundColor($r('app.color.color_F5F5F5'))
.margin({
bottom: '8vp'
})
bottom: '8vp'
})
Text('我的关注')
.fontColor($r('app.color.color_666666'))
...
...
@@ -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'
...
...
Please
register
or
login
to post a comment