浏览代码

上拉刷新修改

xuchunyang 8 年之前
父节点
当前提交
bc3f647530
共有 1 个文件被更改,包括 6 次插入2 次删除
  1. 6 2
      app/js/discover.js

+ 6 - 2
app/js/discover.js

@ -100,13 +100,17 @@ mui('#discoverBox').on('tap', '.gouserurl', function() {
100 100

101 101
/*页面数据初始化*/
102 102
getOnePase();
103

103
if(mui.os.plus) {
104
	var height = 190;
105
} else {
106
	var height = 0;
107
}
104 108
mui.init({
105 109
	pullRefresh: {
106 110
		container: '#pullrefresh2',
107 111
		down: {
108 112
			callback: pulldownRefresh,
109
			height:190
113
			height:height
110 114
		},
111 115
		up: {
112 116
			contentrefresh: '正在加载...',