yumaochao
@@ -168,7 +168,7 @@ export struct ZhSingleRow06 { @@ -168,7 +168,7 @@ export struct ZhSingleRow06 {
168 ? item.operDataList[0]?.commentInfo?.userHeaderUrl 168 ? item.operDataList[0]?.commentInfo?.userHeaderUrl
169 ? item.operDataList[0].commentInfo.userHeaderUrl 169 ? item.operDataList[0].commentInfo.userHeaderUrl
170 : $r('app.media.default_head') 170 : $r('app.media.default_head')
171 - : '') 171 + : $r('app.media.comment_rmh_tag'))
172 .width(32) 172 .width(32)
173 .height(32) 173 .height(32)
174 .borderRadius(16) 174 .borderRadius(16)
@@ -132,54 +132,60 @@ export struct OperRowListView { @@ -132,54 +132,60 @@ export struct OperRowListView {
132 build() { 132 build() {
133 // 视频详情页 133 // 视频详情页
134 134
135 - Flex({ justifyContent: FlexAlign.SpaceBetween, alignItems: ItemAlign.Center }) {  
136 - // AudioDialog()  
137 - Row() {  
138 - Column() {  
139 - Image(this.styleType == 1 ? $r('app.media.icon_arrow_left') :  
140 - $r('app.media.icon_arrow_left_white'))  
141 - .width(24)  
142 - .height(24)  
143 - .aspectRatio(1)  
144 - .interpolation(ImageInterpolation.High)  
145 - }  
146 - .hoverEffect(HoverEffect.Scale)  
147 - .onClick(() => {  
148 - if (this.onBack) {  
149 - this.onBack()  
150 - }  
151 - router.back();  
152 - })  
153 - .width(48) 135 + Column() {
  136 + Image($r('app.media.ic_news_detail_division'))
  137 + .width('100%')
  138 + .height($r('app.float.margin_4'))
154 139
155 - if (this.contentDetailData?.newsId) {  
156 - ForEach(this.operationButtonList, (item: string, index: number) => {  
157 - if (item == 'comment') {  
158 - this.builderComment()  
159 - } else if (item == 'like' && this.needLike) {  
160 - this.builderLike()  
161 - } else if (item == 'collect') {  
162 - this.builderCollect()  
163 - } else if (item == 'listen') {  
164 - this.builderListen()  
165 - } else if (item == 'share') {  
166 - this.builderShare()  
167 - } else { 140 + Flex({ justifyContent: FlexAlign.SpaceBetween, alignItems: ItemAlign.Center }) {
  141 + // AudioDialog()
  142 + Row() {
  143 + Column() {
  144 + Image(this.styleType == 1 ? $r('app.media.icon_arrow_left') :
  145 + $r('app.media.icon_arrow_left_white'))
  146 + .width(24)
  147 + .height(24)
  148 + .aspectRatio(1)
  149 + .interpolation(ImageInterpolation.High)
  150 + }
  151 + .hoverEffect(HoverEffect.Scale)
  152 + .onClick(() => {
  153 + if (this.onBack) {
  154 + this.onBack()
168 } 155 }
  156 + router.back();
169 }) 157 })
  158 + .width(48)
  159 +
  160 + if (this.contentDetailData?.newsId) {
  161 + ForEach(this.operationButtonList, (item: string, index: number) => {
  162 + if (item == 'comment') {
  163 + this.builderComment()
  164 + } else if (item == 'like' && this.needLike) {
  165 + this.builderLike()
  166 + } else if (item == 'collect') {
  167 + this.builderCollect()
  168 + } else if (item == 'listen') {
  169 + this.builderListen()
  170 + } else if (item == 'share') {
  171 + this.builderShare()
  172 + } else {
  173 + }
  174 + })
  175 + }
170 } 176 }
  177 + .width('100%')
  178 + .justifyContent(FlexAlign.Start)
171 } 179 }
172 .width('100%') 180 .width('100%')
173 - .justifyContent(FlexAlign.Start) 181 + .backgroundColor(this.bgColor)
  182 + .padding({
  183 + top: 10,
  184 + // bottom: 10
  185 + bottom: `${this.bottomSafeHeight}px`
  186 + // bottom: 50
  187 + })
174 } 188 }
175 - .width('100%')  
176 - .backgroundColor(this.bgColor)  
177 - .padding({  
178 - top: 10,  
179 - // bottom: 10  
180 - bottom: `${this.bottomSafeHeight}px`  
181 - // bottom: 50  
182 - })  
183 189
184 } 190 }
185 191
@@ -65,10 +65,18 @@ @@ -65,10 +65,18 @@
65 "value": "14vp" 65 "value": "14vp"
66 }, 66 },
67 { 67 {
  68 + "name": "margin_4",
  69 + "value": "4vp"
  70 + },
  71 + {
68 "name": "margin_8", 72 "name": "margin_8",
69 "value": "8vp" 73 "value": "8vp"
70 }, 74 },
71 { 75 {
  76 + "name": "margin_9",
  77 + "value": "9vp"
  78 + },
  79 + {
72 "name": "label_margin_top", 80 "name": "label_margin_top",
73 "value": "10vp" 81 "value": "10vp"
74 }, 82 },
@@ -13,6 +13,10 @@ @@ -13,6 +13,10 @@
13 "value": "12fp" 13 "value": "12fp"
14 }, 14 },
15 { 15 {
  16 + "name": "margin_4",
  17 + "value": "4vp"
  18 + },
  19 + {
16 "name": "normal_text_size", 20 "name": "normal_text_size",
17 "value": "16fp" 21 "value": "16fp"
18 }, 22 },