浏览代码

企业主页

luyanan 7 年之前
父节点
当前提交
aaa0a2036f
共有 2 个文件被更改,包括 2 次插入22 次删除
  1. 1 1
      app/html/cmpInforShow.html
  2. 1 21
      app/js/cmpInforShow.js

+ 1 - 1
app/html/cmpInforShow.html

46
			<div class="showCardI">
46
			<div class="showCardI">
47
				<div class="cardTop">
47
				<div class="cardTop">
48
					<div class="cardImg cmpCard">
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
					</div>
50
					</div>
51
					<div class="cardInfo">
51
					<div class="cardInfo">
52
						<p><span class="h1Font" id="companyName"></span><em class="authicon" id="authFlag"></em></p>
52
						<p><span class="h1Font" id="companyName"></span><em class="authicon" id="authFlag"></em></p>

+ 1 - 21
app/js/cmpInforShow.js

298
						if($data.resMgr){
298
						if($data.resMgr){
299
							resourceListVal();
299
							resourceListVal();
300
							serviceListVal();
300
							serviceListVal();
301
							document.getElementsByClassName("establishments").style.display="block"
301
							document.getElementsByClassName("establishments")[0].style.display="block"
302
						}
302
						}
303
						if($data.forShort) {
303
						if($data.forShort) {
304
							document.getElementById("companyNameT").innerText = $data.forShort;
304
							document.getElementById("companyNameT").innerText = $data.forShort;
345
						}
345
						}
346

346

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

458

471
					}
459
					}
472
				},
473
				error: function() {
474
					plus.nativeUI.toast("服务器链接超时", toastStyle);
475
					return;
476
				}
460
				}
477
			});
461
			});
478
		}
462
		}
515
						document.getElementById("likePro").appendChild(add);
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
		}