王士厅

fix: 视频详情页面,对简介上滑时,没有对号主名称进行固定

... ... @@ -13,17 +13,19 @@ export struct DetailDialog {
build() {
Column() {
Column() {
if (this.name) {
Text(`@${this.name}`)
.fontColor(Color.White)
.fontSize(14)
.fontWeight(600)
.lineHeight(17)
.margin({ top: 8 })
}
}
.alignItems(HorizontalAlign.Start)
Scroll() {
Column() {
if (this.name) {
Text(`@${this.name}`)
.fontColor(Color.White)
.fontSize(14)
.fontWeight(600)
.lineHeight(17)
.margin({ top: 8 })
}
if (this.title) {
Text(this.title)
.fontColor(Color.White)
... ... @@ -55,7 +57,9 @@ export struct DetailDialog {
}
.scrollBar(BarState.Off) //安卓不显示滚动条
.height(200)
.constraintSize({
maxHeight: 200
})
Row() {
Image($r("app.media.icon_arrow_left_white"))
... ...