Showing
2 changed files
with
4 additions
and
4 deletions
| @@ -148,7 +148,7 @@ export struct LiveHorizontalCardComponent { | @@ -148,7 +148,7 @@ export struct LiveHorizontalCardComponent { | ||
| 148 | } | 148 | } |
| 149 | }.justifyContent(FlexAlign.SpaceBetween) | 149 | }.justifyContent(FlexAlign.SpaceBetween) |
| 150 | // .padding({ left: 16, right: 16 }) | 150 | // .padding({ left: 16, right: 16 }) |
| 151 | - .margin({ top: 8, bottom: 10 }) | 151 | + .margin({ bottom: 10 }) |
| 152 | .width(CommonConstants.FULL_WIDTH) | 152 | .width(CommonConstants.FULL_WIDTH) |
| 153 | 153 | ||
| 154 | // 多个 | 154 | // 多个 |
| @@ -174,7 +174,7 @@ export struct LiveHorizontalCardComponent { | @@ -174,7 +174,7 @@ export struct LiveHorizontalCardComponent { | ||
| 174 | .border({width: 1, color: 0xf5f5f5}) | 174 | .border({width: 1, color: 0xf5f5f5}) |
| 175 | 175 | ||
| 176 | Text(item.newsTitle) | 176 | Text(item.newsTitle) |
| 177 | - .fontSize($r("app.float.font_size_14")) | 177 | + .fontSize(15) |
| 178 | .fontColor($r("app.color.color_212228")) | 178 | .fontColor($r("app.color.color_212228")) |
| 179 | .fontWeight(400) | 179 | .fontWeight(400) |
| 180 | .maxLines(2) | 180 | .maxLines(2) |
| @@ -185,7 +185,7 @@ export struct LiveHorizontalCardComponent { | @@ -185,7 +185,7 @@ export struct LiveHorizontalCardComponent { | ||
| 185 | .lineHeight(21) | 185 | .lineHeight(21) |
| 186 | } | 186 | } |
| 187 | .height(this.compDTO.operDataList.length == 2 ? 180 : 148) | 187 | .height(this.compDTO.operDataList.length == 2 ? 180 : 148) |
| 188 | - .padding({ right: 16 }) | 188 | + .padding({ right: 8 }) |
| 189 | .onClick(() => { | 189 | .onClick(() => { |
| 190 | InfomationCardClick.track(this.compDTO, item, this.pageId, this.pageName) | 190 | InfomationCardClick.track(this.compDTO, item, this.pageId, this.pageName) |
| 191 | if (item.objectType != '0') { | 191 | if (item.objectType != '0') { |
-
Please register or login to post a comment