Browse Source

搜索修改

xuchunyang 8 years ago
parent
commit
ab1eb20164
1 changed files with 28 additions and 20 deletions
  1. 28 20
      app/html/search.html

+ 28 - 20
app/html/search.html

@ -30,27 +30,24 @@
30 30
				<input type="text" class="mui-input-clear mui-pull-left searchtxt2" placeholder="搜索专家、设备资源" id="searchval">
31 31
			</div>
32 32
		</header>
33
		
34
		
35
		
33
		<div class="filterbox" style=" position: fixed; z-index:1; top:45px; width:100%">
34
			<ul class="filterblock" style="width:100%">
35
				<li class="mui-col-xs-4">
36
					<a href="#middlePopovercity" class="mui-btn mui-btn-block mui-btn-outlined filterlist2 mui-ellipsis"><span id="addressid">全国</span><em class="mui-icon mui-icon-arrowdown"></em></a>
37
				</li>
38
				<li class="mui-col-xs-4">
39
					<a href="#middlePopoveracad" class="mui-btn mui-btn-block mui-btn-outlined filterlist2 mui-ellipsis"><span id="subjectid">学术领域</span><em class="mui-icon mui-icon-arrowdown"></em></a>
40
				</li>
41
				<li class="mui-col-xs-4">
42
					<a href="#middlePopoveruse" class="mui-btn mui-btn-block mui-btn-outlined filterlist2 mui-ellipsis"><span id="industryid">应用行业</span><em class="mui-icon mui-icon-arrowdown"></em></a>
43
				</li>
44
			</ul>
45
		</div>
36 46
37 47
	   <!-- 主页面内容容器 -->
38
		<div class="mui-content" style="padding-top:90px">
39
			<div class="filterbox" style=" position: fixed; z-index:3; top:45px; width:100%">
40
				<ul class="filterblock" style="width:100%">
41
					<li class="mui-col-xs-4">
42
						<a href="#middlePopovercity" class="mui-btn mui-btn-block mui-btn-outlined filterlist2 mui-ellipsis"><span id="addressid">全国</span><em class="mui-icon mui-icon-arrowdown"></em></a>
43
					</li>
44
					<li class="mui-col-xs-4">
45
						<a href="#middlePopoveracad" class="mui-btn mui-btn-block mui-btn-outlined filterlist2 mui-ellipsis"><span id="subjectid">学术领域</span><em class="mui-icon mui-icon-arrowdown"></em></a>
46
					</li>
47
					<li class="mui-col-xs-4">
48
						<a href="#middlePopoveruse" class="mui-btn mui-btn-block mui-btn-outlined filterlist2 mui-ellipsis"><span id="industryid">应用行业</span><em class="mui-icon mui-icon-arrowdown"></em></a>
49
					</li>
50
				</ul>
51
			</div>
52
			<div class="mui-content mui-scroll-wrapper" id="pullrefresh3">
53
				<div class="mui-scroll" >
48
		<div class="mui-content mui-scroll-wrapper" id="pullrefresh3" >
49
50
			<div class="mui-scroll" >
54 51
				<!--数据列表-->
55 52
				<ul class="mui-table-view mui-table-view-chevron list">
56 53
@ -65,7 +62,6 @@
65 62
			        </div>
66 63
			    </div>
67 64
			</div>
68
			</div>
69 65
		</div>
70 66
		<!--城市-->
71 67
		<div id="middlePopovercity" class="mui-popover menuposition">
@ -91,6 +87,18 @@
91 87
		<script src="../js/public/mui.min.js"></script>
92 88
		<script src="../js/public/base.js"></script>
93 89
		<script src="../js/searchhome.js"></script>
90
		<script type="text/javascript">
91
			var box = document.getElementById("pullrefresh3");
92
			var u = navigator.userAgent;
93
			var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
94
			var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
95
			if(isAndroid){
96
				box.style.paddingTop="90px";
97
			}
98
			if(isiOS){
99
				box.style.top="90px";
100
			}
101
		</script>
94 102
	</body>
95 103
96 104
</html>