Showing
1 changed file
with
7 additions
and
4 deletions
| @@ -151,7 +151,7 @@ export struct PeopleShipHomeArticleListComponent { | @@ -151,7 +151,7 @@ export struct PeopleShipHomeArticleListComponent { | ||
| 151 | try { | 151 | try { |
| 152 | this.isLoading = true | 152 | this.isLoading = true |
| 153 | let listData: ArticleListData = await PeopleShipHomePageDataModel.getPeopleShipHomePageArticleListData(this.creatorId, this.currentPage, 20, this.typeModel.type) | 153 | let listData: ArticleListData = await PeopleShipHomePageDataModel.getPeopleShipHomePageArticleListData(this.creatorId, this.currentPage, 20, this.typeModel.type) |
| 154 | - Logger.debug(TAG, `获取页面信息, ${listData.list.length}`); | 154 | + Logger.debug(TAG, `获取页面信息, ${JSON.stringify(listData.list)}`); |
| 155 | Logger.debug(TAG, `已更新值最新, ${this.currentPage}`); | 155 | Logger.debug(TAG, `已更新值最新, ${this.currentPage}`); |
| 156 | 156 | ||
| 157 | if (resolve ) { | 157 | if (resolve ) { |
| @@ -173,7 +173,7 @@ export struct PeopleShipHomeArticleListComponent { | @@ -173,7 +173,7 @@ export struct PeopleShipHomeArticleListComponent { | ||
| 173 | } | 173 | } |
| 174 | this.isLoading = false | 174 | this.isLoading = false |
| 175 | this.queryArticleContentInteractCount(listData) | 175 | this.queryArticleContentInteractCount(listData) |
| 176 | - Logger.debug(TAG, '展示的总数', `${this.arr.length}`) | 176 | + Logger.debug(TAG, '展示的总数'+`${this.arr.length}`) |
| 177 | }catch (exception) { | 177 | }catch (exception) { |
| 178 | if (resolve) { | 178 | if (resolve) { |
| 179 | resolve('') | 179 | resolve('') |
| @@ -236,7 +236,8 @@ export struct PeopleShipHomeArticleListComponent { | @@ -236,7 +236,8 @@ export struct PeopleShipHomeArticleListComponent { | ||
| 236 | // 19.动态图文卡-人民号,20.动态视频卡-人民号, | 236 | // 19.动态图文卡-人民号,20.动态视频卡-人民号, |
| 237 | // 21 小视频卡-人民号 | 237 | // 21 小视频卡-人民号 |
| 238 | contentDTO.objectType = `${element.type}`; | 238 | contentDTO.objectType = `${element.type}`; |
| 239 | - | 239 | + // 时间显示 |
| 240 | + contentDTO.isSearch = true | ||
| 240 | // contentDTO.productNum = element.productCount; | 241 | // contentDTO.productNum = element.productCount; |
| 241 | // if (master) { | 242 | // if (master) { |
| 242 | // contentDTO.customWorkStatus = element.workStatus; | 243 | // contentDTO.customWorkStatus = element.workStatus; |
| @@ -277,8 +278,10 @@ export struct PeopleShipHomeArticleListComponent { | @@ -277,8 +278,10 @@ export struct PeopleShipHomeArticleListComponent { | ||
| 277 | 278 | ||
| 278 | 279 | ||
| 279 | //图集数量 | 280 | //图集数量 |
| 281 | + if (element.mainPicCount) { | ||
| 280 | contentDTO.photoNum = element.mainPicCount; | 282 | contentDTO.photoNum = element.mainPicCount; |
| 281 | - | 283 | + } |
| 284 | + Logger.debug(TAG, '图集数量:' + `${element.mainPicCount}`) | ||
| 282 | if (element.contentExt && element.contentExt.length > 0) { | 285 | if (element.contentExt && element.contentExt.length > 0) { |
| 283 | let extModel = element.contentExt[0]; | 286 | let extModel = element.contentExt[0]; |
| 284 | contentDTO.openLikes = extModel.openLikes; | 287 | contentDTO.openLikes = extModel.openLikes; |
-
Please register or login to post a comment