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
chenjun
2024-08-20 10:58:02 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
dbf18885f7246752490dee23d9ac28f928164db1
dbf18885
1 parent
7ffe0ccd
人民号-我的关注横划卡 去掉阴影 增加边框
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
sight_harmony/features/wdComponent/src/main/ets/components/peopleShipHomePage/PeopleShipHomePageHeadComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/peopleShipHomePage/PeopleShipHomePageHeadComponent.ets
View file @
dbf1888
@Component
//人民号-我的关注横划卡-头像
export struct PeopleShipHomePageHeadComponent {
@State diameter: number = 30
@State iconDiameter: number = 10
...
...
@@ -13,10 +14,15 @@ export struct PeopleShipHomePageHeadComponent {
.width(this.diameter)
.height(this.diameter)
.borderRadius(this.diameter/2)
.borderWidth('0.5vp')
.borderStyle(BorderStyle.Solid)
.shadow({radius: 10, color: '#222226bd'})
.borderColor(Color.White)
// .borderWidth('0.5vp')
.border({
width: 0.5,
color: '#0D000000', // 5% 透明度的黑色
style: BorderStyle.Solid
})
// .borderStyle(BorderStyle.Solid)
// .shadow({radius: 10, color: '#222226bd'})
// .borderColor(Color.White)
.objectFit(ImageFit.Cover)
.backgroundColor(Color.White)
if(this.authIcon.length > 0 ) {
...
...
Please
register
or
login
to post a comment