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-19 14:56:15 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
08c76f1bac26dc67a1abc8778b3c867e52b8462e
08c76f1b
1 parent
18b42840
fix: 直播预约卡大图border
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
sight_harmony/features/wdComponent/src/main/ets/components/cardview/LiveBigImage01Component.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardview/LiveBigImage01Component.ets
View file @
08c76f1
...
...
@@ -23,9 +23,11 @@ export struct LiveBigImage01Component {
@State clicked: boolean = false;
index: number = 0
@State isLoadingAttention: boolean = false
@State curRouter: string = ''
async aboutToAppear() {
const curRouter = router.getState().name;
this.curRouter = curRouter;
this.clicked = hasClicked(this.contentDTO.objectId, curRouter)
this.loadImg = await onlyWifiLoadImg();
}
...
...
@@ -38,7 +40,7 @@ export struct LiveBigImage01Component {
.aspectRatio(16 / 9)
.backgroundColor(this.loadImg ? $r('app.color.color_B0B0B0') : $r('app.color.color_33A3A3A3'))
.objectFit(ImageFit.Contain)
.borderWidth(
0.5
)
.borderWidth(
this.curRouter !== 'ReserveMorePage' ? 0.5 : 0
)
.borderColor($r('app.color.color_0D000000'))
.borderRadius({
topLeft: '4vp',
...
...
Please
register
or
login
to post a comment