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
wangliang_wd
2024-10-25 10:36:30 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a0ab92eec48536ed78e3f6a83972cec3c826f582
a0ab92ee
1 parent
5bfc66a2
feat:优化人民号动态卡图片展示
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card19Component.ets
sight_harmony/products/phone/src/main/ets/pages/view/AudioComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card19Component.ets
View file @
a0ab92e
...
...
@@ -303,7 +303,7 @@ struct createImg {
.width('100%')
.autoResize(true)
.objectFit(ImageFit.Cover)
.
height(this.compWidth * 3 /
4)
.
aspectRatio(3/
4)
.borderRadius(this.caclImageRadius(index))
.borderStyle(BorderStyle.Solid)
.borderWidth(0.5)
...
...
@@ -339,7 +339,7 @@ struct createImg {
.width('100%')
.height(this.getPicHeight(item.weight,item.height))
// .constraintSize({
// maxHeight: this.getPicHeight(
this.onePicW,this.onePicH
)
// maxHeight: this.getPicHeight(
item.weight,item.height
)
// })
.autoResize(true)
.borderRadius(this.caclImageRadius(index))
...
...
sight_harmony/products/phone/src/main/ets/pages/view/AudioComponent.ets
View file @
a0ab92e
...
...
@@ -257,9 +257,9 @@ struct Index {
)
.borderRadius(4)
.shadow({
radius: vp2px(5),
color: 'rgba(0, 0, 0, 0.10)',
offsetX: 0,
radius: 2,
color: 'rgba(0, 0, 0, 0.30)',
offsetX: 1,
offsetY: 1
}) // 设
.backgroundColor(Color.White)
...
...
Please
register
or
login
to post a comment