陈剑华

fix: 17650 早晚报>专题类型稿件详情页_互动区和详情区域缺少分割线

@@ -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