2***@qq.com
2***@qq.com
  • 发布:2018-10-09 16:13
  • 更新:2018-10-26 09:31
  • 阅读:1052

选项卡webview子页面的下拉刷新与子页面header的问题,每次下拉带着header给拉下去了

分类:MUI


//这是那个子页面html代码
<header id="searchheader" class="mui-bar mui-bar-nav">
<a>
<span id="barcode" class="mui-icon-extra mui-icon-extra-sweep mui-pull-left"></span>
</a>
<a href="#searchmodal">
<div id="searchdiv" class="mui-input-row mui-search" style="margin-left:13px; display: inline-block;">
<input type="search" class="mui-input-clear whiteBg" placeholder="" readonly="readonly" disabled="" data-input-clear="5" data-input-search="5">
<span class="mui-placeholder">
<span class="mui-icon mui-icon-search">
</span><span>搜索</span>
</span>
</div>
</a>
<a href="#additemmodal">
<span id="additem" class="mui-icon mui-icon-plus mui-pull-right"></span>
</a>
</header>
<div class="mui-content ">
<div id="slider" class="mui-slider">
<div class="mui-slider-group" style="margin-bottom: -1px;">
<div id="item1mobile" class="mui-slider-item mui-control-content ">
<div id="scroll1" class="mui-scroll-wrapper">
<div id="pullRefresh" class="mui-scroll">
<ul id="ul0" class="mui-table-view">

                            </ul>  
                        </div>  
                    </div>  
                </div>  
            </div>  
        </div>  
    </div>  

//这是在 init里面写的
mui.init({
pullRefresh: {
container: '#pullRefresh',
down: {
callback: pulldownRefresh
},
up: {
contentrefresh: '正在加载...',
contentnomore: '没有更多内容了',
callback: pullupRefresh
}
}
}
);

附件是效果图,是我标下拉与上拉的控件错了吗,但是我标到ul上也不行的,求解答

2018-10-09 16:13 负责人:无 分享
已邀请:
_watasi

_watasi

我也遇到了这个问题,楼主解决了没

该问题目前已经被锁定, 无法添加新回复