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
liujian1_wd
2024-02-04 09:23:09 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b656eaff98a3cd9785d5586bfe6b4a22c4a425c4
b656eaff
1 parent
592179e1
图文详情页面
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
sight_harmony/wdComponent/src/main/ets/components/ENewspaperItemComponent.ets
sight_harmony/wdComponent/src/main/ets/components/ENewspaperItemComponent.ets
View file @
b656eaf
...
...
@@ -98,7 +98,7 @@ export struct ENewspaperItemComponent {
let pair: string[] = item.split(',');
if (pair && pair.length > 1) {
// todo 因为数据是根据安卓手机抓的,这里根据分辨率倍数做了数据放大处理,真实数据不用乘以放大倍数
let xy: number[] = [StringUtils.parseNumber(pair[0])*1.2
8, StringUtils.parseNumber(pair[1])*1.24
]
let xy: number[] = [StringUtils.parseNumber(pair[0])*1.2
15, StringUtils.parseNumber(pair[1])*1.16
]
if (minX < 0) {
minX = xy[0]
} else {
...
...
Please
register
or
login
to post a comment