瀏覽代碼

修改身份认证标识

luyanan 8 年之前
父節點
當前提交
48ca86c95d

+ 5 - 5
app/css/app.css

@ -111,11 +111,11 @@ body{ color: #666666; font-size:14px;line-height:20px;}
111 111
.authicon-cu{color:#FF9900;}/*认证科研型专家*/
112 112
.authicon-com{/*color:#00aaee;*/ color:#2082fb;}/*认证企业型专家*/
113 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 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 121
/*input输入相关*/
@ -321,7 +321,7 @@ ul.boxnav li.set span:before{
321 321
/***********************我的账户*******************/
322 322
.headbox2{ overflow: hidden; position: relative;}
323 323
.headbox2 .proinfor{ display: block; width: 100%;overflow: hidden;}
324
.headbox2 .headimg2{width:24%;margin: 2%; }
324
.headbox2 .headimg2{width:100%;margin: 2%; }
325 325
.headbox2 .infobasic{ margin: 6px 4%;position:absolute; left:25%; top:50%; margin-top: -40px;}
326 326
.headbox2 .infobasic .listtit{ font-size: 18px;}
327 327
.headbox2 .infobasic .listtit2{ margin: 4px 0;}

+ 1 - 1
app/html/companybrowse.html

@ -51,7 +51,7 @@
51 51
					<div class="headbox">
52 52
				        <a href="javascript:;">
53 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 55
		                    <p class="listtit3"><span class="personalMaterial"></span><span class="personalMaterial"></span></p>
56 56
		                    <p cauthwordlass="listtit3"><span class="personalMaterial"></span><span class="personalMaterial"></span> <span class="personalMaterial"></span></p>
57 57
				        </a>

+ 7 - 3
app/html/myaccount.html

@ -20,11 +20,13 @@
20 20
				<div class="maincon personinfo2">
21 21
					<div class="headbox2" >
22 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 26
		                    <div class="mui-pull-left infobasic">
25 27
		                        <span class="listtit">
26 28
		                        	<span id="userName"></span>
27
		                        	<em class="mui-icon iconfont" id="nameli"></em>
29
		                        	<em id="nameli"></em>
28 30
		                        </span>	
29 31
		                        <p class="listtit2"><span id="userTitle"></span><span id="userPosition"></span></p>
30 32
		                    	<p class="listtit3"><span id="userDepartment"></span><span id="userMechanism"></span><span id="userCity"></span></p>
@ -113,7 +115,9 @@
113 115
				<div class="maincon personinfo2">
114 116
					<div class="headbox2" >
115 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 121
		                    <div class="mui-pull-left "  style="color:#797979; margin: 10% 5%;"><span id="goreg">注册</span> / <span id="gologin">登录</span> </div>
118 122
		                </a>
119 123
		              

+ 1 - 1
app/html/proinforbrow.html

@ -51,7 +51,7 @@
51 51
					<div class="headbox">
52 52
				        <a href="javascript:;">
53 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 55
		                    <p class="listtit3"><span class="personalMaterial"></span><span class="personalMaterial"></span></p>
56 56
		                    <p cauthwordlass="listtit3"><span class="personalMaterial"></span><span class="personalMaterial"></span> <span class="personalMaterial"></span></p>
57 57
				        </a>

+ 1 - 1
app/html/studentbrowse.html

@ -51,7 +51,7 @@
51 51
					<div class="headbox">
52 52
				        <a href="javascript:;">
53 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 55
		                    <p cauthwordlass="listtit3"><span class="personalMaterial"></span><span class="personalMaterial"></span> <span class="personalMaterial"></span></p>
56 56
				        </a>
57 57
			        </div>

二進制
app/images/authicon.png


+ 3 - 3
app/js/attentions.js

@ -161,11 +161,11 @@ function datalistEach(datalist) {
161 161
		} else {
162 162
			if(item.professor.authStatus) {
163 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 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 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,11 +151,11 @@ function datalistEach(datalistd) {
151 151
		} else {
152 152
			if(item.resource.professor.authStatus) {
153 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 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 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,15 +101,15 @@ mui.plusReady(function() {
101 101
								if($data.authentication==1){
102 102
									nameli.classList.add('icon-renzheng');
103 103
									nameli.classList.add('authicon-mana');
104
									nameli.innerHTML="<span>科研</span>";
104
									//nameli.innerHTML="<span>科研</span>";
105 105
							   }else if($data.authentication==2){
106 106
							    	nameli.classList.add('icon-renzheng');
107 107
									nameli.classList.add('authicon-staff');
108
									nameli.innerHTML="<span>企业</span>";
108
									//nameli.innerHTML="<span>企业</span>";
109 109
							    }else{
110 110
							    	nameli.classList.add('icon-renzheng');
111 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,11 +188,11 @@ function datalistEach(datalist) {
188 188
		} else {
189 189
			if(item.authStatus) {
190 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 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 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,15 +238,15 @@ mui.ready(function() {
238 238
								if($info.authentication == 1) {
239 239
									nameli.classList.add('icon-renzheng');
240 240
									nameli.classList.add('authicon-mana');
241
									nameli.innerHTML = "<span>科研</span>";
241
									//nameli.innerHTML = "<span>科研</span>";
242 242
								} else if($info.authentication == 2) {
243 243
									nameli.classList.add('icon-renzheng');
244 244
									nameli.classList.add('authicon-staff');
245
									nameli.innerHTML = "<span>企业</span>";
245
									//nameli.innerHTML = "<span>企业</span>";
246 246
								} else {
247 247
									nameli.classList.add('icon-renzheng');
248 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,15 +199,15 @@ mui.plusReady(function() {
199 199
								if($data.authentication==1){
200 200
									nameli.classList.add('icon-renzheng');
201 201
									nameli.classList.add('authicon-mana');
202
									nameli.innerHTML="<span>科研</span>";
202
									//nameli.innerHTML="<span>科研</span>";
203 203
							   }else if($data.authentication==2){
204 204
							    	nameli.classList.add('icon-renzheng');
205 205
									nameli.classList.add('authicon-staff');
206
									nameli.innerHTML="<span>企业</span>";
206
									//nameli.innerHTML="<span>企业</span>";
207 207
							    }else{
208 208
							    	nameli.classList.add('icon-renzheng');
209 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,11 +470,11 @@ function datalistEach(datalist) {
470 470
		} else {
471 471
			if(item.authStatus) {
472 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 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 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,36 +101,36 @@ mui.plusReady(function() {
101 101
								if($data.authentication==1){
102 102
									nameli.classList.add('icon-renzheng');
103 103
									nameli.classList.add('authicon-mana');
104
									nameli.innerHTML="<span>科研</span>";
104
									//nameli.innerHTML="<span>科研</span>";
105 105
							   }else if($data.authentication==2){
106 106
							    	nameli.classList.add('icon-renzheng');
107 107
									nameli.classList.add('authicon-staff');
108
									nameli.innerHTML="<span>企业</span>";
108
									//nameli.innerHTML="<span>企业</span>";
109 109
							    }else{
110 110
							    	nameli.classList.add('icon-renzheng');
111 111
									nameli.classList.add('authicon-stu');
112
									nameli.innerHTML="<span>学生</span>";
112
									//nameli.innerHTML="<span>学生</span>";
113 113
							    }
114 114
							}
115 115
						}			
116 116
				if($data.orgName) {
117 117
					if($data.department) {
118
						personalMaterial[0].innerText = $data.orgName + " , ";
118
						personalMaterial[1].innerText = $data.orgName + " , ";
119 119
					} else {
120
						personalMaterial[0].innerText = $data.orgName;
120
						personalMaterial[1].innerText = $data.orgName;
121 121
					}
122 122

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

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