张善主

fix(18512):人民号图集详情页的标题位置与安卓布局不一致

... ... @@ -12,7 +12,7 @@ export struct MultiPictureDetailItemComponent {
async aboutToAppear() {
// Logger.info(TAG, 'pictures preview')
// Logger.info(TAG, 'pictures preview'
}
build() {
... ...
... ... @@ -92,9 +92,8 @@ struct MultiPictureDetailPage {
* TODO:颜色待根据业务接口修改
*/
openFullScreen() {
WindowModel.shared.setWindowLayoutFullScreen(true)
WindowModel.shared.setWindowSystemBarProperties({ statusBarContentColor: '#ffffff', })
// WindowModel.shared.setWindowLayoutFullScreen(true)
// WindowModel.shared.setWindowSystemBarEnable([])
}
/**
... ... @@ -102,9 +101,8 @@ struct MultiPictureDetailPage {
* TODO:颜色待根据业务接口修改
*/
closeFullScreen() {
WindowModel.shared.setWindowLayoutFullScreen(false)
WindowModel.shared.setWindowSystemBarProperties({ statusBarContentColor: '#000000', })
// WindowModel.shared.setWindowLayoutFullScreen(false)
// WindowModel.shared.setWindowSystemBarEnable(['status', 'navigation'])
}
}
\ No newline at end of file
... ...
... ... @@ -353,7 +353,12 @@ export struct MultiPictureDetailPageComponent {
.lineHeight(19)
}
.fontColor(Color.White)
.margin(4)
.margin({
top: 4,
left: 18,
bottom: 4,
right: 4
})
}
if (this.contentDetailData.newsTitle) {
Text(`${this.contentDetailData.newsTitle}`)
... ... @@ -364,9 +369,9 @@ export struct MultiPictureDetailPageComponent {
.lineHeight(24)
.margin({
top: 4,
left: 0,
left: 18,
bottom: 4,
right: 0
right: 18
})
}
if (this.contentDetailData.photoList?.[this.swiperIndex].picDesc) {
... ...