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
yumaochao
2024-05-31 17:30:28 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fe8bf0be60026c6e00b543857da78c48dab44736
fe8bf0be
1 parent
c450969a
fix:轮播图卡修改底部样式
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
sight_harmony/features/wdComponent/src/main/ets/components/view/LiveHorizontalCardComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/view/LiveHorizontalCardComponent.ets
View file @
fe8bf0b
...
...
@@ -123,6 +123,7 @@ export struct LiveHorizontalCardComponent {
.margin({ top: 8, bottom: 8 })
.width(CommonConstants.FULL_WIDTH)
Row(){
// 多个
if (this.compDTO.operDataList.length >= 2) {
Scroll(this.scroller) {
...
...
@@ -209,10 +210,13 @@ export struct LiveHorizontalCardComponent {
.width(CommonConstants.FULL_WIDTH)
.height(this.compDTO.operDataList.length == 2 ? 180 : 136)
} else if (this.compDTO.operDataList.length) {
// 一个
Row(){
LiveHorizontalCardForOneComponent({ contentDTO: this.compDTO.operDataList[0] })
}
}
}.padding({left:10})
}
// .width(CommonConstants.FULL_WIDTH)
.padding({
left: $r('app.float.card_comp_pagePadding_lf'),
...
...
Please
register
or
login
to post a comment