Explorar el Código

添加缺省样式

luyanan %!s(int64=7) %!d(string=hace) años
padre
commit
479500f72c

+ 9 - 3
articalList.html

@ -48,9 +48,15 @@
48 48
							<ul id="articalList">
49 49
								
50 50
							</ul>
51
							<div id="noartical" class="displayNone" style="text-align: center;padding:50px 0;">
52
								暂无内容
53
							</div>
51
							<!--无搜索结果-->
52
							<div class="nodatabox displayNone" id="noartical">
53
						        <div class="nodata">
54
						            <div class="picbox picNull"></div>
55
						            <div class="txtbox">
56
						            	<p class="noContip">暂时没有符合该搜索条件的内容</p>
57
						            </div>
58
						        </div>
59
						    </div>
54 60
							<div class="tcdPageCode"></div>
55 61
						</div>
56 62
					</div>

+ 9 - 3
cmp-portal/cmp-articalList.html

@ -47,9 +47,15 @@
47 47
							<ul id="articalList">
48 48
								
49 49
							</ul>
50
							<div id="noartical" class="displayNone" style="text-align: center;padding:50px 0;">
51
								暂无内容
52
							</div>
50
							<!--无搜索结果-->
51
							<div class="nodatabox displayNone" id="noartical">
52
						        <div class="nodata">
53
						            <div class="picbox picNull"></div>
54
						            <div class="txtbox">
55
						            	<p class="noContip">暂时没有符合该搜索条件的内容</p>
56
						            </div>
57
						        </div>
58
						    </div>
53 59
							<div class="tcdPageCode"></div>
54 60
						</div>
55 61
					</div>

+ 5 - 8
cmp-portal/css/common.css

@ -608,18 +608,15 @@ button.btnModelBig:hover{
608 608

609 609
/*----------------------------分页------------------------*/
610 610

611

612 611
/***********************缺省页面*******************/
613 612
.nodatatip{width:40%;margin:100px auto;overflow:hidden;height:100px; font-size:16px; text-align:center;color:#aaa;}
614 613
.nodatabox{/*width:100%;*/height: 100%;padding:40px; margin:20px auto;text-align: center;}
615 614
.nodatabox .nodata{overflow:hidden; width:50%; margin:auto;}
616
.nodatabox .nodata li{float:left;}
617
.nodatabox .picbox{margin:30px auto;}
618
.nodatabox .picbox .defpic{display:block;margin: auto;width:160px;height:160px; background:url(../images/nodata.png) -12px -760px no-repeat;}
619
.nodatabox .txtbox { margin:86px auto;}
620
.nodatabox .currword{font-size: 18px;color: #777777;font-weight:bold;line-height:40px;}
621
.nodatabox .currtip{ font-size:14px;color: #AAAAAA;}
622
.nodatabox .keyword{font-size:20px; padding:0 6px;color:#555555;}
615
.nodatabox .picbox{margin:30px auto 8px;display:inline-block;width:160px;height:160px;background-position: center;background-repeat: no-repeat;background-size:cover;}
616
.nodatabox .picbox.picNull{background-image:url(../../images/points_icon_ku_nor.png);}
617
.nodatabox .txtbox { margin:6px auto;}
618
.nodatabox .noContip{font-size:18px;color: #999;line-height:40px;}
619
.nodatabox .keyword{font-size:22px; padding:0 6px;color:#555555;}
623 620
/***********************缺省页面*******************/
624 621
#container{margin-top:90px;}
625 622
.containerCon{width:1120px;padding:0 10px;position:relative; margin:auto;}

+ 2 - 2
cmp-portal/js/resourceList.js

@ -19,10 +19,10 @@ $(document).ready(function(){
19 19
				if(data.success) {
20 20
					$("#resourceList").html("");
21 21
					if(data.data.data.length==0) {
22
						$("#resourceList").html("暂无数据").css("text-align","center");
22
						$("#noresource").removeClass("displayNone");
23 23
						return;
24 24
					}else{
25
						$("#resourceList").css("text-align","");
25
						$("#noresource").addClass("displayNone");
26 26
					}
27 27
					resourceHtml(data.data.data);
28 28
					if(isbind == true) {

+ 9 - 0
cmp-portal/resourceList.html

@ -46,6 +46,15 @@
46 46
							<ul id="resourceList">
47 47
								
48 48
							</ul>
49
							<!--无搜索结果-->
50
							<div class="nodatabox displayNone" id="noresource">
51
						        <div class="nodata">
52
						            <div class="picbox picNull"></div>
53
						            <div class="txtbox">
54
						            	<p class="noContip">暂时没有符合该搜索条件的内容</p>
55
						            </div>
56
						        </div>
57
						    </div>
49 58
							<div class="tcdPageCode"></div>
50 59
						</div>
51 60
					</div>

+ 5 - 7
css/common.css

@ -154,13 +154,11 @@ input{ outline:none;}
154 154
.nodatatip{width:40%;margin:100px auto;overflow:hidden;height:100px; font-size:16px; text-align:center;color:#aaa;}
155 155
.nodatabox{/*width:100%;*/height: 100%;padding:40px; margin:20px auto;text-align: center;}
156 156
.nodatabox .nodata{overflow:hidden; width:50%; margin:auto;}
157
.nodatabox .nodata li{float:left;}
158
.nodatabox .picbox{margin:30px auto;}
159
.nodatabox .picbox .defpic{display:block;margin: auto;width:160px;height:160px; background:url(../images/nodata.png) -12px -760px no-repeat;}
160
.nodatabox .txtbox { margin:86px auto;}
161
.nodatabox .currword{font-size: 18px;color: #777777;font-weight:bold;line-height:40px;}
162
.nodatabox .currtip{ font-size:14px;color: #AAAAAA;}
163
.nodatabox .keyword{font-size:20px; padding:0 6px;color:#555555;}
157
.nodatabox .picbox{margin:30px auto 8px;display:inline-block;width:160px;height:160px;background-position: center;background-repeat: no-repeat;background-size:cover;}
158
.nodatabox .picbox.picNull{background-image:url(../images/points_icon_ku_nor.png);}
159
.nodatabox .txtbox { margin:6px auto;}
160
.nodatabox .noContip{font-size:18px;color: #999;line-height:40px;}
161
.nodatabox .keyword{font-size:22px; padding:0 6px;color:#555555;}
164 162
/***********************缺省页面*******************/
165 163

166 164
.ResImgBox{display: inline-block;text-align: center;max-width:100px;width:100px;height:100px;background:#FAFAFA;border:1px solid #F8F8F8;overflow: hidden;padding:2px;border-radius:4px;}

+ 1 - 0
css/genindex.css

@ -200,6 +200,7 @@ ul.filterUl>li.filterCurrent{border-color:#e1e1e1;border-radius: 20px;color:#ff9
200 200
.listdiv{background: #FFFFFF;padding-bottom:20px;margin-bottom:20px;}
201 201
.listdiv ul.listitemdiv{}
202 202
ul.listitemdiv li{position:relative;min-height:132px;padding:15px 20px;}
203
ul.listitemdiv li:hover{background: #EEEEEE;}
203 204
ul.listitemdiv li:after{content: "";position: absolute;left: 0;right: 0;bottom: 0;height: 2px;background: #f7f7f8;}
204 205
ul.listitemdiv li a.linkhref{display: block;width: 100%;}
205 206
ul.listitemdiv li .lefthead{position:absolute;top:50%;overflow: hidden;background-size: cover;background-position: center;}

BIN
images/01.png


BIN
images/02.png


BIN
images/03.png


BIN
images/authsort.png


BIN
images/authsort2.png


BIN
images/points_icon_ku_nor.png


+ 2 - 2
js/resourceImport.js

@ -20,10 +20,10 @@ $(document).ready(function(){
20 20
				if(data.success) {
21 21
					$(".importUl").html("");
22 22
					if(data.data.data.length==0) {
23
						$(".importUl").html("暂无数据").css("text-align","center");
23
						$("#noresource").removeClass("displayNone");
24 24
						return;
25 25
					}else{
26
						$(".importUl").css("text-align","");
26
						$("#noresource").addClass("displayNone");
27 27
					}
28 28
					resourceHtml(data.data.data);
29 29
					if(isbind == true) {

+ 2 - 2
js/resourceList.js

@ -20,10 +20,10 @@ $(document).ready(function(){
20 20
				if(data.success) {
21 21
					$("#resourceList").html("");
22 22
					if(data.data.data.length==0) {
23
						$("#resourceList").html("暂无数据").css("text-align","center");
23
						$("#noresource").removeClass("displayNone");
24 24
						return;
25 25
					}else{
26
						$("#resourceList").css("text-align","");
26
						$("#noresource").addClass("displayNone");
27 27
					}
28 28
					resourceHtml(data.data.data);
29 29
					if(isbind == true) {

+ 9 - 0
resourceImport.html

@ -80,6 +80,15 @@
80 80
									</div>
81 81
								</li>-->
82 82
							</ul>
83
							<!--无搜索结果-->
84
							<div class="nodatabox displayNone" id="noresource">
85
						        <div class="nodata">
86
						            <div class="picbox picNull"></div>
87
						            <div class="txtbox">
88
						            	<p class="noContip">暂时没有符合该搜索条件的内容</p>
89
						            </div>
90
						        </div>
91
						    </div>
83 92
							<div class="tcdPageCode"></div>
84 93
						</div>
85 94
					</div>

+ 9 - 0
resourceList.html

@ -52,6 +52,15 @@
52 52
							<ul id="resourceList">
53 53
								
54 54
							</ul>
55
							<!--无搜索结果-->
56
							<div class="nodatabox displayNone" id="noresource">
57
						        <div class="nodata">
58
						            <div class="picbox picNull"></div>
59
						            <div class="txtbox">
60
						            	<p class="noContip">暂时没有符合该搜索条件的内容</p>
61
						            </div>
62
						        </div>
63
						    </div>
55 64
							<div class="tcdPageCode"></div>
56 65
						</div>
57 66
					</div>

+ 13 - 1
searchNew.html

@ -22,7 +22,10 @@
22 22
		<div class="contentCon clearfix">
23 23
			<div class="col-w-12">
24 24
				<div class="searchdiv">
25
					<input type="search" name="searchsome" class="searchsome col-w-12" placeholder="筛选" />
25
					<input type="search" name="searchsome" class="searchsome col-w-12" placeholder="请输入专家姓名、机构、研究方向" />
26
					<!--找专家:请输入专家姓名、机构、研究方向
27
		  				找资源:请输入资源名称、用途、机构
28
						找文章:请输入文章标题、作者-->
26 29
					<span class="searchgo">搜索</span>
27 30
				</div>
28 31
				<div class="filterdiv">
@ -93,6 +96,15 @@
93 96
					</ul>
94 97
				</div>
95 98
				<div class="listdiv">
99
					<!--无搜索结果-->
100
					<div class="nodatabox">
101
				        <div class="nodata">
102
				            <div class="picbox picNull"></div>
103
				            <div class="txtbox">
104
				            	<p class="noContip">暂时没有符合该搜索条件的内容</p>
105
				            </div>
106
				        </div>
107
				    </div>
96 108
					<!--找人-->
97 109
					<ul class="listitemdiv">
98 110
						<li class="flexCenter">