|
|
@@ -20,6 +20,15 @@ export struct Screenshot {
|
|
|
.fontColor($r('sys.color.font_primary'))
|
|
|
.textOverflow({ overflow: TextOverflow.Ellipsis })
|
|
|
.margin({ top: 12 })
|
|
|
+ if (this.qrCodeInfo.isHome){
|
|
|
+ Text("注意:当前主页内容无法分享,分享跳转的内容为百度主页")
|
|
|
+ .fontWeight(FontWeight.Medium)
|
|
|
+ .fontSize(12)
|
|
|
+ .maxLines(2)
|
|
|
+ .fontColor($r('sys.color.font_primary'))
|
|
|
+ .textOverflow({ overflow: TextOverflow.Ellipsis })
|
|
|
+ .margin({ top: 12 })
|
|
|
+ }
|
|
|
Row({ space: 8 }) {
|
|
|
Text(this.qrCodeInfo.articleFrom)
|
|
|
.fontSize(12)
|
|
|
@@ -28,7 +37,7 @@ export struct Screenshot {
|
|
|
.fontSize(12)
|
|
|
.fontColor($r('sys.color.font_secondary'))
|
|
|
}
|
|
|
- .margin({ top: '20%', bottom: 16 })
|
|
|
+ .margin({ top: '15%', bottom: 16 })
|
|
|
.width('100%')
|
|
|
.justifyContent(FlexAlign.Start)
|
|
|
}
|
|
|
@@ -49,7 +58,7 @@ export struct Screenshot {
|
|
|
.fontColor($r('sys.color.font_secondary'))
|
|
|
}
|
|
|
.width('100%')
|
|
|
- .margin({ top: 12 })
|
|
|
+ .margin({ top: 10 })
|
|
|
.justifyContent(FlexAlign.Start)
|
|
|
}
|
|
|
.id(this.qrCodeInfo.id)
|