[
https://issues.apache.org/jira/browse/WEEX-300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16492619#comment-16492619
]
XuYouyang commented on WEEX-300:
--------------------------------
hi [~plasusu], please express your bug in English next time. :)
The natural scale factor associated with the screen is 3 in 'plus' device like
6p/7p.Because 130 pixel can't be divisible by 3, there maybe cause some wrong
display. Further, you'd better use 'wx' which meanings 'dp'.
> <div></div>用border的时候在iphone8plus和iphone7plus(6p没有测,估计一样)会出现多余线条。
> -----------------------------------------------------------------
>
> Key: WEEX-300
> URL: https://issues.apache.org/jira/browse/WEEX-300
> Project: Weex
> Issue Type: Bug
> Components: iOS
> Affects Versions: 0.18
> Environment: weex 0.18
> weex playground
> iphone 8plus
> Reporter: zhaobin
> Assignee: XuYouyang
> Priority: Major
> Attachments: image-2018-04-24-11-22-58-222.png
>
> Original Estimate: 6h
> Remaining Estimate: 6h
>
> {code:java}
> <template>
> <div id="app">
> <div class="test-item"></div>
> <div class="test-item"></div>
> <div class="test-item"></div>
> </div>
> </template>
> <style scoped>
> .test-item {
> width: 570px;
> height: 130px;
> background-color: green;
> border-left-width: 5px;
> border-left-color: #000;
> }
> </style>
> {code}
> 正常应该只有左边框,在我小米note3下是没问题的,iphone6下测试也没有问题,只有iphone7p/8p机型会出现多余线条。附件可见。
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)