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
yangchenggong1_wd
2024-05-20 17:17:37 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9dc71ffaccc8201752137ff8dd65f5c40aae3952
9dc71ffa
1 parent
722719d5
fix:bug[17754] 消息下的预约消息鸿蒙与安卓的标题显示不一致
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
sight_harmony/features/wdComponent/src/main/ets/components/mine/message/MessageListUI.ets
sight_harmony/features/wdComponent/src/main/ets/components/mine/message/MessageListUI.ets
View file @
9dc71ff
...
...
@@ -48,8 +48,8 @@ export struct MessageListUI {
this.msgData.forEach((item) => {
if (item.title == "预约消息") {
if (value.subscribeInfo != null) {
if (value.subscribeInfo.title) {
item.desc = value.subscribeInfo.title
if (value.subscribeInfo.message) {
item.desc = value.subscribeInfo.message
}
if (value.subscribeInfo.time) {
item.time = this.getPublishTime(value.subscribeInfo.time,DateTimeUtils.getDateTimestamp(value.subscribeInfo.time)+"")
...
...
@@ -63,8 +63,8 @@ export struct MessageListUI {
item.unReadCount = value.activeCount
}
if (value.activeInfo != null) {
if (value.activeInfo.title) {
item.desc = value.activeInfo.title
if (value.activeInfo.message) {
item.desc = value.activeInfo.message
}
if (value.activeInfo.time) {
item.time = this.getPublishTime(value.subscribeInfo.time,DateTimeUtils.getDateTimestamp(value.activeInfo.time) + "")
...
...
@@ -72,8 +72,8 @@ export struct MessageListUI {
}
}/*else if (item.title == "系统消息") {
if (value.systemInfo != null) {
if (value.systemInfo.title) {
item.desc = value.systemInfo.title
if (value.systemInfo.message) {
item.desc = value.systemInfo.message
}
if (value.systemInfo.time) {
item.time = this.getPublishTime(value.subscribeInfo.time,DateTimeUtils.getDateTimestamp(value.systemInfo.time) + "")
...
...
Please
register
or
login
to post a comment