wangyujian_wd

fix:1)直播详情页面修改优化

@@ -26,7 +26,7 @@ export struct TabChatComponent { @@ -26,7 +26,7 @@ export struct TabChatComponent {
26 } else if (this.pageModel.viewType == ViewType.ERROR) { 26 } else if (this.pageModel.viewType == ViewType.ERROR) {
27 ErrorComponent() 27 ErrorComponent()
28 } else if (this.pageModel.viewType == ViewType.EMPTY) { 28 } else if (this.pageModel.viewType == ViewType.EMPTY) {
29 - EmptyComponent({ emptyType: WDViewDefaultType.WDViewDefaultType_NoContent1 }) 29 + EmptyComponent({ emptyType: WDViewDefaultType.WDViewDefaultType_NoComment1 })
30 } else { 30 } else {
31 this.ListLayout() 31 this.ListLayout()
32 } 32 }
@@ -107,7 +107,6 @@ export struct TabLiveItemComponent { @@ -107,7 +107,6 @@ export struct TabLiveItemComponent {
107 .listDirection(Axis.Horizontal) 107 .listDirection(Axis.Horizontal)
108 .margin({ 108 .margin({
109 top: 8, 109 top: 8,
110 - right: 16  
111 }) 110 })
112 } 111 }
113 //音频 112 //音频
@@ -147,14 +146,12 @@ export struct TabLiveItemComponent { @@ -147,14 +146,12 @@ export struct TabLiveItemComponent {
147 } 146 }
148 .margin({ 147 .margin({
149 top: 8, 148 top: 8,
150 - right: 16  
151 }) 149 })
152 .aspectRatio(Number.parseFloat(this.item.pictureResolutions[0]?.split('*')[0]) / Number.parseFloat(this.item.pictureResolutions[0]?.split('*')[1])) 150 .aspectRatio(Number.parseFloat(this.item.pictureResolutions[0]?.split('*')[0]) / Number.parseFloat(this.item.pictureResolutions[0]?.split('*')[1]))
153 .onClick(() => { 151 .onClick(() => {
154 this.gotoVideoPlayPage() 152 this.gotoVideoPlayPage()
155 }) 153 })
156 } 154 }
157 -  
158 } 155 }
159 .margin({ 156 .margin({
160 left: 8, 157 left: 8,
@@ -75,7 +75,7 @@ export struct PlayUIComponent { @@ -75,7 +75,7 @@ export struct PlayUIComponent {
75 if (this.liveDetailsBean.liveInfo?.liveState != 'wait') { 75 if (this.liveDetailsBean.liveInfo?.liveState != 'wait') {
76 Text(this.liveDetailsBean.newsTitle) 76 Text(this.liveDetailsBean.newsTitle)
77 .maxLines(1) 77 .maxLines(1)
78 - .textOverflow({ overflow: TextOverflow.Ellipsis }) 78 + .textOverflow({ overflow: TextOverflow.MARQUEE })
79 .fontSize('16fp') 79 .fontSize('16fp')
80 .fontWeight(500) 80 .fontWeight(500)
81 .fontColor(Color.White) 81 .fontColor(Color.White)
@@ -269,8 +269,7 @@ export struct PlayUIComponent { @@ -269,8 +269,7 @@ export struct PlayUIComponent {
269 .blockSize({ 269 .blockSize({
270 width: 18, 270 width: 18,
271 height: 12 271 height: 12
272 - })  
273 - // .blockStyle({ 272 + })// .blockStyle({
274 // type: SliderBlockType.IMAGE, 273 // type: SliderBlockType.IMAGE,
275 // image: $r('app.media.ic_player_block') 274 // image: $r('app.media.ic_player_block')
276 // }) 275 // })