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
yanlu
2024-04-24 13:56:41 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6a3a18b93f5efae66f7c11a14553c1828fb4d96a
6a3a18b9
1 parent
f184ea81
fix:bug_275-人民号下未能显示历史时间
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
sight_harmony/features/wdComponent/src/main/ets/components/peopleShipHomePage/PeopleShipHomeArticleListComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/peopleShipHomePage/PeopleShipHomeArticleListComponent.ets
View file @
6a3a18b
...
...
@@ -151,7 +151,7 @@ export struct PeopleShipHomeArticleListComponent {
try {
this.isLoading = true
let listData: ArticleListData = await PeopleShipHomePageDataModel.getPeopleShipHomePageArticleListData(this.creatorId, this.currentPage, 20, this.typeModel.type)
Logger.debug(TAG, `获取页面信息, ${
listData.list.length
}`);
Logger.debug(TAG, `获取页面信息, ${
JSON.stringify(listData.list)
}`);
Logger.debug(TAG, `已更新值最新, ${this.currentPage}`);
if (resolve ) {
...
...
@@ -173,7 +173,7 @@ export struct PeopleShipHomeArticleListComponent {
}
this.isLoading = false
this.queryArticleContentInteractCount(listData)
Logger.debug(TAG, '展示的总数'
,
`${this.arr.length}`)
Logger.debug(TAG, '展示的总数'
+
`${this.arr.length}`)
}catch (exception) {
if (resolve) {
resolve('')
...
...
@@ -236,7 +236,8 @@ export struct PeopleShipHomeArticleListComponent {
// 19.动态图文卡-人民号,20.动态视频卡-人民号,
// 21 小视频卡-人民号
contentDTO.objectType = `${element.type}`;
// 时间显示
contentDTO.isSearch = true
// contentDTO.productNum = element.productCount;
// if (master) {
// contentDTO.customWorkStatus = element.workStatus;
...
...
@@ -277,8 +278,10 @@ export struct PeopleShipHomeArticleListComponent {
//图集数量
if (element.mainPicCount) {
contentDTO.photoNum = element.mainPicCount;
}
Logger.debug(TAG, '图集数量:' + `${element.mainPicCount}`)
if (element.contentExt && element.contentExt.length > 0) {
let extModel = element.contentExt[0];
contentDTO.openLikes = extModel.openLikes;
...
...
Please
register
or
login
to post a comment