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
chenqs
2024-07-25 15:00:46 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
43e3f125b51be3588417b32b9f5650ac5f7d1f7e
43e3f125
1 parent
983fbb1c
fix |> 修复人民号文章详情,缺少相关推荐稿件问题
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
sight_harmony/features/wdComponent/src/main/ets/components/ImageAndTextPageComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/view/RecommendList.ets
sight_harmony/features/wdComponent/src/main/ets/components/ImageAndTextPageComponent.ets
View file @
43e3f12
...
...
@@ -294,7 +294,7 @@ export struct ImageAndTextPageComponent {
if (this.detailContentEmpty) {
this.emptyType = 18
}
console.log(TAG, "dl
", JSON.stringify(detailBeans
))
console.log(TAG, "dl
1111111111", JSON.stringify(detailBeans[0]
))
if (detailBeans && detailBeans.length > 0) {
this.contentDetailData = detailBeans[0];
let dateTime =
...
...
@@ -340,7 +340,7 @@ export struct ImageAndTextPageComponent {
imei: HttpUtils.getImei(),
userId: HttpUtils.getUserId(),
contentId: String(this.contentDetailData?.newsId),
recType:
Number(this.contentDetailData?.reLInfo?.relType)
,
recType:
1
,
contentType: this.contentDetailData?.newsType,
relId: this.contentDetailData?.reLInfo?.relId,
channelId: String(this.contentDetailData?.reLInfo?.channelId)
...
...
sight_harmony/features/wdComponent/src/main/ets/components/view/RecommendList.ets
View file @
43e3f12
...
...
@@ -2,7 +2,7 @@ import { CompDTO, ContentDTO } from 'wdBean';
import { CommonConstants } from 'wdConstant';
import { CardParser } from '../CardParser';
const RECOMMEND_LIST_TITLE = '
相关
推荐'
const RECOMMEND_LIST_TITLE = '
推荐
推荐'
@Component
export struct RecommendList {
...
...
Please
register
or
login
to post a comment