Ver Código Fonte

文章修改

xuchunyang 7 anos atrás
pai
commit
adec477c00
2 arquivos alterados com 5 adições e 3 exclusões
  1. 3 1
      js/articalShow.js
  2. 2 2
      js/workindex.js

+ 3 - 1
js/articalShow.js

@ -351,7 +351,9 @@ $(function() {
351 351
										console.log($data)
352 352
										if ($data.success && $data.data){
353 353
											$itemlist.find(".username2").text($data.data.name);
354
											$itemlist.find("#relatedLabels").addClass("authicon-com-ok").attr("title", "认证企业");
354
											if($data.data.authStatus==3){
355
												$itemlist.find("#relatedLabels").addClass("authicon-com-ok").attr("title", "认证企业");
356
											}
355 357
										}
356 358
									},
357 359
									"error":function(){

+ 2 - 2
js/workindex.js

@ -339,7 +339,7 @@ $(function() {
339 339
340 340
	function myNews() {
341 341
		$.ajax({
342
			"url": "/ajax/article/qaPro",
342
			"url": "/ajax/article/qaForDesk",
343 343
			"type": "get",
344 344
			"async": true,
345 345
			"data": {
@ -358,7 +358,7 @@ $(function() {
358 358
						add += '</a></li>';
359 359
						$add = $(add);
360 360
						$("#myNews").append($add);
361
						$add.find('.tagsBox span').text(data.data[i].industry);
361
						$add.find('.tagsBox span').text(data.data[i].subject);
362 362
						if(data.data[i].articleImg) {
363 363
							$add.find(".art_img").attr("style", "background: url(/data/article/" + data.data[i].articleImg + ") 0 0 no-repeat;background-size:cover;");
364 364
						}