Ver Código Fonte

图片修改

xuchunyang 8 anos atrás
pai
commit
f44173cc05
3 arquivos alterados com 6 adições e 2 exclusões
  1. 4 0
      app/js/attentions.js
  2. 1 1
      app/js/index.js
  3. 1 1
      app/js/searchhome.js

+ 4 - 0
app/js/attentions.js

@ -92,6 +92,7 @@ function getOneExpert(pageNo, pageSize) {
92 92
			dataType: 'json', //数据格式类型
93 93
			type: 'GET', //http请求类型
94 94
			//timeout: 10000,
95
			async:false, 
95 96
			success: function(data) {
96 97
				if(data.success && data.data.data != "") {
97 98
					var datalist = data.data.data;
@ -120,6 +121,7 @@ function getOneResources(pageNo, pageSize) {
120 121
			dataType: 'json', //数据格式类型
121 122
			type: 'GET', //http请求类型
122 123
			//timeout: 10000,
124
			async:false,
123 125
			success: function(data) {
124 126
				plus.nativeUI.closeWaiting();
125 127
				plus.webview.currentWebview().show("slide-in-right", 150);
@ -151,6 +153,7 @@ function expert2(pageNo, pageSize) {
151 153
				dataType: 'json', //数据格式类型
152 154
				type: 'GET', //http请求类型
153 155
				timeout: 10000,
156
				async:false,
154 157
				success: function(data) {
155 158
					console.log(data.success)
156 159
					if(data.success && data.data.data != "") {
@ -191,6 +194,7 @@ function expert2(pageNo, pageSize) {
191 194
				dataType: 'json', //数据格式类型
192 195
				type: 'GET', //http请求类型
193 196
				timeout: 10000,
197
				async:false,
194 198
				success: function(data) {
195 199
					console.log(data.success)
196 200
					if(data.success && data.data.data != "") {

+ 1 - 1
app/js/index.js

@ -138,7 +138,7 @@ function datalistEach(datalist) {
138 138
		
139 139
		/*获取头像*/
140 140
		if(item.hasHeadImage == 1) {
141
			var img = "../images/head/" + item.id + "_m.jpg";
141
			var img = baseUrl + "/images/head/" + item.id + "_l.jpg";
142 142
		} else {
143 143
			var img = "../images/default-photo.jpg";
144 144
		}

+ 1 - 1
app/js/searchhome.js

@ -438,7 +438,7 @@ function datalistEach(datalist) {
438 438
		
439 439
		/*获取头像*/
440 440
		if(item.hasHeadImage == 1) {
441
			var img = baseUrl + "/images/head/" + item.id + "_m.jpg";
441
			var img = baseUrl + "/images/head/" + item.id + "_l.jpg";
442 442
		} else {
443 443
			var img = "../images/default-photo.jpg";
444 444
		}