jack 7 年 前
コミット
07811f846b
共有2 個のファイルを変更した3 個の追加4 個の削除を含む
  1. 2 3
      app/js/cmpInforShow.js
  2. 1 1
      app/js/public/base.js

+ 2 - 3
app/js/cmpInforShow.js

@ -73,7 +73,6 @@ mui.ready(function() {
73 73
				timeout: 10000, //超时设置
74 74
				success: function(data) {
75 75
					if(data.success) {
76
						console.log(JSON.stringify(data));
77 76
						var web = plus.webview.currentWebview()
78 77
						plus.nativeUI.closeWaiting();
79 78
						web.show("slide-in-right", 150);
@ -84,7 +83,7 @@ mui.ready(function() {
84 83
							document.getElementById("companyName").innerText = $data.forShort;
85 84
						}else{
86 85
							document.getElementById("companyNameT").innerText = $data.name;
87
							document.getElementById("companyName").innerText = $data.name;
86
							document.getElementById("companyName").innerHTML = $data.name;
88 87
						}
89 88
						
90 89
						if($data.hasOrgLogo) {
@ -101,7 +100,7 @@ mui.ready(function() {
101 100
						if($data.city) {
102 101
							document.getElementById("address").innerHTML = '<em class="mui-icon iconfontnew icon-address"></em> ' + $data.city;
103 102
						} else {
104
							document.getElementById("address").parentNode.style.display = "none";
103
							document.getElementById("address").style.display = "none";
105 104
						}
106 105

107 106
						/*企业简介*/

+ 1 - 1
app/js/public/base.js

@ -1,7 +1,7 @@
1 1
//公共文件
2 2
mui.init();
3 3
//var baseUrl = "http://www.ekexiu.com",
4
var baseUrl = "http://192.168.3.233:81",
4
var baseUrl = "http://192.168.3.233",
5 5
//var baseUrl = "http:192.168.3.85:80",    
6 6
	toastStyle = {
7 7
		'verticalAlign': 'top',