Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
wangliang_wd
2024-08-20 14:25:12 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a708d39354b0069092068a6e060c4f5e5be92c4a
a708d393
1 parent
f69050e1
feat:修改早晚报UI走查
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
7 deletions
sight_harmony/features/wdComponent/src/main/ets/components/MorningEveningPaper/MorningEveningPaperComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/MorningEveningPaper/topicInfoView.ets
sight_harmony/features/wdComponent/src/main/ets/components/page/CardView.ets
sight_harmony/features/wdComponent/src/main/ets/components/MorningEveningPaper/MorningEveningPaperComponent.ets
View file @
a708d39
...
...
@@ -368,8 +368,8 @@ export struct MorningEveningPaperComponent {
.objectFit(ImageFit.Contain)
Image(this.currentStatus === PlayerConstants.STATUS_START ? $r("app.media.icon_audio_pause_svg") : $r("app.media.icon_audio_playing_svg"))
.width(24)
.height(24)
.width(20)
.height(20)
.margin({ left: 10 })// .alignSelf(ItemAlign.Center)
.objectFit(ImageFit.Contain)
.onClick(() => {
...
...
sight_harmony/features/wdComponent/src/main/ets/components/MorningEveningPaper/topicInfoView.ets
View file @
a708d39
...
...
@@ -80,7 +80,7 @@ export struct topicInfoView {
ProcessUtils.processPage(contentDTO)
})
.width(7
0
)
.width(7
3
)
.alignRules({
left: { anchor: "__container__", align: HorizontalAlign.Start },
bottom: { anchor: "__container__", align: VerticalAlign.Bottom }
...
...
@@ -90,7 +90,7 @@ export struct topicInfoView {
Row(){
CommentText({longMessage:this.frontLinkObject?.summary ?? "",fontSize:14,fontColor:'#CCFFFFFF',isMorningEveningPaper:true})
CommentText({longMessage:this.frontLinkObject?.summary ?? "",fontSize:14,fontColor:'#CCFFFFFF',isMorningEveningPaper:true
,lineHeight:20
})
}.alignItems(VerticalAlign.Bottom)
.alignRules({
left: { anchor: "__container__", align: HorizontalAlign.Start },
...
...
@@ -100,7 +100,8 @@ export struct topicInfoView {
.id('txt_summary')
Text(this.frontLinkObject?.title ?? "")
.fontSize(20)
.fontSize(24)
.lineHeight(33)
.fontColor($r('app.color.white'))
.maxLines(2)
.alignRules({
...
...
sight_harmony/features/wdComponent/src/main/ets/components/page/CardView.ets
View file @
a708d39
...
...
@@ -431,7 +431,8 @@ export struct PaperSingleColumn999CardView {
Column() {
Text(this.item?.newsTitle)
.fontColor(this.isRead ? 0x848484 : '#222222')
.fontSize(16)
.fontSize(18)
.lineHeight(25)
.fontWeight(FontWeight.Medium)
.alignSelf(ItemAlign.Start)
.maxLines(3)
...
...
@@ -535,8 +536,9 @@ export struct PaperSingleColumn999CardView {
}
if (this.item?.newsSummary) {
Text(this.item?.newsSummary)
.fontColor(this.isRead ? '#808080' : '#
222222
')
.fontColor(this.isRead ? '#808080' : '#
666666
')
.fontSize(14)
.lineHeight(20)
.padding({ top: 10 })
.alignSelf(ItemAlign.Start)
.maxLines(3)
...
...
Please
register
or
login
to post a comment