浏览代码

修改企业logo显示方式

luyanan 7 年之前
父节点
当前提交
7879686f15
共有 9 个文件被更改,包括 112 次插入27 次删除
  1. 13 4
      app/css/app.css
  2. 27 7
      app/js/articleShow.js
  3. 7 2
      app/js/attentedList.js
  4. 2 2
      app/js/cmpInforShow.js
  5. 3 1
      app/js/discover.js
  6. 2 2
      app/js/paperShow.js
  7. 2 2
      app/js/patentShow.js
  8. 21 4
      app/js/resourceShow.js
  9. 35 3
      app/js/searchListNew2.js

+ 13 - 4
app/css/app.css

@ -335,7 +335,7 @@ ul.boxnav li.set span:before{font-family:"iconfont";content: "\e733";font-size:1
335 335
/*专家相关信息*/
336 336
.infocontit{font-size:16px;line-height: 40px;min-height:40px;border-bottom: 1px solid #E5E5E5; position: relative;padding-left: 26px;color:#333}
337 337
.infocontit:before{position:absolute;top:50%;margin-top:-10px;left: 15px;;display:inline-block;content:"";width:4px;height:18px;border-radius:10px;background:#ff9900;}
338
.infocontitM{padding-left: 15px;}
338
.infocontitM{padding-left: 15px;font-size:15px;}
339 339
.infocontitM:before{content: none;}
340 340
.OnetitM{border-color: transparent;}
341 341
.infocon{padding:15px; font-size: 14px;color:#666;}
@ -773,7 +773,9 @@ footer.chatFooter .mui-icon-paperplane {font-size: 16px;word-break: keep-all;lin
773 773
.table-item-media .table-item-name span{float:left;display:block;max-width:96%;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;}
774 774
.table-item-media .authicon{bottom:-2px;}
775 775

776
.cmplogo{ background: url(../images/default-icon.jpg);background-size: cover;border-radius:4px;}
776
.cmplogo{ background:#FFFFFF;border-radius:4px;overflow: hidden;}
777
.table-item-media .table-item-logo.cmplogo .boxBlock{width: 32px;height: 32px;}
778
.table-item-media .table-item-logo.cmplogo .boxBlock .boxBlockimg{margin-top:-2px}
777 779
.userhead{ background: url(../images/default-photo.jpg);background-size: cover;border-radius:50%;}
778 780
.cmpLable{border:1px solid;border-radius:3px;padding:2px 6px;font-style: normal;font-size: 10px; line-height: 14px; vertical-align: middle;margin-right: 15px;}
779 781
.cmpLable.articalLabel{border-color:#ff6b57;color:#ff6b57;}
@ -1000,8 +1002,8 @@ footer.chatFooter .mui-icon-paperplane {font-size: 16px;word-break: keep-all;lin
1000 1002
.filterClass.filterActive .mui-navigate-right:after{content: '\e580'}
1001 1003

1002 1004
/*****************************2017.04新版登录表单样式************************/
1003
.frmboxNew{margin:12px;border-radius: 6px;overflow: hidden;}
1004
.frmboxNew .frmbtn{margin:0;font-size: 14px;line-height:40px;padding:0;height:40px;vertical-align: middle;}
1005
.frmboxNew{margin:12px;border-radius:4px;overflow: hidden;}
1006
.frmboxNew .frmbtn{margin:0;font-size: 14px;line-height:40px;padding:0;height:40px;border-radius:4px;vertical-align: middle;}
1005 1007
.frmboxNew .frm-input .frmtype{height:48px;}
1006 1008
.mui-input-group.frmboxNew .mui-input-row{height:48px;}
1007 1009
.mui-input-group.frmboxNew .mui-input-row:after{left: 0;}
@ -1171,3 +1173,10 @@ ul.tagList>li .h2Font{color: #666; -webkit-user-select:text;}
1171 1173
.cardInfo .h2Font{font-size:14px;color: #666;}
1172 1174
.cardInfo .h3Font{font-size:13px;line-height: 16px;color: #666;}
1173 1175
.cardInfo .icon-address{position:relative;top:2px;}
1176

1177
/*反馈意见以及投诉*/
1178
.mui-input-row.textBox{position: relative;background:#fff;}
1179
.mui-input-row.textBox .conTextare {min-height: 260px;font-size: 14px;border:none;}
1180
.mui-input-row.textBox .conCommit {position: absolute;bottom: 0;right: 10px;color:#BBBBBB}
1181

1182


+ 27 - 7
app/js/articleShow.js

@ -203,9 +203,18 @@ mui.plusReady(function() {
203 203
		},
204 204
		business: function($data) {
205 205
			//console.log(JSON.stringify($data));
206
			document.getElementById('name').innerHTML = $data.name;
206
			if($data.forShort){
207
				document.getElementById('name').innerHTML = $data.forShort;
208
			}else{
209
				document.getElementById('name').innerHTML = $data.name;
210
			}
211
			document.getElementById("messImg").classList.add("cmpHead");
212
			document.getElementById("messImg").innerHTML='<div class="boxBlock" style="width:48px;height:48px;"><img class="boxBlockimg" id="companyImg" src="../images/default-icon.jpg"></div>'
207 213
			if($data.hasOrgLogo) {
208
				document.getElementById("messImg").style.backgroundImage = "url(" + baseUrl + "/images/org/" + $data.id + ".jpg" + ")";
214
				document.getElementById("companyImg").src= baseUrl + "/images/org/" + $data.id + ".jpg";
215
			}
216
			if($data.authStatus==3){
217
				document.getElementById("auth").classList.add("authicon-com-ok");
209 218
			}
210 219
			mui('#personAL').on('tap', '#messImg,#name', function() {
211 220
				mui.openWindow({
@ -292,7 +301,11 @@ mui.plusReady(function() {
292 301
				userType = autho($data.editProfessor.authType, $data.editProfessor.orgAuth, $data.editProfessor.authStatus);
293 302
			} else {
294 303
				userType = {};
295
				namepo = $data.organization.name;
304
				if($data.organization.forShort){
305
					namepo = $data.organization.forShort;
306
				}else{
307
					namepo = $data.organization.name;
308
				}
296 309
				if($data.organization.authStatus == 3) {
297 310
					userType.sty = "authicon-com-ok"
298 311
				} else {
@ -339,12 +352,19 @@ mui.plusReady(function() {
339 352
					traditional: true,
340 353
					success: function(data) {
341 354
						if(data.success) {
355
							var namepo=""
342 356
							var li = document.createElement("li");
343 357
							if( of == 1) {
358
								namepo = data.data.name;
344 359
								var userType = autho(data.data.authType, data.data.orgAuth, data.data.authStatus);
345 360
								li.setAttribute("owner-id", data.data.id);
346 361
								li.setAttribute("data-type", 1);
347 362
							} else {
363
								if(data.data.forShort){
364
									namepo = data.data.forShort;
365
								}else{
366
									namepo = data.data.name;
367
								}
348 368
								var userType = {};
349 369
								if(data.data.authStatus == 3) {
350 370
									userType.sty = 'authicon-com-ok'
@ -360,7 +380,7 @@ mui.plusReady(function() {
360 380
								'<div class="madiaHead artHead" style="background-image:url(' + arImg + ')"></div>' +
361 381
								'<div class="madiaInfo OmadiaInfo">' +
362 382
								'<p class="mui-ellipsis-2 h1Font">' + title + '</p>' +
363
								'<p><span class="h2Font">' + data.data.name + '</span><em class="authicon ' + userType.sty + '" title="科袖认证专家"></em></p>' +
383
								'<p><span class="h2Font">' + namepo + '</span><em class="authicon ' + userType.sty + '" title="科袖认证专家"></em></p>' +
364 384
								'</div>' +
365 385
								'</div>'
366 386
							document.getElementById("articleList").appendChild(li);
@ -441,7 +461,7 @@ mui.plusReady(function() {
441 461
		mui('#personAL').on('tap', '#messImg,#name', function() {
442 462
			var id = oArticleModule.oWner;
443 463
			plus.nativeUI.showWaiting(); //显示原生等待框
444
			plus.webview.create("../html/proinforbrow.html", 'proinforbrow.html', {}, {
464
			plus.webview.create("../html/userInforShow.html", 'userInforShow.html', {}, {
445 465
				proid: id
446 466
			}); //后台创建webview并打开show.html
447 467
		})
@ -462,7 +482,7 @@ mui.plusReady(function() {
462 482
	mui('#expertList').on('tap', 'li', function() {
463 483
		var id = this.getAttribute("data-id");
464 484
		plus.nativeUI.showWaiting(); //显示原生等待框
465
		plus.webview.create("../html/proinforbrow.html", 'proinforbrow.html', {}, {
485
		plus.webview.create("../html/userInforShow.html", 'userInforShow.html', {}, {
466 486
			proid: id
467 487
		});
468 488
	})
@ -470,7 +490,7 @@ mui.plusReady(function() {
470 490
	mui('.commentBlock').on('tap', '.useHead,.h1Font', function() {
471 491
		var id = this.getAttribute("data-id");
472 492
		plus.nativeUI.showWaiting(); //显示原生等待框
473
		plus.webview.create("../html/proinforbrow.html", 'proinforbrow.html', {}, {
493
		plus.webview.create("../html/userInforShow.html", 'userInforShow.html', {}, {
474 494
			proid: id
475 495
		});
476 496
	})

+ 7 - 2
app/js/attentedList.js

@ -195,7 +195,7 @@ mui.ready(function() {
195 195
							var li = document.createElement("li");
196 196
							li.setAttribute("data-id", $data[i].id);
197 197
							var oimg = ($data[i].hasOrgLogo) ? baseUrl + "/images/org/" + $data[i].id + ".jpg" : "../images/default-icon.jpg";
198
							var oAuth = ($data[i].authStatus == 3) ? 'authicon - com - ok' : '';
198
							var oAuth = ($data[i].authStatus == 3) ? 'authicon-com-ok' : '';
199 199
							var orgName = ($data[i].forShort) ? $data[i].forShort : $data[i].name;
200 200
							var orgType = ($data[i].orgType == '2') ? "上市企业" : "";
201 201
							var orgOther = ($data[i].industry) ? $data[i].industry.replace(/,/gi, " | ") : "";
@ -360,7 +360,12 @@ mui.ready(function() {
360 360
					}
361 361
					li.setAttribute("owner-id", dataItem.organization.id);
362 362
					li.setAttribute("data-type", 2);
363
					name = dataItem.organization.name;
363
					if(dataItem.organization.forShort){
364
						name = dataItem.organization.forShort;
365
					}else{
366
						name = dataItem.organization.name;
367
					}
368
					
364 369
				}
365 370
				li.setAttribute("data-id", dataItem.articleId);
366 371
				li.setAttribute("data-flag", 3);

+ 2 - 2
app/js/cmpInforShow.js

@ -282,7 +282,7 @@ mui.ready(function() {
282 282
				var share = buildShareService("weixin");
283 283
				if(share) {
284 284
					shareMessage(share, "WXSceneSession", {
285
						content: document.getElementById("industryShow").innerHTML.substr(0,20),
285
						content: document.getElementById("industryShow").innerHTML.substr(0,40),
286 286
						title: document.getElementById("companyName").innerHTML,
287 287
						href: baseUrl + "/e/c.html?id=" + orgId ,
288 288
						thumbs: [oUrl]
@ -292,7 +292,7 @@ mui.ready(function() {
292 292
				var share = buildShareService("weixin");
293 293
				if(share) {
294 294
					shareMessage(share, "WXSceneTimeline", {
295
						content: document.getElementById("industryShow").innerHTML.substr(0,20),
295
						content: document.getElementById("industryShow").innerHTML.substr(0,40),
296 296
						title: document.getElementById("companyName").innerHTML,
297 297
						href: baseUrl + "/e/c.html?id=" + orgId ,
298 298
						thumbs: [oUrl]

+ 3 - 1
app/js/discover.js

@ -265,6 +265,7 @@ function datalistEach(datalist) {
265 265
			$itemlist.find("#newstype").addClass("articalLabel");
266 266
			$itemlist.find("#newsimg").addClass("artical-default");
267 267
			$itemlist.find("#userimg").addClass("cmplogo");
268
			$itemlist.find("#userimg").html('<div class="boxBlock"><img class="boxBlockimg companyImg" src="../images/default-icon.jpg"></div>');
268 269
			if(item.image) {
269 270
				$itemlist.find("#newsimg").attr("style", "background-image: url(" + baseUrl + "/data/article/" + item.image + ");");
270 271
			}
@ -283,6 +284,7 @@ function datalistEach(datalist) {
283 284
			$itemlist.find("#newstype").addClass("resourceLabel");
284 285
			$itemlist.find("#newsimg").addClass("resource-default");
285 286
			$itemlist.find("#userimg").addClass("cmplogo");
287
			$itemlist.find("#userimg").html('<div class="boxBlock"><img class="boxBlockimg companyImg" src="../images/default-icon.jpg"></div>');
286 288
			if(item.image) {
287 289
				$itemlist.find("#newsimg").attr("style", "background-image: url(" + baseUrl + "/data/resource/" + item.image + ");");
288 290
			}
@ -332,7 +334,7 @@ function cmpFun(id, $itemlist) {
332 334
					$itemlist.find("#nameSpan").text(data.data.name);
333 335
				}
334 336
				if(data.data.hasOrgLogo) {
335
					$itemlist.find("#userimg").attr("style", "background-image: url(" + baseUrl + "/images/org/" + data.data.id + ".jpg);");
337
					$itemlist.find(".companyImg").attr("src",baseUrl + "/images/org/" + data.data.id + ".jpg");
336 338
				}
337 339
				$itemlist.find(".userurl").attr("data-id", data.data.id);
338 340
				$itemlist.find(".userurl").attr("data-iftauth", data.data.authStatus);

+ 2 - 2
app/js/paperShow.js

@ -246,7 +246,7 @@ mui.plusReady(function() {
246 246
			var share = buildShareService("weixin");
247 247
			if(share) {
248 248
				shareMessage(share, "WXSceneSession", {
249
					content: document.getElementById("paperAbstract").innerHTML.substring(0,20),
249
					content: document.getElementById("paperAbstract").innerHTML.substring(0,40),
250 250
					title: document.getElementById("paperName").innerHTML,
251 251
					href: baseUrl + "/e/l.html?id=" + paperId ,
252 252
					thumbs: [oUrl]
@ -256,7 +256,7 @@ mui.plusReady(function() {
256 256
			var share = buildShareService("weixin");
257 257
			if(share) {
258 258
				shareMessage(share, "WXSceneTimeline", {
259
					content: document.getElementById("paperAbstract").innerHTML.substring(0,20),
259
					content: document.getElementById("paperAbstract").innerHTML.substring(0,40),
260 260
					title: document.getElementById("paperName").innerHTML,
261 261
					href: baseUrl + "/e/l.html?id=" + paperId ,
262 262
					thumbs: [oUrl]

+ 2 - 2
app/js/patentShow.js

@ -251,7 +251,7 @@ mui.plusReady(function() {
251 251
			var share = buildShareService("weixin");
252 252
			if(share) {
253 253
				shareMessage(share, "WXSceneSession", {
254
					content: document.getElementById("patentAbstract").innerHTML.substring(0,20),
254
					content: document.getElementById("patentAbstract").innerHTML.substring(0,40),
255 255
					title: document.getElementById("patentName").innerHTML,
256 256
					href: baseUrl + "/e/z.html?id=" + patentId ,
257 257
					thumbs: [oUrl]
@ -261,7 +261,7 @@ mui.plusReady(function() {
261 261
			var share = buildShareService("weixin");
262 262
			if(share) {
263 263
				shareMessage(share, "WXSceneTimeline", {
264
					content: document.getElementById("patentAbstract").innerHTML.substring(0,20),
264
					content: document.getElementById("patentAbstract").innerHTML.substring(0,40),
265 265
					title: document.getElementById("patentName").innerHTML,
266 266
					href: baseUrl + "/e/z.html?id=" + patentId ,
267 267
					thumbs: [oUrl]

+ 21 - 4
app/js/resourceShow.js

@ -101,13 +101,18 @@ mui.plusReady(function() {
101 101
							othisInfo.setAttribute("data-id",mydata.organization.id);
102 102
							othisInfo.setAttribute("data-status",mydata.organization.authStatus);
103 103
							othisInfo.setAttribute("data-type",mydata.resourceType);
104
							othisName.innerHTML = mydata.organization.name;
104
							if(mydata.organization.forShort){
105
								othisName.innerHTML = mydata.organization.forShort;
106
							}else{
107
								othisName.innerHTML = mydata.organization.name;
108
							}
105 109
							if(mydata.organization.subject) {
106 110
								othisOther.innerHTML = (mydata.organization.subject).replace(/,/, " | ");
107 111
							}
108 112
							othisPic.classList.add("cmpHead");
113
							othisPic.innerHTML='<div class="boxBlock" style="width:48px;height:48px;"><img class="boxBlockimg" id="companyImg" src="../images/default-icon.jpg"></div>'
109 114
							if(mydata.organization.hasOrgLogo) {
110
								othisPic.style.backgroundImage = 'url('+ baseUrl +'/images/org/' + mydata.organization.id + '.jpg)';
115
								document.getElementById("companyImg").src= baseUrl + "/images/org/" + mydata.organization.id + ".jpg";
111 116
							}
112 117
							if(mydata.organization.authStatus==3){
113 118
								oauthFlag.classList.add("authicon-com-ok");	
@ -219,8 +224,10 @@ mui.plusReady(function() {
219 224
								dataType: "json",
220 225
								success: function(data) {
221 226
									if(data.success) {
227
										var comName="";
222 228
										if($html[n].article.articleType==1) {
223 229
											var stl = autho(data.data.authType, data.data.orgAuth, data.data.authStatus);
230
											comName=data.data.name;
224 231
										}else {
225 232
											var stl={};
226 233
											stl.sty="";
@ -229,6 +236,11 @@ mui.plusReady(function() {
229 236
												stl.sty="authicon-com-ok";
230 237
												stl.title="认证企业";
231 238
											}
239
											if(data.data.forShort){
240
												comName=data.data.forShort;
241
											}else{
242
												comName=data.data.name;
243
											}
232 244
										}
233 245
										var likeRUl = document.getElementById("likeArtical");
234 246
										var likeRli = document.createElement("li");
@ -244,7 +256,7 @@ mui.plusReady(function() {
244 256
										}
245 257
										str += '<div class="madiaInfo OmadiaInfo">'
246 258
										str += '<p class="mui-ellipsis-2 h1Font">' + $html[n].article.articleTitle + '</p>'
247
										str += '<p><span class="h2Font">' + data.data.name + '</span><em class="authicon ' + stl.sty + '" title="' + stl.title + '"></em></p>'
259
										str += '<p><span class="h2Font">' + comName + '</span><em class="authicon ' + stl.sty + '" title="' + stl.title + '"></em></p>'
248 260
										str += '</div></div>'
249 261
										likeRli.innerHTML = str;
250 262
										likeRUl.appendChild(likeRli,likeRUl.lastChild);
@ -304,7 +316,12 @@ mui.plusReady(function() {
304 316
								stl.sty="authicon-com-ok";
305 317
								stl.title="认证企业";
306 318
							}
307
							var name= $respond[i].organization.name;
319
							var name="";
320
							if($respond[i].organization.forShort){
321
								name= $respond[i].organization.forShort;
322
							}else{
323
								name= $respond[i].organization.name;
324
							}
308 325
						}else {
309 326
							var stl = autho($respond[i].editProfessor.authType, $respond[i].editProfessor.orgAuth, $respond[i].editProfessor.authStatus);
310 327
							var name= $respond[i].editProfessor.name;

+ 35 - 3
app/js/searchListNew2.js

@ -252,7 +252,11 @@ mui.ready(function() {
252 252
						userType = autho($data.editProfessor.authType, $data.editProfessor.orgAuth, $data.editProfessor.authStatus);
253 253
					} else {
254 254
						userType = {};
255
						namepo = $data.organization.name;
255
						if($data.organization.forShort){
256
							namepo = $data.organization.forShort;
257
						}else{
258
							namepo = $data.organization.name;
259
						}
256 260
						if($data.organization.authStatus == 3) {
257 261
							userType.sty = "authicon-com-ok"
258 262
						} else {
@ -367,7 +371,11 @@ mui.ready(function() {
367 371
						}
368 372
						li.setAttribute("owner-id", $data[i].editOrganization.id);
369 373
						li.setAttribute("data-type", 2);
370
						name = $data[i].editOrganization.name;
374
						if($data[i].editOrganization.forShort){
375
							name = $data[i].editOrganization.forShort;
376
						}else{
377
							name = $data[i].editOrganization.name;
378
						}
371 379
					}
372 380
					li.setAttribute("data-id", $data[i].articleId);
373 381
					li.setAttribute("data-flag", 3);
@ -602,7 +610,7 @@ mui.ready(function() {
602 610
					var li = document.createElement("li");
603 611
					li.setAttribute("data-id", $data[i].id);
604 612
					var oimg = ($data[i].hasOrgLogo) ? baseUrl + "/images/org/" + $data[i].id + ".jpg" : "../images/default-icon.jpg";
605
					var oAuth = ($data[i].authStatus == 3) ? 'authicon - com - ok' : '';
613
					var oAuth = ($data[i].authStatus == 3) ? 'authicon-com-ok' : '';
606 614
					var orgName = ($data[i].forShort) ? $data[i].forShort : $data[i].name;
607 615
					var orgType = ($data[i].orgType == '2') ? "上市企业" : "";
608 616
					var orgOther = ($data[i].industry) ? $data[i].industry.replace(/,/gi, " | ") : "";
@ -623,6 +631,8 @@ mui.ready(function() {
623 631
		}
624 632
		if(webview.qiFlag == 1) {
625 633
			document.getElementById("searchval").setAttribute("placeholder", "请输入专家姓名、机构、研究方向");
634
			document.getElementById("sele").classList.remove("displayNone");
635
			document.getElementById("searB").classList.add("searchboxNewT");
626 636
			search.oAjaxGet(baseUrl + "/ajax/professor/pqAPP", {
627 637
				"key": obj.ex,
628 638
				"subject": subject,
@ -634,6 +644,8 @@ mui.ready(function() {
634 644
			}, "get", search.oExeprt);
635 645
		} else if(webview.qiFlag == 2) {
636 646
			document.getElementById("searchval").setAttribute("placeholder", "输入资源名称、用途、机构或相关关键词");
647
			document.getElementById("sele").classList.add("displayNone");
648
			document.getElementById("searB").classList.remove("searchboxNewT");
637 649
			search.oAjaxGet(baseUrl + "/ajax/resource/firstpq", {
638 650
				"key": obj.rs,
639 651
				"pageSize": pageSize,
@ -641,6 +653,8 @@ mui.ready(function() {
641 653
			}, "get", search.resource);
642 654
		} else if(webview.qiFlag == 3) {
643 655
			document.getElementById("searchval").setAttribute("placeholder", "输入文章标题、作者或相关关键词");
656
			document.getElementById("sele").classList.add("displayNone");
657
			document.getElementById("searB").classList.remove("searchboxNewT");
644 658
			search.oAjaxGet(baseUrl + "/ajax/article/firstpq", {
645 659
				"key": obj.ar,
646 660
				"pageSize": pageSize,
@ -648,6 +662,8 @@ mui.ready(function() {
648 662
			}, "get", search.article);
649 663
		} else if(webview.qiFlag == 4) {
650 664
			document.getElementById("searchval").setAttribute("placeholder", "输入专利名称、发明人、专利号或相关关键词");
665
			document.getElementById("sele").classList.add("displayNone");
666
			document.getElementById("searB").classList.remove("searchboxNewT");			
651 667
			search.oAjaxGet(baseUrl + "/ajax/ppatent/pq", {
652 668
				"qw": obj.pt,
653 669
				"pageSize": pageSize,
@ -655,6 +671,8 @@ mui.ready(function() {
655 671
			}, "get", search.patent);
656 672
		} else if(webview.qiFlag == 5) {
657 673
			document.getElementById("searchval").setAttribute("placeholder", "输入论文题目、作者或相关关键词");
674
			document.getElementById("sele").classList.add("displayNone");
675
			document.getElementById("searB").classList.remove("searchboxNewT");	
658 676
			search.oAjaxGet(baseUrl + "/ajax/ppaper/pq", {
659 677
				"qw": obj.pp,
660 678
				"pageSize": pageSize,
@ -662,6 +680,8 @@ mui.ready(function() {
662 680
			}, "get", search.paper);
663 681
		} else if(webview.qiFlag == 6) {
664 682
			document.getElementById("searchval").setAttribute("placeholder", "输入企业名称、产品名称或相关关键词");
683
			document.getElementById("sele").classList.add("displayNone");
684
			document.getElementById("searB").classList.remove("searchboxNewT");	
665 685
			search.oAjaxGet(baseUrl + "/ajax/org/find/pq", {
666 686
				"kw": obj.co,
667 687
				"pageSize": pageSize,
@ -849,6 +869,8 @@ mui.ready(function() {
849 869
			if($this.innerHTML == "找专家") {
850 870
				tabFlag = 1;
851 871
				document.getElementById("searchval").setAttribute("placeholder", "请输入专家姓名、机构、研究方向");
872
				document.getElementById("sele").classList.remove("displayNone");
873
				document.getElementById("searB").classList.add("searchboxNewT");
852 874
				if(key2[0] == 1) {
853 875
					pageNo.ex = 1;
854 876
					search.oAjaxGet(baseUrl + "/ajax/professor/pqAPP", {
@ -883,6 +905,8 @@ mui.ready(function() {
883 905
			} else if($this.innerHTML == "找资源") {
884 906
				tabFlag = 2;
885 907
				document.getElementById("searchval").setAttribute("placeholder", "输入资源名称、用途、机构或相关关键词");
908
				document.getElementById("sele").classList.add("displayNone");
909
				document.getElementById("searB").classList.remove("searchboxNewT");
886 910
				if(key2[2] == 1) {
887 911
					flag = 1;
888 912
					pageNo.rs = 1;
@ -909,6 +933,8 @@ mui.ready(function() {
909 933
			} else if($this.innerHTML == "找文章") {
910 934
				tabFlag = 3;
911 935
				document.getElementById("searchval").setAttribute("placeholder", "输入文章标题、作者或相关关键词");
936
				document.getElementById("sele").classList.add("displayNone");
937
				document.getElementById("searB").classList.remove("searchboxNewT");
912 938
				if(key2[5] == 1) {
913 939
					flag = 1;
914 940
					pageNo.ar = 1;
@ -935,6 +961,8 @@ mui.ready(function() {
935 961
			} else if($this.innerHTML == "找专利") {
936 962
				tabFlag = 4;
937 963
				document.getElementById("searchval").setAttribute("placeholder", "输入专利名称、发明人、专利号或相关关键词");
964
				document.getElementById("sele").classList.add("displayNone");
965
				document.getElementById("searB").classList.remove("searchboxNewT");
938 966
				if(key2[3] == 1) {
939 967
					flag = 1;
940 968
					pageNo.pt = 1;
@ -961,6 +989,8 @@ mui.ready(function() {
961 989
			} else if($this.innerHTML == "找论文") {
962 990
				tabFlag = 5;
963 991
				document.getElementById("searchval").setAttribute("placeholder", "输入论文题目、作者或相关关键词");
992
				document.getElementById("sele").classList.add("displayNone");
993
				document.getElementById("searB").classList.remove("searchboxNewT");
964 994
				if(key2[4] == 1) {
965 995
					flag = 1;
966 996
					pageNo.pp = 1;
@ -987,6 +1017,8 @@ mui.ready(function() {
987 1017
			}else if($this.innerHTML == "找企业") {
988 1018
				tabFlag = 6;
989 1019
				document.getElementById("searchval").setAttribute("placeholder", "输入企业名称、产品名称或相关关键词");
1020
				document.getElementById("sele").classList.add("displayNone");
1021
				document.getElementById("searB").classList.remove("searchboxNewT");
990 1022
				if(key2[1] == 1) {
991 1023
					flag = 1;
992 1024
					pageNo.co = 1;