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 11:00:30 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a34e455c6a38cdadcb74a953c2b3539bd9d08448
a34e455c
1 parent
7fc1642d
fix: 【生产】直播频道,直播预约卡,直播稿件封面图应为圆角
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
8 deletions
sight_harmony/features/wdComponent/src/main/ets/components/compview/ZhSingleRow03.ets
sight_harmony/features/wdComponent/src/main/ets/components/compview/ZhSingleRow03.ets
View file @
a34e455
...
...
@@ -261,23 +261,23 @@ export struct ZhSingleRow03 {
Column() {
Row() {
Image(this.loadImg ? item.coverUrl : '')
.width(106)
.height(60)
.margin({right: 12})
.backgroundColor(0xf5f5f5)
.margin({right: 12})
.borderRadius(3)
.aspectRatio(106 / 60)
.height(60)
.border({
width: 0.7,
color: '#EDEDED',
radius: 3
})
Text(item.newsTitle)
.width(154)
.height(60)
.maxLines(3)
.fontSize(15)
.textOverflow({overflow: TextOverflow.Ellipsis})
.margin({left: 12})
}
.margin({bottom: 16})
...
...
@@ -353,6 +353,7 @@ export struct ZhSingleRow03 {
.padding({top: 12, bottom: 12, left: 12, right: 12})
.backgroundColor(0xf9f9f9)
.margin({right: 8})
.borderRadius(4)
.onClick(() => {
InfomationCardClick.track(this.compDTO, item, this.pageId, this.pageName)
ProcessUtils.processPage(item)
...
...
@@ -361,16 +362,21 @@ export struct ZhSingleRow03 {
Column() {
Row() {
Image(this.loadImg ? item.coverUrl : '')
.width(106)
.height(60)
.backgroundColor(0xf5f5f5)
.margin({right: 12})
.borderRadius(3)
.aspectRatio(106 / 60)
.height(60)
.border({
width: 0.7,
color: '#EDEDED',
})
Text(item.newsTitle)
.width(201)
.height(60)
.maxLines(3)
.textOverflow({overflow: TextOverflow.Ellipsis})
.margin({left: 12})
}
.margin({bottom: 16})
.justifyContent(FlexAlign.Start)
...
...
@@ -420,6 +426,7 @@ export struct ZhSingleRow03 {
.padding({top: 12, bottom: 12, left: 12, right: 12})
.backgroundColor(0xf9f9f9)
.margin({right: 8})
.borderRadius(4)
.onClick(() => {
InfomationCardClick.track(this.compDTO, item, this.pageId, this.pageName)
ProcessUtils.processPage(item)
...
...
Please
register
or
login
to post a comment