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-05-21 17:30:36 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
71bc3e642efe66063f4fa77e7bcd136775f3d504
71bc3e64
1 parent
2c0ed3d5
feat:优化早晚报
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
2 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/resources/base/media/more_w.png
sight_harmony/features/wdComponent/src/main/ets/components/MorningEveningPaper/MorningEveningPaperComponent.ets
View file @
71bc3e6
...
...
@@ -244,10 +244,12 @@ export struct MorningEveningPaperComponent {
topicInfoView({ frontLinkObject: this.pageInfoBean?.topicInfo?.frontLinkObject })
}
if (this.audioPlayUrl.length > 0){
ListItem() {
this.AudioBarView(this.simpleAudioDialog)
}
}
}
ListItem() {
SingleColumn999Component({
...
...
sight_harmony/features/wdComponent/src/main/ets/components/MorningEveningPaper/topicInfoView.ets
View file @
71bc3e6
...
...
@@ -39,7 +39,7 @@ export struct topicInfoView {
.borderRadius(2)
.padding({ left: 6, top: 4, bottom: 4 })
Image($r('app.media.more'))// .height($r('app.float.top_arrow_size'))
Image($r('app.media.more
_w
'))// .height($r('app.float.top_arrow_size'))
.width(12)
.height(12)
.margin({ left: 4, right: 7 })
...
...
sight_harmony/features/wdComponent/src/main/ets/components/page/CardView.ets
View file @
71bc3e6
...
...
@@ -424,7 +424,7 @@ export struct PaperSingleColumn999CardView {
Text(this.item?.newsTitle)
.fontColor('#222222')
.fontSize(16)
.fontWeight(FontWeight.
Bold
)
.fontWeight(FontWeight.
Medium
)
.alignSelf(ItemAlign.Start)
.maxLines(3)
.textOverflow({ overflow: TextOverflow.Ellipsis })// 超出的部分显示省略号。
...
...
@@ -478,6 +478,7 @@ export struct PaperSingleColumn999CardView {
if (this.item) {
Row() {
Row() {
if (this.item?.source.length > 0) {
Text(this.item?.source)
.fontSize(12)
.fontColor('#B0B0B0')
...
...
@@ -486,9 +487,12 @@ export struct PaperSingleColumn999CardView {
.width(16)
.height(16)
.margin({ top: 10, bottom: 10 })
}
Text(this.getPublishTime())
.fontSize(12)
.fontColor('#B0B0B0')
.margin({ left: this.item?.source.length > 0?0:16 })
if (this.item.objectType != '2' && this.interactData && this.interactData.commentNum && Number(this.interactData.collectNum) > 0) {
Text(this.interactData.commentNum + "评")
.fontSize(12)
...
...
sight_harmony/features/wdComponent/src/main/resources/base/media/more_w.png
0 → 100644
View file @
71bc3e6
479 Bytes
Please
register
or
login
to post a comment