Browse Source

修改身份认证标识

luyanan 8 years ago
parent
commit
48ca86c95d

+ 5 - 5
app/css/app.css

111
.authicon-cu{color:#FF9900;}/*认证科研型专家*/
111
.authicon-cu{color:#FF9900;}/*认证科研型专家*/
112
.authicon-com{/*color:#00aaee;*/ color:#2082fb;}/*认证企业型专家*/
112
.authicon-com{/*color:#00aaee;*/ color:#2082fb;}/*认证企业型专家*/
113
/*普通用户认证标识 icon-renzheng*/
113
/*普通用户认证标识 icon-renzheng*/
114
em.icon-renzheng{position:absolute;border:1px solid;margin-top:2px;margin-left:2px;border-radius:10px;font-size:12px;line-height:10px;}
114
em.icon-renzheng{position:absolute;float:left;font-size: 0;width:48px;height:16px;background-image:url(../images/authicon.png);background-repeat:no-repeat; }
115
em.icon-renzheng span{position:relative;top:0px;font-size:8px;line-height:8px;margin-right:6px;vertical-align:middle;}
115
em.icon-renzheng span{position:relative;top:0px;font-size:8px;line-height:8px;margin-right:6px;vertical-align:middle;}
116
.authicon-mana{color:#ff9900;}/*认证在企高管*/
117
.authicon-staff{color:#007AFF;}/*认证在企职员*/
118
.authicon-stu{color:#0ee032;}/*认证在读学生*/
116
.authicon-mana{background-position: 0 0px;background-size:100% auto;color:#ff9900;}/*认证在企高管*/
117
.authicon-staff{background-position: 0 -16px;background-size:100% auto;color:#007AFF;}/*认证在企职员*/
118
.authicon-stu{background-position: 0 -32px;background-size:100% auto;color:#0ee032;}/*认证在读学生*/
119
119
120
/*****表单公共样式********/
120
/*****表单公共样式********/
121
/*input输入相关*/
121
/*input输入相关*/
321
/***********************我的账户*******************/
321
/***********************我的账户*******************/
322
.headbox2{ overflow: hidden; position: relative;}
322
.headbox2{ overflow: hidden; position: relative;}
323
.headbox2 .proinfor{ display: block; width: 100%;overflow: hidden;}
323
.headbox2 .proinfor{ display: block; width: 100%;overflow: hidden;}
324
.headbox2 .headimg2{width:24%;margin: 2%; }
324
.headbox2 .headimg2{width:100%;margin: 2%; }
325
.headbox2 .infobasic{ margin: 6px 4%;position:absolute; left:25%; top:50%; margin-top: -40px;}
325
.headbox2 .infobasic{ margin: 6px 4%;position:absolute; left:25%; top:50%; margin-top: -40px;}
326
.headbox2 .infobasic .listtit{ font-size: 18px;}
326
.headbox2 .infobasic .listtit{ font-size: 18px;}
327
.headbox2 .infobasic .listtit2{ margin: 4px 0;}
327
.headbox2 .infobasic .listtit2{ margin: 4px 0;}

+ 1 - 1
app/html/companybrowse.html

51
					<div class="headbox">
51
					<div class="headbox">
52
				        <a href="javascript:;">
52
				        <a href="javascript:;">
53
				        	<img class="headimg headRadius" src="" />
53
				        	<img class="headimg headRadius" src="" />
54
				        	<div class="listtit "><span class="personalMaterial"></span><em class="mui-icon iconfont" id="nameli"></em></div>	
54
				        	<div class="listtit"><span class="personalMaterial"></span><em class="mui-icon iconfont" style="margin-top:5px;" id="nameli"></em></div>	
55
		                    <p class="listtit3"><span class="personalMaterial"></span><span class="personalMaterial"></span></p>
55
		                    <p class="listtit3"><span class="personalMaterial"></span><span class="personalMaterial"></span></p>
56
		                    <p cauthwordlass="listtit3"><span class="personalMaterial"></span><span class="personalMaterial"></span> <span class="personalMaterial"></span></p>
56
		                    <p cauthwordlass="listtit3"><span class="personalMaterial"></span><span class="personalMaterial"></span> <span class="personalMaterial"></span></p>
57
				        </a>
57
				        </a>

+ 7 - 3
app/html/myaccount.html

20
				<div class="maincon personinfo2">
20
				<div class="maincon personinfo2">
21
					<div class="headbox2" >
21
					<div class="headbox2" >
22
					    <a class="mui-pull-left proinfor">
22
					    <a class="mui-pull-left proinfor">
23
		                    <img class="mui-pull-left headimg2 headRadius" src="" id="userImg">
23
		                    <div class="mui-pull-left" style="width:24%;min-height:60px;">
24
		                    	<img class="headimg2 headRadius" src="" id="userImg">
25
		                    </div>
24
		                    <div class="mui-pull-left infobasic">
26
		                    <div class="mui-pull-left infobasic">
25
		                        <span class="listtit">
27
		                        <span class="listtit">
26
		                        	<span id="userName"></span>
28
		                        	<span id="userName"></span>
27
		                        	<em class="mui-icon iconfont" id="nameli"></em>
29
		                        	<em id="nameli"></em>
28
		                        </span>	
30
		                        </span>	
29
		                        <p class="listtit2"><span id="userTitle"></span><span id="userPosition"></span></p>
31
		                        <p class="listtit2"><span id="userTitle"></span><span id="userPosition"></span></p>
30
		                    	<p class="listtit3"><span id="userDepartment"></span><span id="userMechanism"></span><span id="userCity"></span></p>
32
		                    	<p class="listtit3"><span id="userDepartment"></span><span id="userMechanism"></span><span id="userCity"></span></p>
113
				<div class="maincon personinfo2">
115
				<div class="maincon personinfo2">
114
					<div class="headbox2" >
116
					<div class="headbox2" >
115
					    <a class="mui-pull-left proinfor">
117
					    <a class="mui-pull-left proinfor">
116
		                    <img class="mui-pull-left headimg2 headRadius" src="../images/default-photo.jpg" >
118
					    	<div class="mui-pull-left" style="width:24%;min-height:60px;">
119
		                    	<img class="headimg2 headRadius" src="../images/default-photo.jpg">
120
		                    </div>
117
		                    <div class="mui-pull-left "  style="color:#797979; margin: 10% 5%;"><span id="goreg">注册</span> / <span id="gologin">登录</span> </div>
121
		                    <div class="mui-pull-left "  style="color:#797979; margin: 10% 5%;"><span id="goreg">注册</span> / <span id="gologin">登录</span> </div>
118
		                </a>
122
		                </a>
119
		              
123
		              

+ 1 - 1
app/html/proinforbrow.html

51
					<div class="headbox">
51
					<div class="headbox">
52
				        <a href="javascript:;">
52
				        <a href="javascript:;">
53
				        	<img class="headimg headRadius" src="" />
53
				        	<img class="headimg headRadius" src="" />
54
				        	<div class="listtit "><span class="personalMaterial"></span><em class="mui-icon iconfont" id="nameli"></em></div>	
54
				        	<div class="listtit"><span class="personalMaterial"></span><em class="mui-icon iconfont" style="margin-top:5px;" id="nameli"></em></div>	
55
		                    <p class="listtit3"><span class="personalMaterial"></span><span class="personalMaterial"></span></p>
55
		                    <p class="listtit3"><span class="personalMaterial"></span><span class="personalMaterial"></span></p>
56
		                    <p cauthwordlass="listtit3"><span class="personalMaterial"></span><span class="personalMaterial"></span> <span class="personalMaterial"></span></p>
56
		                    <p cauthwordlass="listtit3"><span class="personalMaterial"></span><span class="personalMaterial"></span> <span class="personalMaterial"></span></p>
57
				        </a>
57
				        </a>

+ 1 - 1
app/html/studentbrowse.html

51
					<div class="headbox">
51
					<div class="headbox">
52
				        <a href="javascript:;">
52
				        <a href="javascript:;">
53
				        	<img class="headimg headRadius" src="" />
53
				        	<img class="headimg headRadius" src="" />
54
				        	<div class="listtit "><span class="personalMaterial"></span><em class="mui-icon iconfont" id="nameli"></em></div>			        
54
				        	<div class="listtit"><span class="personalMaterial"></span><em class="mui-icon iconfont" style="margin-top:5px;" id="nameli"></em></div>			        
55
		                    <p cauthwordlass="listtit3"><span class="personalMaterial"></span><span class="personalMaterial"></span> <span class="personalMaterial"></span></p>
55
		                    <p cauthwordlass="listtit3"><span class="personalMaterial"></span><span class="personalMaterial"></span> <span class="personalMaterial"></span></p>
56
				        </a>
56
				        </a>
57
			        </div>
57
			        </div>

BIN
app/images/authicon.png


+ 3 - 3
app/js/attentions.js

161
		} else {
161
		} else {
162
			if(item.professor.authStatus) {
162
			if(item.professor.authStatus) {
163
				if(item.professor.authentication == 1) {
163
				if(item.professor.authentication == 1) {
164
					icon='<em class="mui-icon iconfont icon-renzheng authicon-mana"><span>科研</span></em>';
164
					icon='<em class="mui-icon iconfont icon-renzheng authicon-mana"></em>';
165
				} else if(item.professor.authentication == 2) {
165
				} else if(item.professor.authentication == 2) {
166
					icon='<em class="mui-icon iconfont icon-renzheng authicon-staff"><span>企业</span></em>';
166
					icon='<em class="mui-icon iconfont icon-renzheng authicon-staff"></em>';
167
				} else {
167
				} else {
168
					icon='<em class="mui-icon iconfont icon-renzheng authicon-stu"><span>学生</span></em>';
168
					icon='<em class="mui-icon iconfont icon-renzheng authicon-stu"></em>';
169
				}
169
				}
170
			}
170
			}
171
		}
171
		}

+ 3 - 3
app/js/attentions2.js

151
		} else {
151
		} else {
152
			if(item.resource.professor.authStatus) {
152
			if(item.resource.professor.authStatus) {
153
				if(item.resource.professor.authentication == 1) {
153
				if(item.resource.professor.authentication == 1) {
154
					icont='<em class="mui-icon iconfont icon-renzheng authicon-mana"><span>科研</span></em>';
154
					icont='<em class="mui-icon iconfont icon-renzheng authicon-mana"></em>';
155
				} else if(item.resource.professor.authentication == 2) {
155
				} else if(item.resource.professor.authentication == 2) {
156
					icont='<em class="mui-icon iconfont icon-renzheng authicon-staff"><span>企业</span></em>';
156
					icont='<em class="mui-icon iconfont icon-renzheng authicon-staff"></em>';
157
				} else {
157
				} else {
158
					icont='<em class="mui-icon iconfont icon-renzheng authicon-stu"><span>学生</span></em>';
158
					icont='<em class="mui-icon iconfont icon-renzheng authicon-stu"></em>';
159
				}
159
				}
160
			}
160
			}
161
		}
161
		}

+ 3 - 3
app/js/companybrowse.js

101
								if($data.authentication==1){
101
								if($data.authentication==1){
102
									nameli.classList.add('icon-renzheng');
102
									nameli.classList.add('icon-renzheng');
103
									nameli.classList.add('authicon-mana');
103
									nameli.classList.add('authicon-mana');
104
									nameli.innerHTML="<span>科研</span>";
104
									//nameli.innerHTML="<span>科研</span>";
105
							   }else if($data.authentication==2){
105
							   }else if($data.authentication==2){
106
							    	nameli.classList.add('icon-renzheng');
106
							    	nameli.classList.add('icon-renzheng');
107
									nameli.classList.add('authicon-staff');
107
									nameli.classList.add('authicon-staff');
108
									nameli.innerHTML="<span>企业</span>";
108
									//nameli.innerHTML="<span>企业</span>";
109
							    }else{
109
							    }else{
110
							    	nameli.classList.add('icon-renzheng');
110
							    	nameli.classList.add('icon-renzheng');
111
									nameli.classList.add('authicon-stu');
111
									nameli.classList.add('authicon-stu');
112
									nameli.innerHTML="<span>学生</span>";
112
									//nameli.innerHTML="<span>学生</span>";
113
							    }
113
							    }
114
							}
114
							}
115
						}	
115
						}	

+ 3 - 3
app/js/index.js

188
		} else {
188
		} else {
189
			if(item.authStatus) {
189
			if(item.authStatus) {
190
				if(item.authentication == 1) {
190
				if(item.authentication == 1) {
191
					typeTname='<em class="mui-icon iconfont icon-renzheng authicon-mana"><span>科研</span></em>';
191
					typeTname='<em class="mui-icon iconfont icon-renzheng authicon-mana"></em>';
192
				} else if(item.authentication == 2) {
192
				} else if(item.authentication == 2) {
193
					typeTname='<em class="mui-icon iconfont icon-renzheng authicon-staff"><span>企业</span></em>';
193
					typeTname='<em class="mui-icon iconfont icon-renzheng authicon-staff"></em>';
194
				} else {
194
				} else {
195
					typeTname='<em class="mui-icon iconfont icon-renzheng authicon-stu"><span>学生</span></em>';
195
					typeTname='<em class="mui-icon iconfont icon-renzheng authicon-stu"></em>';
196
				}
196
				}
197
			}
197
			}
198
		}
198
		}

+ 3 - 3
app/js/myaccount.js

238
								if($info.authentication == 1) {
238
								if($info.authentication == 1) {
239
									nameli.classList.add('icon-renzheng');
239
									nameli.classList.add('icon-renzheng');
240
									nameli.classList.add('authicon-mana');
240
									nameli.classList.add('authicon-mana');
241
									nameli.innerHTML = "<span>科研</span>";
241
									//nameli.innerHTML = "<span>科研</span>";
242
								} else if($info.authentication == 2) {
242
								} else if($info.authentication == 2) {
243
									nameli.classList.add('icon-renzheng');
243
									nameli.classList.add('icon-renzheng');
244
									nameli.classList.add('authicon-staff');
244
									nameli.classList.add('authicon-staff');
245
									nameli.innerHTML = "<span>企业</span>";
245
									//nameli.innerHTML = "<span>企业</span>";
246
								} else {
246
								} else {
247
									nameli.classList.add('icon-renzheng');
247
									nameli.classList.add('icon-renzheng');
248
									nameli.classList.add('authicon-stu');
248
									nameli.classList.add('authicon-stu');
249
									nameli.innerHTML = "<span>学生</span>";
249
									//nameli.innerHTML = "<span>学生</span>";
250
								}
250
								}
251
							}
251
							}
252
						}
252
						}

+ 3 - 3
app/js/proinfobrow.js

199
								if($data.authentication==1){
199
								if($data.authentication==1){
200
									nameli.classList.add('icon-renzheng');
200
									nameli.classList.add('icon-renzheng');
201
									nameli.classList.add('authicon-mana');
201
									nameli.classList.add('authicon-mana');
202
									nameli.innerHTML="<span>科研</span>";
202
									//nameli.innerHTML="<span>科研</span>";
203
							   }else if($data.authentication==2){
203
							   }else if($data.authentication==2){
204
							    	nameli.classList.add('icon-renzheng');
204
							    	nameli.classList.add('icon-renzheng');
205
									nameli.classList.add('authicon-staff');
205
									nameli.classList.add('authicon-staff');
206
									nameli.innerHTML="<span>企业</span>";
206
									//nameli.innerHTML="<span>企业</span>";
207
							    }else{
207
							    }else{
208
							    	nameli.classList.add('icon-renzheng');
208
							    	nameli.classList.add('icon-renzheng');
209
									nameli.classList.add('authicon-stu');
209
									nameli.classList.add('authicon-stu');
210
									nameli.innerHTML="<span>学生</span>";
210
									//nameli.innerHTML="<span>学生</span>";
211
							    }
211
							    }
212
							}
212
							}
213
						}	
213
						}	

+ 3 - 3
app/js/searchhome.js

470
		} else {
470
		} else {
471
			if(item.authStatus) {
471
			if(item.authStatus) {
472
				if(item.authentication == 1) {
472
				if(item.authentication == 1) {
473
					icon='<em class="mui-icon iconfont icon-renzheng authicon-mana"><span>科研</span></em>';
473
					icon='<em class="mui-icon iconfont icon-renzheng authicon-mana"></em>';
474
				} else if(item.authentication == 2) {
474
				} else if(item.authentication == 2) {
475
					icon='<em class="mui-icon iconfont icon-renzheng authicon-staff"><span>企业</span></em>';
475
					icon='<em class="mui-icon iconfont icon-renzheng authicon-staff"></em>';
476
				} else {
476
				} else {
477
					icon='<em class="mui-icon iconfont icon-renzheng authicon-stu"><span>学生</span></em>';
477
					icon='<em class="mui-icon iconfont icon-renzheng authicon-stu"></em>';
478
				}
478
				}
479
			}
479
			}
480
		}
480
		}

+ 8 - 8
app/js/studentbrowse.js

101
								if($data.authentication==1){
101
								if($data.authentication==1){
102
									nameli.classList.add('icon-renzheng');
102
									nameli.classList.add('icon-renzheng');
103
									nameli.classList.add('authicon-mana');
103
									nameli.classList.add('authicon-mana');
104
									nameli.innerHTML="<span>科研</span>";
104
									//nameli.innerHTML="<span>科研</span>";
105
							   }else if($data.authentication==2){
105
							   }else if($data.authentication==2){
106
							    	nameli.classList.add('icon-renzheng');
106
							    	nameli.classList.add('icon-renzheng');
107
									nameli.classList.add('authicon-staff');
107
									nameli.classList.add('authicon-staff');
108
									nameli.innerHTML="<span>企业</span>";
108
									//nameli.innerHTML="<span>企业</span>";
109
							    }else{
109
							    }else{
110
							    	nameli.classList.add('icon-renzheng');
110
							    	nameli.classList.add('icon-renzheng');
111
									nameli.classList.add('authicon-stu');
111
									nameli.classList.add('authicon-stu');
112
									nameli.innerHTML="<span>学生</span>";
112
									//nameli.innerHTML="<span>学生</span>";
113
							    }
113
							    }
114
							}
114
							}
115
						}			
115
						}			
116
				if($data.orgName) {
116
				if($data.orgName) {
117
					if($data.department) {
117
					if($data.department) {
118
						personalMaterial[0].innerText = $data.orgName + " , ";
118
						personalMaterial[1].innerText = $data.orgName + " , ";
119
					} else {
119
					} else {
120
						personalMaterial[0].innerText = $data.orgName;
120
						personalMaterial[1].innerText = $data.orgName;
121
					}
121
					}
122

122

123
				}
123
				}
124
				if($data.department) {
124
				if($data.department) {
125
					if($data.address) {
125
					if($data.address) {
126
						personalMaterial[1].innerText = $data.department + " | ";
126
						personalMaterial[2].innerText = $data.department + " | ";
127
					} else {
127
					} else {
128
						personalMaterial[1].innerText = $data.department;
128
						personalMaterial[2].innerText = $data.department;
129
					}
129
					}
130

130

131
				}
131
				}
132
				if($data.address) {
132
				if($data.address) {
133
					personalMaterial[2].innerText = $data.address;
133
					personalMaterial[3].innerText = $data.address;
134
				}
134
				}
135
				//个人简介
135
				//个人简介
136

136