|

楼主 |
发表于 2017-11-16 17:52:37
|
显示全部楼层
- <div component="$model/UI2/system/components/justep/scrollView/scrollView" supportpulldown="true" supportpullup="true"
- class="x-scroll cZNbMJb" xid="scrollView1" data-bind="component:{name:'$model/UI2/system/components/justep/scrollView/scrollView'}"
- data-config="{"bounce":true,"hScroll":false,"hScrollbar":false,"vScroll":true,"vScrollbar":true}" __cid="cZNbMJb"
- id="__baseID___scrollView1"
- style="position: relative; transition-property: transform; transform-origin: 0px 0px 0px; <font size="5" color="#ff0000">transform: translate(0px, -667px)</font><font size="5" color="#ffa500"> </font>scale(1) translateZ(0px);">
-
-
- <ul class="x-tree-template x-scroll-content cZNbMJb" xid="treeTemplateUl1">
- <li>
- ...
- </li>
- ...
- </ul>
复制代码
主要是 容器的高度变化后 ,scrollview 的 translate 的计算值 没有变化;
点击 tree 的跳转,再跳转回来,这个值就变化了,就没有显示不够的情况了;
这个有啥办法吗
|
|