浏览代码

修改身份认证标识icon

luyanan 8 年之前
父节点
当前提交
452c762b3e

+ 3 - 3
src/main/webapp/css/common.css

129
/*/////////// 普通用户认证标识 //////////////*/
129
/*/////////// 普通用户认证标识 //////////////*/
130
.authicon2{float:left;position:relative;width:60px; height:20px;margin-left:2px; background:url(../images/authsort.png) no-repeat;}
130
.authicon2{float:left;position:relative;width:60px; height:20px;margin-left:2px; background:url(../images/authsort.png) no-repeat;}
131
.authicon2 span{font-size:12px; margin-left:20px;position: absolute;top: 50%;margin-top: -9px;}
131
.authicon2 span{font-size:12px; margin-left:20px;position: absolute;top: 50%;margin-top: -9px;}
132
.authicon-mana{background-position: 0 -41px;color:#19AFFF;}/*认证在企高管*/
133
.authicon-staff{background-position:0 -41px;color:#19AFFF;}/*认证在企职员*/
134
.authicon-stu{background-position: 0 -61px;color:#03CE30}/*认证在读学生*/
132
.authicon-mana{background-position: 0 -20px;color:#ff9900;}/*认证在企高管*/
133
.authicon-staff{background-position:0 -40px;color:#19AFFF;}/*认证在企职员*/
134
.authicon-stu{background-position: 0 -60px;color:#03CE30}/*认证在读学生*/
135
/*//////////专家身份认证状态////////////*/
135
/*//////////专家身份认证状态////////////*/
136
/*已认证*/
136
/*已认证*/
137
.authword{ padding:2px 6px; margin-left:6px;border-radius:4px; color: #FFFFFF; font-size: 12px;}
137
.authword{ padding:2px 6px; margin-left:6px;border-radius:4px; color: #FFFFFF; font-size: 12px;}

+ 1 - 1
src/main/webapp/css/index.css

121
.resourcephoto{width:100px;height:100px;margin:20px;float:left;overflow:hidden; }
121
.resourcephoto{width:100px;height:100px;margin:20px;float:left;overflow:hidden; }
122
.resouname{font-size:18px; color:#333;}
122
.resouname{font-size:18px; color:#333;}
123
.belongname{ font-size:17px; color:#333; }
123
.belongname{ font-size:17px; color:#333; }
124
.modicon{ margin:0 6px;}
124
.modicon{ margin:2px;}
125
.positionbox{ font-size:16px;  color:#666; }
125
.positionbox{ font-size:16px;  color:#666; }
126
.sciencebox,.provideservice{font-size:14px; color:#999; }
126
.sciencebox,.provideservice{font-size:14px; color:#999; }
127
/* .provideservice p{display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;word-break: break-all;overflow: hidden;} */
127
/* .provideservice p{display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;word-break: break-all;overflow: hidden;} */

+ 1 - 1
src/main/webapp/css/workspace.css

144
	text-overflow:ellipsis;
144
	text-overflow:ellipsis;
145
}
145
}
146
146
147
.modifyicon{ margin-left:6px;margin-top: 6px;}
147
.modifyicon{ margin-left:6px;margin-top:10px;}
148
.workitimg{ width:120px; height:120px; }
148
.workitimg{ width:120px; height:120px; }
149
.messagebox{position:relative;}
149
.messagebox{position:relative;}
150
.msgprompt{position:absolute; top:26px; left:-14px; padding:0 10px;text-align:center;  border-radius:14px; background:#ff6432; color:#fff;}
150
.msgprompt{position:absolute; top:26px; left:-14px; padding:0 10px;text-align:center;  border-radius:14px; background:#ff6432; color:#fff;}

二进制
src/main/webapp/images/authsort.png


+ 3 - 3
src/main/webapp/js/information.brow.js

333
								if($info.authStatus) {
333
								if($info.authStatus) {
334
									if($info.authentication == 1) {
334
									if($info.authentication == 1) {
335
										$(".modify").addClass("authicon2 authicon-mana");
335
										$(".modify").addClass("authicon2 authicon-mana");
336
										$(".modify").html("<span>科研</span>");										
336
										//$(".modify").html("<span>科研</span>");										
337
									} else if($info.authentication == 2) {
337
									} else if($info.authentication == 2) {
338
										$(".modify").addClass("authicon2 authicon-staff");
338
										$(".modify").addClass("authicon2 authicon-staff");
339
										$(".modify").html("<span>企业</span>");										
339
										//$(".modify").html("<span>企业</span>");										
340
									} else {
340
									} else {
341
										$(".modify").addClass("authicon2 authicon-stu");
341
										$(".modify").addClass("authicon2 authicon-stu");
342
										$(".modify").html("<span>学生</span>");										
342
										//$(".modify").html("<span>学生</span>");										
343
									}
343
									}
344
								}
344
								}
345
							}
345
							}

+ 7 - 7
src/main/webapp/js/search.js

152
										if($data.data.data[i].authStatus) {
152
										if($data.data.data[i].authStatus) {
153
											if($data.data.data[i].authentication == 1) {
153
											if($data.data.data[i].authentication == 1) {
154
												$(".modify").eq(i).addClass("authicon2 authicon-mana");
154
												$(".modify").eq(i).addClass("authicon2 authicon-mana");
155
												$(".modify").eq(i).html("<span>科研</span>");										
155
												//$(".modify").eq(i).html("<span>科研</span>");										
156
											} else if($data.data.data[i].authentication == 2) {
156
											} else if($data.data.data[i].authentication == 2) {
157
												$(".modify").eq(i).addClass("authicon2 authicon-staff");
157
												$(".modify").eq(i).addClass("authicon2 authicon-staff");
158
												$(".modify").eq(i).html("<span>企业</span>");										
158
												//$(".modify").eq(i).html("<span>企业</span>");										
159
											} else {
159
											} else {
160
												$(".modify").eq(i).addClass("authicon2 authicon-stu");
160
												$(".modify").eq(i).addClass("authicon2 authicon-stu");
161
												$(".modify").eq(i).html("<span>学生</span>");										
161
												//$(".modify").eq(i).html("<span>学生</span>");										
162
											}
162
											}
163
										}
163
										}
164
									}						
164
									}						
236
 			                    add+='<div class="synopsis" style="width:66%;">' 			                  
236
 			                    add+='<div class="synopsis" style="width:66%;">' 			                  
237
 			                     add+='<div class="cousultName"><a class="resouname" href="javascript:void();">'+$da[i].resourceName+'</a></div>'
237
 			                     add+='<div class="cousultName"><a class="resouname" href="javascript:void();">'+$da[i].resourceName+'</a></div>'
238
 			                     if($da[i].professor.name){
238
 			                     if($da[i].professor.name){
239
 			                    	 add+='<div class="belongname"><a style="float:left;display:block;">'+$da[i].professor.name+'</a><a class="modicon"style="display:block;top:3px;left:5px;"></a></div>'  
239
 			                    	 add+='<div class="belongname"><a style="float:left;display:block;">'+$da[i].professor.name+'</a><a class="modicon" style="display:block;top:4px;left:2px;"></a></div>'  
240
 			                    		  } 			                   
240
 			                    		  } 			                   
241
 			                   if($da[i].professor.title==undefined){
241
 			                   if($da[i].professor.title==undefined){
242
 			                	  $da[i].professor.title="";
242
 			                	  $da[i].professor.title="";
286
 									if($da[i].professor.authStatus) {
286
 									if($da[i].professor.authStatus) {
287
 										if($da[i].professor.authentication == 1) {
287
 										if($da[i].professor.authentication == 1) {
288
 											$add.find(".modicon").addClass("authicon2 authicon-mana");
288
 											$add.find(".modicon").addClass("authicon2 authicon-mana");
289
 											$add.find(".modicon").html("<span style='top:35%'>科研</span>");										
289
 											//$add.find(".modicon").html("<span style='top:35%'>科研</span>");										
290
 										} else if($da[i].professor.authentication == 2) {
290
 										} else if($da[i].professor.authentication == 2) {
291
 											$add.find(".modicon").addClass("authicon2 authicon-staff");
291
 											$add.find(".modicon").addClass("authicon2 authicon-staff");
292
 											$add.find(".modicon").html("<span style='top:35%'>企业</span>");										
292
 											//$add.find(".modicon").html("<span style='top:35%'>企业</span>");										
293
 										} else {
293
 										} else {
294
 											$add.find(".modicon").addClass("authicon2 authicon-stu");
294
 											$add.find(".modicon").addClass("authicon2 authicon-stu");
295
 											$add.find(".modicon").html("<span style='top:35%'>学生</span>");										
295
 											//$add.find(".modicon").html("<span style='top:35%'>学生</span>");										
296
 										}
296
 										}
297
 									}
297
 									}
298
 								}
298
 								}

+ 3 - 3
src/main/webapp/js/workindex.js

19
					if(data.data.authStatus) {
19
					if(data.data.authStatus) {
20
						if(data.data.authentication == 1) {
20
						if(data.data.authentication == 1) {
21
							$(".modifyicon").addClass("authicon2 authicon-mana");
21
							$(".modifyicon").addClass("authicon2 authicon-mana");
22
							$(".modifyicon").html("<span style='top:12px'>科研</span>");										
22
							//$(".modifyicon").html("<span style='top:12px'>科研</span>");										
23
						} else if(data.data.authentication == 2) {
23
						} else if(data.data.authentication == 2) {
24
							$(".modifyicon").addClass("authicon2 authicon-staff");
24
							$(".modifyicon").addClass("authicon2 authicon-staff");
25
							$(".modifyicon").html("<span style='top:12px'>企业</span>");										
25
							//$(".modifyicon").html("<span style='top:12px'>企业</span>");										
26
						} else {
26
						} else {
27
							$(".modifyicon").addClass("authicon2 authicon-stu");
27
							$(".modifyicon").addClass("authicon2 authicon-stu");
28
							$(".modifyicon").html("<span style='top:12px'>学生</span>");										
28
							//$(".modifyicon").html("<span style='top:12px'>学生</span>");										
29
						}
29
						}
30
					}
30
					}
31
				}
31
				}