王士厅

评论底部高度修改

@@ -49,6 +49,7 @@ export struct OperRowListView { @@ -49,6 +49,7 @@ export struct OperRowListView {
49 @State newsStatusOfUser: batchLikeAndCollectResult | undefined = undefined // 点赞、收藏状态 49 @State newsStatusOfUser: batchLikeAndCollectResult | undefined = undefined // 点赞、收藏状态
50 @State likeBean: Record<string, string> = {} 50 @State likeBean: Record<string, string> = {}
51 @State audioUrl: string= '' 51 @State audioUrl: string= ''
  52 + @State bottomSafeHeight: number = AppStorage.get<number>('bottomSafeHeight') || 0
52 needLike: boolean = true 53 needLike: boolean = true
53 54
54 async aboutToAppear() { 55 async aboutToAppear() {
@@ -120,7 +121,7 @@ export struct OperRowListView { @@ -120,7 +121,7 @@ export struct OperRowListView {
120 .backgroundColor(Color.White) 121 .backgroundColor(Color.White)
121 .padding({ 122 .padding({
122 top: 10, 123 top: 10,
123 - bottom: 50 124 + bottom: `${this.bottomSafeHeight}px`
124 }) 125 })
125 } 126 }
126 127