yanlu

fix:17081 UI还原问题-【生产环境】标题和文案和android不一致,看图

@@ -30,7 +30,8 @@ export struct TabInfoComponent { @@ -30,7 +30,8 @@ export struct TabInfoComponent {
30 Text(this.liveDetailsBean.newsTitle) 30 Text(this.liveDetailsBean.newsTitle)
31 .maxLines(2) 31 .maxLines(2)
32 .textOverflow({ overflow: TextOverflow.Ellipsis }) 32 .textOverflow({ overflow: TextOverflow.Ellipsis })
33 - .fontSize('18fp') 33 + .fontSize('18vp')
  34 + .lineHeight('26vp')
34 .fontWeight(500) 35 .fontWeight(500)
35 .fontColor('#222222') 36 .fontColor('#222222')
36 } 37 }
@@ -40,9 +41,10 @@ export struct TabInfoComponent { @@ -40,9 +41,10 @@ export struct TabInfoComponent {
40 Text(this.liveDetailsBean.newIntroduction) 41 Text(this.liveDetailsBean.newIntroduction)
41 .maxLines(5) 42 .maxLines(5)
42 .textOverflow({ overflow: TextOverflow.Ellipsis }) 43 .textOverflow({ overflow: TextOverflow.Ellipsis })
43 - .fontSize('14fp') 44 + .fontSize('14vp')
44 .fontWeight(400) 45 .fontWeight(400)
45 .fontColor('#666666') 46 .fontColor('#666666')
  47 + .lineHeight('22vp')
46 .margin({ top: 8 }) 48 .margin({ top: 8 })
47 } 49 }
48 } 50 }