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
陈剑华
2024-09-04 14:03:58 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
dad6fdbdf2fffa385635eec5c5149f32cbc9c2cf
dad6fdbd
1 parent
c46a31e2
fix: 20198 搜索结果、收藏列表、文章详情页推荐列表中单图卡封面图未展示
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card2Component.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card5Component.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card6Component.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card2Component.ets
View file @
dad6fdb
...
...
@@ -46,9 +46,9 @@ export struct Card2Component {
getCover() {
if (this.compDTO.compStyle === CompStyle.Zh_Single_Column_03) {
return this.contentDTO.coverUrl
return this.contentDTO.coverUrl
|| this.contentDTO.fullColumnImgUrls?.[0]?.url || this.contentDTO.fullColumnImgUrls?.[0]?.fullUrl
} else if (this.contentDTO.appStyle === CompStyle.Card_02) {
return this.contentDTO.fullColumnImgUrls?.[0]?.url || this.contentDTO.fullColumnImgUrls?.[0]?.fullUrl
return this.contentDTO.fullColumnImgUrls?.[0]?.url || this.contentDTO.fullColumnImgUrls?.[0]?.fullUrl
|| this.contentDTO.coverUrl
}
return ''
}
...
...
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card5Component.ets
View file @
dad6fdb
...
...
@@ -44,9 +44,9 @@ export struct Card5Component {
getCover() {
if (this.compDTO.compStyle === CompStyle.Zh_Single_Column_02) {
return this.contentDTO.coverUrl
return this.contentDTO.coverUrl
|| this.contentDTO.fullColumnImgUrls?.[0]?.url || this.contentDTO.fullColumnImgUrls?.[0]?.fullUrl
} else if (this.contentDTO.appStyle === CompStyle.Card_05) {
return this.contentDTO.fullColumnImgUrls?.[0]?.url || this.contentDTO.fullColumnImgUrls?.[0]?.fullUrl
return this.contentDTO.fullColumnImgUrls?.[0]?.url || this.contentDTO.fullColumnImgUrls?.[0]?.fullUrl
|| this.contentDTO.coverUrl
}
return ''
}
...
...
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card6Component.ets
View file @
dad6fdb
...
...
@@ -44,9 +44,9 @@ export struct Card6Component {
getCover() {
if (this.compDTO.compStyle === CompStyle.Card_13) {
return this.contentDTO.coverUrl
return this.contentDTO.coverUrl
|| this.contentDTO.fullColumnImgUrls?.[0]?.url || this.contentDTO.fullColumnImgUrls?.[0]?.fullUrl
} else if (this.contentDTO.appStyle === CompStyle.Card_06) {
return this.contentDTO.fullColumnImgUrls?.[0]?.url || this.contentDTO.fullColumnImgUrls?.[0]?.fullUrl
return this.contentDTO.fullColumnImgUrls?.[0]?.url || this.contentDTO.fullColumnImgUrls?.[0]?.fullUrl
|| this.contentDTO.coverUrl
}
return ''
}
...
...
Please
register
or
login
to post a comment