Browse Source

企业主页

luyanan 7 years ago
parent
commit
aaa0a2036f
2 changed files with 2 additions and 22 deletions
  1. 1 1
      app/html/cmpInforShow.html
  2. 1 21
      app/js/cmpInforShow.js

+ 1 - 1
app/html/cmpInforShow.html

@ -46,7 +46,7 @@
46 46
			<div class="showCardI">
47 47
				<div class="cardTop">
48 48
					<div class="cardImg cmpCard">
49
						<div class="boxBlock"><img class="boxBlockimg companyImg" id="oimg" src="../images/default-icon.jpg"></div>
49
						<div class="boxBlock"><img class="boxBlockimg companyImg" id="oimg"></div>
50 50
					</div>
51 51
					<div class="cardInfo">
52 52
						<p><span class="h1Font" id="companyName"></span><em class="authicon" id="authFlag"></em></p>

+ 1 - 21
app/js/cmpInforShow.js

@ -298,7 +298,7 @@ mui.ready(function() {
298 298
						if($data.resMgr){
299 299
							resourceListVal();
300 300
							serviceListVal();
301
							document.getElementsByClassName("establishments").style.display="block"
301
							document.getElementsByClassName("establishments")[0].style.display="block"
302 302
						}
303 303
						if($data.forShort) {
304 304
							document.getElementById("companyNameT").innerText = $data.forShort;
@ -345,10 +345,6 @@ mui.ready(function() {
345 345
						}
346 346

347 347
					}
348
				},
349
				error: function() {
350
					plus.nativeUI.toast("服务器链接超时", toastStyle);
351
					return;
352 348
				}
353 349
			});
354 350
		}
@ -430,19 +426,11 @@ mui.ready(function() {
430 426
											add.innerHTML = itemlist;
431 427
											document.getElementById("relateArt").appendChild(add);
432 428
										}
433
									},
434
									error: function() {
435
										plus.nativeUI.toast("服务器链接超时", toastStyle);
436
										return;
437 429
									}
438 430
								});
439 431
							})(i);
440 432
						}
441 433
					}
442
				},
443
				error: function() {
444
					plus.nativeUI.toast("服务器链接超时", toastStyle);
445
					return;
446 434
				}
447 435
			});
448 436
		}
@ -469,10 +457,6 @@ mui.ready(function() {
469 457
						}
470 458

471 459
					}
472
				},
473
				error: function() {
474
					plus.nativeUI.toast("服务器链接超时", toastStyle);
475
					return;
476 460
				}
477 461
			});
478 462
		}
@ -515,10 +499,6 @@ mui.ready(function() {
515 499
						document.getElementById("likePro").appendChild(add);
516 500

517 501
					}
518
				},
519
				error: function() {
520
					plus.nativeUI.toast("服务器链接超时", toastStyle);
521
					return;
522 502
				}
523 503
			});
524 504
		}