Browse Source

搜索页面初始化过滤条与列表之间有空白区域修改

xuchunyang 8 years ago
parent
commit
d671d4b0b6
3 changed files with 0 additions and 25 deletions
  1. 0 12
      app/html/attentions-list.html
  2. 0 1
      app/html/search.html
  3. 0 12
      app/js/searchhome.js

+ 0 - 12
app/html/attentions-list.html

33
    <script src="../js/public/mui.min.js"></script>
33
    <script src="../js/public/mui.min.js"></script>
34
	<script src="../js/public/base.js"></script>
34
	<script src="../js/public/base.js"></script>
35
	<script src="../js/attentions.js"></script>
35
	<script src="../js/attentions.js"></script>
36
	<script type="text/javascript">
37
		var box = document.getElementById("pullrefresh");
38
		var u = navigator.userAgent;
39
		var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
40
		var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
41
		if(isAndroid){
42
			//box.style.paddingTop="90px";
43
		}
44
		if(isiOS){
45
			box.style.top="90px";
46
		}
47
	</script>
48
</body>
36
</body>
49
</html>
37
</html>

+ 0 - 1
app/html/search.html

97
			}
97
			}
98
			if(isiOS){
98
			if(isiOS){
99
				box.style.top="90px";
99
				box.style.top="90px";
100
				box.style.paddingTop="0px";
101
			}
100
			}
102
		</script>
101
		</script>
103
	</body>
102
	</body>

+ 0 - 12
app/js/searchhome.js

43
	mui('#pullrefresh3').pullRefresh().refresh(true);
43
	mui('#pullrefresh3').pullRefresh().refresh(true);
44
}
44
}
45

45

46
if(mui.os.plus) {
47
	mui.plusReady(function() {
48
		setTimeout(function() {
49
			mui('#pullrefresh3').pullRefresh().pulldownLoading();
50
		}, 500);
51
	});
52
} else {
53
	mui.ready(function() {
54
		mui('#pullrefresh3').pullRefresh().pulldownLoading();
55
	});
56
}
57

58
mui.plusReady(function(){
46
mui.plusReady(function(){
59
	
47
	
60
	/*点击专家和资源列表*/
48
	/*点击专家和资源列表*/