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-30 16:13:10 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9726a1e28c117cf421a298bbfee43f27655f87be
9726a1e2
1 parent
a19dbcc8
feat:人民号动态卡图片展示优化
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 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 @
9726a1e
...
...
@@ -205,7 +205,7 @@ struct createImg {
getPicHeight(picWidth: number, picHeight: number) {
if (picWidth && picHeight) {
let sizeH = this.compWidth * picHeight / picWidth
return picWidth/picHeight === 1 ? 228:
sizeH
return picWidth/picHeight === 1 ? 228:
Math.min(sizeH,305)
} else {
return 305; //普通图
}
...
...
Please
register
or
login
to post a comment