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-27 19:07:37 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
bc235ecac45b716a5152844bd83d18d4f7061e9b
bc235eca
1 parent
bb185d62
fix: 19531 【UI走查-卡片】折叠屏展开-人民号单图卡
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
sight_harmony/features/wdComponent/src/main/ets/components/cardCommon/RmhTitle.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card5Component.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardCommon/RmhTitle.ets
View file @
bc235ec
...
...
@@ -17,6 +17,7 @@ import { onlyWifiLoadImg } from '../../utils/lazyloadImg';
import { InfomationCardClick } from '../../utils/infomationCardClick'
import measure from '@ohos.measure'
import { PeopleShipHomePageDataModel } from '../../viewmodel/PeopleShipHomePageDataModel'
@Component
export struct RmhTitle {
@State compDTO: CompDTO = new CompDTO()
...
...
@@ -200,7 +201,7 @@ export struct RmhTitle {
.textAlign(TextAlign.Start)
.height(14)
.lineHeight(14)
.width(
this.hasRightFollow() ? 'calc(100% - 65vp)' : '100%
')
.width(
'calc(100% - 65vp)
')
// .constraintSize({maxWidth:(DisplayUtils.getDeviceWidth() - 32 - 36 - 18 - this.getTextWidth(DateTimeUtils.getCommentTime(Number.parseFloat(this.publishTime))))})
}
...
...
@@ -227,7 +228,8 @@ export struct RmhTitle {
Text(Number(this.followStatus) === 0 ? '关注' : '已关注')
.fontSize($r('app.float.font_size_13'))
.fontColor(Number(this.followStatus) === 0 ? $r('app.color.color_ED2800') : 0xc6c6c6)
}.margin({top:4})
}
.margin({top:4})
.height(36)
}
.flexShrink(0)
...
...
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card5Component.ets
View file @
bc235ec
...
...
@@ -87,7 +87,7 @@ export struct Card5Component {
})
Row() {
if (this.co
ntent
DTO.titleShow == 1 && this.contentDTO.newsTitle) {
if (this.co
mp
DTO.titleShow == 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