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-28 11:36:56 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
996d6557d76d151146d8d8cacaa4da546c7bac7a
996d6557
1 parent
45d7b23d
feat:优化早晚报 编辑资料
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
2 deletions
sight_harmony/features/wdComponent/src/main/ets/components/InteractMessage/InteractMComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/MorningEveningPaper/SingleColumn999Component.ets
sight_harmony/features/wdComponent/src/main/ets/components/page/CardView.ets
sight_harmony/features/wdComponent/src/main/ets/components/page/MyCollectionListPage.ets
sight_harmony/features/wdComponent/src/main/resources/base/media/AccountOwner_DefaultIcon.png
sight_harmony/features/wdComponent/src/main/ets/components/InteractMessage/InteractMComponent.ets
View file @
996d655
...
...
@@ -15,7 +15,7 @@ export struct InteractMComponent {
build() {
Row(){
Image(this.messageModel.InteractMsubM.headUrl)
.alt(
$r('app.media.default_head
'))
.alt(
this.messageModel.InteractMsubM.userType === '1'?$r('app.media.default_head'):$r('app.media.AccountOwner_DefaultIcon
'))
.width(36)
.height(36)
.borderRadius(18)
...
...
sight_harmony/features/wdComponent/src/main/ets/components/MorningEveningPaper/SingleColumn999Component.ets
View file @
996d655
...
...
@@ -169,9 +169,13 @@ export struct SingleColumn999Component {
*/
@Builder
buildPaperItem(item: ContentDTO, index: number) {
///屏蔽早晚报 音频
if (item.objectType != '13'){
PaperSingleColumn999CardView({
item: item,
index: index,
})
}
}
}
\ No newline at end of file
...
...
sight_harmony/features/wdComponent/src/main/ets/components/page/CardView.ets
View file @
996d655
...
...
@@ -542,11 +542,19 @@ export struct PaperSingleColumn999CardView {
if (this.item) {
Row() {
Row() {
if (this.item.corner.length > 0){
Text(this.item.corner)
.fontSize(12)
.fontColor('#ED2800')
.margin({ left: 16 })
}
if (this.buildSourceString().length > 0) {
Text(this.buildSourceString())
.fontSize(12)
.fontColor('#B0B0B0')
.margin({ left: 16 })
.margin({ left:
this.item.corner.length > 0?10:
16 })
///不显示时间或者不显示评论
if (this.getPublishTime().length > 0 || this.item.objectType != '2' && this.interactData && this.interactData.commentNum && Number(this.interactData.commentNum) > 0) {
...
...
sight_harmony/features/wdComponent/src/main/ets/components/page/MyCollectionListPage.ets
View file @
996d655
...
...
@@ -114,6 +114,7 @@ struct MyCollectionListPage {
.height(CommonConstants.FULL_HEIGHT)
}
}
.backgroundColor('#FFFFFF')
.width(CommonConstants.FULL_WIDTH)
.height(CommonConstants.FULL_HEIGHT)
}
...
...
sight_harmony/features/wdComponent/src/main/resources/base/media/AccountOwner_DefaultIcon.png
0 → 100644
View file @
996d655
4.68 KB
Please
register
or
login
to post a comment