liyubing

feat:直播大图卡加阴影

1 /** 1 /**
2 * More_Comp 2 * More_Comp
3 */ 3 */
  4 +import { ContentDTO } from 'wdBean/Index';
  5 +
4 const TAG: string = 'More_Comp'; 6 const TAG: string = 'More_Comp';
5 7
6 @Entry 8 @Entry
@@ -265,19 +265,24 @@ struct LiveMorePage { @@ -265,19 +265,24 @@ struct LiveMorePage {
265 .fontSize('12vp') 265 .fontSize('12vp')
266 .fontWeight(400) 266 .fontWeight(400)
267 .fontColor(Color.White) 267 .fontColor(Color.White)
  268 + .textShadow({ radius: 2, color: 'rgba(0,0,0,0.3)', offsetX: 0, offsetY: 2 })
268 .margin({ 269 .margin({
269 right: '5vp' 270 right: '5vp'
270 }) 271 })
271 - Divider()  
272 - .vertical(true)  
273 - .strokeWidth(1)  
274 - .height('12vp')  
275 - .margin({ top: 2, bottom: 2 })  
276 - .color(Color.White) 272 + // Divider()
  273 + // .vertical(true)
  274 + // .strokeWidth(1)
  275 + // .height('12vp')
  276 + // .margin({ top: 2, bottom: 2 })
  277 + // .color(Color.White)
  278 +
  279 + Image($r('app.media.icon_comp_line_live')).height('11vp').width('1.5vp')
  280 +
277 if (this.getLiveRoomNumber(item).length > 0) { 281 if (this.getLiveRoomNumber(item).length > 0) {
278 Text(this.getLiveRoomNumber(item)) 282 Text(this.getLiveRoomNumber(item))
279 .fontSize('12vp') 283 .fontSize('12vp')
280 .fontWeight(400) 284 .fontWeight(400)
  285 + .textShadow({ radius: 2, color: 'rgba(0,0,0,0.3)', offsetX: 0, offsetY: 2 })
281 .fontColor(Color.White) 286 .fontColor(Color.White)
282 .margin({ 287 .margin({
283 left: '5vp' 288 left: '5vp'
@@ -84,7 +84,6 @@ export struct DetailPlayLiveCommon { @@ -84,7 +84,6 @@ export struct DetailPlayLiveCommon {
84 */ 84 */
85 getLiveDetails() { 85 getLiveDetails() {
86 86
87 -  
88 this.liveViewModel.getLiveDetails(this.contentId, this.relId, this.relType) 87 this.liveViewModel.getLiveDetails(this.contentId, this.relId, this.relType)
89 .then( 88 .then(
90 (data) => { 89 (data) => {