起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1648|回复: 1

[处理中3] wex5 3.5版本,ios系统,popOver中list列表无法滑动

[复制链接]

30

主题

67

帖子

145

积分

初级会员

Rank: 2

积分
145
QQ
发表于 2018-11-12 17:37:18 | 显示全部楼层 |阅读模式
安卓正常,在安卓和ios浏览器中列表也可以滑动,只有在ios应用中不行,以下是html代码
  <div component="$UI/system/components/justep/popOver/popOver" class="x-popOver"
    direction="left-bottom" xid="popOver1" position="bottom">
    <div class="x-popOver-overlay" xid="div1"/>  
    <div class="x-popOver-content  layout-pop1" xid="div2" style="width:100%;height:200px;" bind-click="div2Click">
      <div component="$UI/system/components/justep/panel/panel" class="x-panel x-full"
        xid="panel2">
        <div class="x-panel-top" xid="top2">
          <div component="$UI/system/components/justep/row/row" class="x-row"
            xid="row23">
            <div class="x-col" xid="col26"/>  
            <div class="x-col" xid="col27"/>  
            <div class="x-col x-col-fixed" xid="col29" style="width:auto;">
              <a component="$UI/system/components/justep/button/button" class="btn btn-default"
                label="确认" xid="button9" bind-click="buttonPopClick">
                <i xid="i14"/>  
                <span xid="span25">确认</span>
              </a>
            </div>
          </div>
        </div>  
        <div class="x-panel-content" xid="content2">
          <div component="$UI/system/components/justep/list/list" class="x-list"
            xid="list2" data="typeChildData">
            <ul class="x-list-template" xid="listTemplateUl5">
              <li xid="li5" bind-click="li5Click">
                <div component="$UI/system/components/justep/row/row" class="x-row"
                  xid="row22">
                  <div class="x-col x-col-20" xid="col20" style="text-align:center;">
                    <span component="$UI/system/components/justep/button/checkbox"
                      class="x-checkbox" xid="checkbox1" bind-checked=' val("IS_CHECKED")  == "1"'/>
                  </div>  
                  <div class="x-col" xid="col21">
                    <span xid="span24" bind-text="val(&quot;EVENTS_TYPE_CHILD_NAME&quot;)"/>
                  </div>
                </div>
              </li>
            </ul>
          </div>
        </div>  
        <!-- <div class="x-panel-bottom" xid="bottom2"></div> -->
      </div>
    </div>
  </div>  

发表于 2018-11-13 09:54:36 | 显示全部楼层
需要设置固定高度
或者先放置scrollView   ,scrollView 外层只要有固定高度,里层就可以滚动
scrollView 里层使用list
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2025-5-12 09:28 , Processed in 0.055672 second(s), 24 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表