王士厅
@@ -113,7 +113,7 @@ export default struct MinePageUserSimpleInfoUI { @@ -113,7 +113,7 @@ export default struct MinePageUserSimpleInfoUI {
113 .margin({ left: 0,top:8 }) 113 .margin({ left: 0,top:8 })
114 .backgroundImage($r("app.media.mine_grade_bg")) 114 .backgroundImage($r("app.media.mine_grade_bg"))
115 .backgroundImageSize(ImageSize.FILL) 115 .backgroundImageSize(ImageSize.FILL)
116 - .padding({left: 6,right: 6}) 116 + .padding({left: 9,right: 9})
117 .height(16) 117 .height(16)
118 } 118 }
119 } 119 }
@@ -45,7 +45,7 @@ export struct ChildCommentComponent { @@ -45,7 +45,7 @@ export struct ChildCommentComponent {
45 .fontColor($r('app.color.color_222222')) 45 .fontColor($r('app.color.color_222222'))
46 .margin({ bottom: 1 }) 46 .margin({ bottom: 1 })
47 .maxLines(1) 47 .maxLines(1)
48 - Text(DateTimeUtils.getCommentTime(DateTimeUtils.getDateTimestamp(this.data.createTime))) 48 + Text(`${this.data.createTime}`)
49 .fontColor($r('app.color.color_B0B0B0')) 49 .fontColor($r('app.color.color_B0B0B0'))
50 .fontSize(12) 50 .fontSize(12)
51 .lineHeight(16) 51 .lineHeight(16)
@@ -10,6 +10,7 @@ export struct ChatItemComponent { @@ -10,6 +10,7 @@ export struct ChatItemComponent {
10 } 10 }
11 11
12 build() { 12 build() {
  13 + Row(){
13 Row() { 14 Row() {
14 Text() { 15 Text() {
15 if (this.item.role == LiveMessageRole.host) { 16 if (this.item.role == LiveMessageRole.host) {
@@ -59,5 +60,7 @@ export struct ChatItemComponent { @@ -59,5 +60,7 @@ export struct ChatItemComponent {
59 right: 8 60 right: 8
60 }) 61 })
61 .margin({ left: 16, bottom: 4 }) 62 .margin({ left: 16, bottom: 4 })
  63 + }.width("100%")
  64 + .backgroundColor(Color.Transparent)
62 } 65 }
63 } 66 }
@@ -100,16 +100,22 @@ export struct PlayerCommentComponent { @@ -100,16 +100,22 @@ export struct PlayerCommentComponent {
100 ForEach(this.liveChatList, (item: LiveRoomItemBean) => { 100 ForEach(this.liveChatList, (item: LiveRoomItemBean) => {
101 ListItem() { 101 ListItem() {
102 ChatItemComponent({ item: item }) 102 ChatItemComponent({ item: item })
103 - } 103 + }.blendMode(BlendMode.SRC_IN, BlendApplyType.OFFSCREEN)
104 }) 104 })
105 } 105 }
106 - .width('80%') 106 + .width('100%')
107 .scrollBar(BarState.Off) 107 .scrollBar(BarState.Off)
  108 + .edgeEffect(EdgeEffect.None)
108 109
109 } 110 }
110 .constraintSize({ 111 .constraintSize({
111 maxHeight: 280 112 maxHeight: 280
  113 + }).width("80%")
  114 + .linearGradient({ angle: 0,
  115 + colors: [[0xff000000, 0.85], [0x01000000, 1.0]]
112 }) 116 })
  117 + .blendMode(BlendMode.SRC_OVER, BlendApplyType.OFFSCREEN)
  118 +
113 119
114 // 收藏、分享、点赞是否需要根据字段显隐 120 // 收藏、分享、点赞是否需要根据字段显隐
115 LiveOperRowListView({ 121 LiveOperRowListView({