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
陈剑华
2024-10-08 16:44:46 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
65ce187a7c44e228f0f00e58b5be623cc3e6afc3
65ce187a
1 parent
377a5698
fix: 20704 我的收藏列表,左右两侧间距太大
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
sight_harmony/features/wdComponent/src/main/ets/components/page/MyCollectionListPage.ets
sight_harmony/features/wdComponent/src/main/ets/components/page/MyCollectionListPage.ets
View file @
65ce187
...
...
@@ -17,6 +17,8 @@ import TrackingPageBrowseUtils from '../../utils/TrackingPageBrowseUtils'
import { TrackConstants, TrackingButton, TrackingContent, TrackParamConvert } from 'wdTracking/Index';
import { PeopleShipMainViewModel } from '../../viewmodel/PeopleShipMainViewModel';
import { router } from '@kit.ArkUI';
@Entry
@Component
struct MyCollectionListPage {
...
...
@@ -148,7 +150,10 @@ struct MyCollectionListPage {
.scrollBar(BarState.Off)
.height(CommonConstants.FULL_PARENT)
.edgeEffect(EdgeEffect.None) // 必须设置列表为滑动到边缘无效果
.margin({
.margin(router.getState().name === 'MyCollectionListPage' ? {
left: 6,
right: 6
} : {
left: 16,
right: 16
})
...
...
@@ -167,7 +172,6 @@ struct MyCollectionListPage {
}
Column() {
BigPicCardComponent({compDTO:new CompDTO,contentDTO:compDTO,pageId:TrackConstants.PageName.My_Collect,pageName:TrackConstants.PageName.My_Collect})
Divider().strokeWidth(1).color('#f5f5f5').padding({ left: 16, right: 16 });
}
}.onVisibleAreaChange([0.0, 1.0], (isVisible: boolean, currentRatio: number) => {
if (isVisible && !this.isEditState) {
...
...
Please
register
or
login
to post a comment