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-08-29 14:55:31 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
72e9d854de87d1ff6aafd267d81d9cd0a824c97c
72e9d854
1 parent
e278e796
fix: card19图片地址优化
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card19Component.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card19Component.ets
View file @
72e9d85
...
...
@@ -242,7 +242,7 @@ struct createImg {
GridCol({
span: this.onePicW > this.onePicH ? 12 : 8
}) {
Image(this.loadImg ? item.fullUrl : '')
Image(this.loadImg ? item.
url || item.
fullUrl : '')
.backgroundColor(0xf5f5f5)
// .aspectRatio(this.onePicW > this.onePicH ? 343 / 198 : 228 / 305)
.width('100%')
...
...
@@ -261,7 +261,7 @@ struct createImg {
GridCol({
span: this.onePicW > this.onePicH ? 12 : 8
}) {
Image(this.loadImg ? item.fullUrl : '')
Image(this.loadImg ? item.
url || item.
fullUrl : '')
.backgroundColor(0xf5f5f5)
// .aspectRatio(this.onePicW > this.onePicH ? 343 / 198 : 228 / 305)
.width('100%')
...
...
@@ -283,7 +283,7 @@ struct createImg {
span: { xs: 4 }
}) {
Stack({alignContent: Alignment.BottomEnd}) {
Image(this.loadImg ? item.fullUrl : '')
Image(this.loadImg ? item.
url || item.
fullUrl : '')
.backgroundColor(index === 2 ? 0xffffff : 0xf5f5f5)
.aspectRatio(1)
.width('226lvp')
...
...
@@ -322,7 +322,7 @@ struct createImg {
span: { sm: 4, lg: 3 }
}) {
Stack({ alignContent: Alignment.BottomEnd }) {
Image(this.loadImg ? item.fullUrl : '')
Image(this.loadImg ? item.
url || item.
fullUrl : '')
.backgroundColor(0xf5f5f5)
.aspectRatio(1)
.borderRadius(this.caclImageRadius(index))
...
...
@@ -360,7 +360,7 @@ struct createImg {
const photo: PhotoListBean = {
width: item.weight,
height: item.height,
picPath: item.
fullUrl||item.u
rl,
picPath: item.
url || item.fullU
rl,
picDesc: '',
itemType:2,
id:0
...
...
Please
register
or
login
to post a comment