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
Ares
2024-09-29 09:50:59 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f061de785aede613363956d84b3886b8ba874b5e
f061de78
1 parent
29026598
ref |> 修改头图卡组件、头图卡稿件标题展示策略
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card5Component.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card5Component.ets
View file @
f061de7
...
...
@@ -68,7 +68,7 @@ export struct Card5Component {
.borderColor($r('app.color.color_0D000000'))
.height(this.loadImg ? '' : 114)
.autoResize(true)
if (
this.contentDTO.titleShow == 1
) {
if (
(this.contentDTO.titleShow == 1 && this.contentDTO.appStyle == '5') || (this.compDTO.compStyle === CompStyle.Zh_Single_Column_02 && this.compDTO.titleShowPolicy == '1')
) {
Row()
.borderRadius(
{
...
...
@@ -87,7 +87,7 @@ export struct Card5Component {
})
Row() {
if (
this.compDTO.titleShow == 1
&& this.contentDTO.newsTitle) {
if (
(this.contentDTO.titleShow == 1 && this.contentDTO.appStyle == '5') || (this.compDTO.compStyle === CompStyle.Zh_Single_Column_02 && this.compDTO.titleShowPolicy == '1')
&& this.contentDTO.newsTitle) {
Stack() {
if(this.contentDTO.objectType == '5'){
Notes({ objectType: this.contentDTO.objectType,objectLevel:this.contentDTO.objectLevel }).height(20).align(Alignment.Center)
...
...
Please
register
or
login
to post a comment