Browse Source

隐藏企业模块找文章及相关文章

lyn7568 5 years ago
parent
commit
3c28a3ccac
1 changed files with 7 additions and 7 deletions
  1. 7 7
      e/c.html

+ 7 - 7
e/c.html

86
				</ul>
86
				</ul>
87
			</div>
87
			</div>
88
		</div>
88
		</div>
89
		<div class="mainbox displayNone">
89
		<!-- <div class="mainbox displayNone">
90
			<div class="infocontit">文章</div>
90
			<div class="infocontit">文章</div>
91
			<div class="infocon madiaBlock">
91
			<div class="infocon madiaBlock">
92
				<ul class="mui-table-view" id="articelShow">
92
				<ul class="mui-table-view" id="articelShow">
93
			    </ul>
93
			    </ul>
94
			</div>
94
			</div>
95
			<div class="seeMore displayNone" id="seeMoreArtical"><em>查看全部 <span id="articalNum">0</span>篇</em></div>
95
			<div class="seeMore displayNone" id="seeMoreArtical"><em>查看全部 <span id="articalNum">0</span>篇</em></div>
96
		</div>
96
		</div> -->
97
		<!--相关文章-->
97
		<!--相关文章-->
98
		<div class="mainbox displayNone">
98
		<!-- <div class="mainbox displayNone">
99
			<div class="infocontit">相关文章</div>
99
			<div class="infocontit">相关文章</div>
100
			<div class="infocon madiaBlock">
100
			<div class="infocon madiaBlock">
101
				<ul class="mui-table-view" id="relateArt">
101
				<ul class="mui-table-view" id="relateArt">
102
			    </ul>
102
			    </ul>
103
			</div>
103
			</div>
104
		</div>
104
		</div> -->
105
		<!--您可能感兴趣的qiye-->
105
		<!--您可能感兴趣的qiye-->
106
		<div class="mainbox displayNone">
106
		<div class="mainbox displayNone">
107
			<div class="infocontit">您可能感兴趣的企业</div>
107
			<div class="infocontit">您可能感兴趣的企业</div>
187
			}, "get", function(res) {
187
			}, "get", function(res) {
188
				var obj = res.data;
188
				var obj = res.data;
189
				if(obj.length > 0) {
189
				if(obj.length > 0) {
190
					document.getElementById(aimId).parentNode.parentNode.classList.remove("displayNone");
190
					// document.getElementById(aimId).parentNode.parentNode.classList.remove("displayNone");
191
191
192
					for(var i = 0; i < obj.length; i++) {
192
					for(var i = 0; i < obj.length; i++) {
193
						var hasImg = "../images/default-artical.jpg"
193
						var hasImg = "../images/default-artical.jpg"
204
							'<p class="h2Font ellipsisSty"><span class="time">' + commenTime(obj[i].publishTime) + '</span></p>' +
204
							'<p class="h2Font ellipsisSty"><span class="time">' + commenTime(obj[i].publishTime) + '</span></p>' +
205
							'</div>' +
205
							'</div>' +
206
							'</div>'
206
							'</div>'
207
						document.getElementById(aimId).appendChild(li);
207
						// document.getElementById(aimId).appendChild(li);
208
					}
208
					}
209
				}
209
				}
210
			})
210
			})
490
			"traditional": true, //传数组必须加这个
490
			"traditional": true, //传数组必须加这个
491
			"success" : function(data) {
491
			"success" : function(data) {
492
				if (data.success && data.data!=""){
492
				if (data.success && data.data!=""){
493
					document.getElementById("relateArt").parentNode.parentNode.classList.remove("displayNone");
493
					// document.getElementById("relateArt").parentNode.parentNode.classList.remove("displayNone");
494
					document.getElementById("relateArt").innerHTML="";
494
					document.getElementById("relateArt").innerHTML="";
495
					var StrData = data.data
495
					var StrData = data.data
496
					var lengthT;
496
					var lengthT;