王士厅

fix: 视频播放,标题+导读 展示4行,鸿蒙实际展示3行并折行。

@@ -161,7 +161,7 @@ export struct PlayerTitleView { @@ -161,7 +161,7 @@ export struct PlayerTitleView {
161 } else { 161 } else {
162 if(this.summary) { 162 if(this.summary) {
163 Text() { 163 Text() {
164 - Span(this.clipText(this.summary, 14, 2, this.windowWidth - 150 - vp2px(50))) 164 + Span(this.clipText(this.summary, 14, 3, this.windowWidth - 150 - vp2px(50)))
165 .fontSize(14) 165 .fontSize(14)
166 .fontColor(Color.White) 166 .fontColor(Color.White)
167 .lineHeight(21) 167 .lineHeight(21)