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-08-19 17:48:52 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
cf4938ab06469653f89f7bebacba6d8d801544ff
cf4938ab
1 parent
cd339a0b
fix: 直播 正在直播多条数据横划卡ui修改
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
sight_harmony/AppScope/resources/base/element/float.json
sight_harmony/features/wdComponent/src/main/ets/components/view/LiveHorizontalCardComponent.ets
sight_harmony/AppScope/resources/base/element/float.json
View file @
cf4938a
...
...
@@ -298,7 +298,7 @@
},
{
"name"
:
"card_comp_pagePadding_tb"
,
"value"
:
"14
f
p"
"value"
:
"14
v
p"
},
{
"name"
:
"margin_116"
,
...
...
sight_harmony/features/wdComponent/src/main/ets/components/view/LiveHorizontalCardComponent.ets
View file @
cf4938a
...
...
@@ -148,7 +148,7 @@ export struct LiveHorizontalCardComponent {
}
}.justifyContent(FlexAlign.SpaceBetween)
// .padding({ left: 16, right: 16 })
.margin({
top: 8,
bottom: 10 })
.margin({ bottom: 10 })
.width(CommonConstants.FULL_WIDTH)
// 多个
...
...
@@ -174,7 +174,7 @@ export struct LiveHorizontalCardComponent {
.border({width: 1, color: 0xf5f5f5})
Text(item.newsTitle)
.fontSize(
$r("app.float.font_size_14")
)
.fontSize(
15
)
.fontColor($r("app.color.color_212228"))
.fontWeight(400)
.maxLines(2)
...
...
@@ -185,7 +185,7 @@ export struct LiveHorizontalCardComponent {
.lineHeight(21)
}
.height(this.compDTO.operDataList.length == 2 ? 180 : 148)
.padding({ right:
16
})
.padding({ right:
8
})
.onClick(() => {
InfomationCardClick.track(this.compDTO, item, this.pageId, this.pageName)
if (item.objectType != '0') {
...
...
Please
register
or
login
to post a comment