wangliang_wd

feat:优化早晚报语音播报间距,优化我的主页,优化分享

@@ -327,7 +327,7 @@ export struct MorningEveningPaperComponent { @@ -327,7 +327,7 @@ export struct MorningEveningPaperComponent {
327 compListItem: this.compListItem, 327 compListItem: this.compListItem,
328 }) 328 })
329 .margin({ 329 .margin({
330 - top: this.isHasTopView || this.audioPlayUrl.length > 0 ? 10 : 44+this.topSafeHeight 330 + top: this.isHasTopView || this.audioPlayUrl.length > 0 ? 0 : 44+this.topSafeHeight
331 }) 331 })
332 } 332 }
333 } 333 }
@@ -122,11 +122,12 @@ struct MineHomePage { @@ -122,11 +122,12 @@ struct MineHomePage {
122 Row() { 122 Row() {
123 Text(`${this.userName}`) 123 Text(`${this.userName}`)
124 .fontColor($r('app.color.white')) 124 .fontColor($r('app.color.white'))
125 - .maxLines(1) 125 + .maxLines(2)
126 .textOverflow({ overflow: TextOverflow.Ellipsis }) 126 .textOverflow({ overflow: TextOverflow.Ellipsis })
127 .fontSize(20) 127 .fontSize(20)
128 .lineHeight(26) 128 .lineHeight(26)
129 .fontWeight(500) 129 .fontWeight(500)
  130 + .constraintSize({maxWidth:180})
130 .onClick(()=>{ 131 .onClick(()=>{
131 let params: editModelParams = { 132 let params: editModelParams = {
132 editContent: this.userName 133 editContent: this.userName
@@ -206,7 +207,7 @@ struct MineHomePage { @@ -206,7 +207,7 @@ struct MineHomePage {
206 .backgroundColor($r('app.color.color_transparent')) 207 .backgroundColor($r('app.color.color_transparent'))
207 .height(86) 208 .height(86)
208 .width('100%') 209 .width('100%')
209 - .padding({ left: 16 }) 210 + .padding({ left: 10 })
210 211
211 212
212 Column(){ 213 Column(){
@@ -39,6 +39,7 @@ export class WDShare { @@ -39,6 +39,7 @@ export class WDShare {
39 desc: program.shareInfo.shareSummary, 39 desc: program.shareInfo.shareSummary,
40 link: program.shareInfo.shareUrl, 40 link: program.shareInfo.shareUrl,
41 deeplink:AppInnerLinkGenerator.generateDeepLinkWithProgram(program), 41 deeplink:AppInnerLinkGenerator.generateDeepLinkWithProgram(program),
  42 + posterImg:$r("app.media.test_share_poster")
42 } 43 }
43 }) 44 })
44 } 45 }