陈剑华

Merge remote-tracking branch 'origin/main'

@@ -32,6 +32,7 @@ let preferenceTheme: dataPreferences.Preferences | null = null @@ -32,6 +32,7 @@ let preferenceTheme: dataPreferences.Preferences | null = null
32 struct LiveMorePage { 32 struct LiveMorePage {
33 @State data: LazyDataSource<ContentDTO> = new LazyDataSource(); 33 @State data: LazyDataSource<ContentDTO> = new LazyDataSource();
34 topSafeHeight: number = AppStorage.get<number>('topSafeHeight') as number; 34 topSafeHeight: number = AppStorage.get<number>('topSafeHeight') as number;
  35 + @State bottomSafeHeight: number = AppStorage.get<number>('bottomSafeHeight') || 0
35 type: number = 1; 36 type: number = 1;
36 pageSize: number = 20; 37 pageSize: number = 20;
37 operDataList: ContentDTO[] = []; 38 operDataList: ContentDTO[] = [];
@@ -100,6 +101,7 @@ struct LiveMorePage { @@ -100,6 +101,7 @@ struct LiveMorePage {
100 right: $r('app.float.card_comp_pagePadding_lf'), 101 right: $r('app.float.card_comp_pagePadding_lf'),
101 bottom: $r('app.float.card_comp_pagePadding_tb') 102 bottom: $r('app.float.card_comp_pagePadding_tb')
102 }) 103 })
  104 + .margin({bottom:px2vp(this.bottomSafeHeight)})
103 .onClick(() => { 105 .onClick(() => {
104 ProcessUtils.processPage(this.contentDTO) 106 ProcessUtils.processPage(this.contentDTO)
105 }) 107 })
@@ -321,8 +321,8 @@ export struct MultiPictureDetailPageComponent { @@ -321,8 +321,8 @@ export struct MultiPictureDetailPageComponent {
321 middle: { anchor: "__container__", align: HorizontalAlign.Center } 321 middle: { anchor: "__container__", align: HorizontalAlign.Center }
322 }) 322 })
323 .zIndex(1) 323 .zIndex(1)
324 - .onChange((index: number) => {  
325 - this.swiperIndex = index 324 + .onAnimationStart((index: number, targetIndex: number, extraInfo: SwiperAnimationEvent) => {
  325 + this.swiperIndex = targetIndex
326 }) 326 })
327 .onClick(() => { 327 .onClick(() => {
328 this.showDownload = !this.showDownload 328 this.showDownload = !this.showDownload