Explorar el Código

去掉资源文章企业信息的公司成立时间

luyanan %!s(int64=8) %!d(string=hace) años
padre
commit
1d30586931

+ 2 - 2
articalInfo.html

@ -104,8 +104,8 @@
104 104
					</div>
105 105
					<div class="proInfo">
106 106
						<div class="h3Font clearfix">
107
							<span class="named" id="nameS"></span>
108
							<span class="modifyicon authicon authicon-cu" style="margin-top:3px;" id="authFlag"></span>
107
							<span style="font-size:18px;color:#000;" id="nameS"></span>
108
							<span class="authiconNew authicon-pro" id="authFlag"></span>
109 109
						</div>
110 110
						<p class="h5Font" id="orgType"></p>
111 111
						<p class="h5Font"><span id="qualificationList"></span></p>

+ 1 - 13
cmp-portal/js/cmp-needList.js

@ -94,19 +94,7 @@ $(document).ready(function() {
94 94
			} else {
95 95
				oImg = "../images/default-photo.jpg"
96 96
			}
97
			if($obje.authType) {
98
				var typeTname = " authicon authicon-cu"
99
			} else {
100
				if($obje.authStatus == 3) {
101
					if($obje.authentication == 1) {
102
						var typeTname = " authicon2 authicon-mana";
103
					} else if($obje.authentication == 2) {
104
						var typeTname = " authicon2 authicon-staff";
105
					} else {
106
						var typeTname = " authicon2 authicon-stu"
107
					}
108
				}
109
			}
97

110 98
			oTime = $data[i]["createTime"].substr(0, 4) + "年" + $data[i].createTime.substr(4, 2) + "月" + $data[i].createTime.substr(6, 2) + "日" +
111 99
				$data[i].createTime.substr(8, 2) + ":" + $data[i].createTime.substr(10, 2);
112 100
			var oClass = autho($obje.authType, $obje.orgAuth, $obje.authStatus);

+ 1 - 1
cmp-portal/js/companybrowinfor.js

@ -264,7 +264,7 @@ $(document).ready(function() {
264 264
						$("#reachArticle").append($add);
265 265
						$add.find('.tagsBox span').text(data.data[i].industry); //data.data[i].subject
266 266
						if(data.data[i].articleImg) {
267
							$add.find(".art_img").attr("style", "background: url(/data/article/" + data.data[i].articleImg + ") 0 0 no-repeat;background-size:cover;");
267
							$add.find(".art_img").attr("style", "background: url(/data/article/" + data.data[i].articleImg + ") center center no-repeat;background-size:cover;");
268 268
						}
269 269

270 270
					}

+ 4 - 4
js/articalInfo.js

@ -227,10 +227,10 @@ $(document).ready(function() {
227 227
					} else {
228 228
						$("#headImg,#proHead").attr("src", "images/default-icon.jpg");
229 229
					}
230
					if($data.foundTime) {
231
						var oTime = $data.foundTime.substring(0,4)+"-"+$data.foundTime.substring(4,6)+"-"+$data.foundTime.substring(6,8);
232
						$("#createTime").text(oTime);
233
					} 
230
//					if($data.foundTime) {
231
//						var oTime = $data.foundTime.substring(0,4)+"-"+$data.foundTime.substring(4,6)+"-"+$data.foundTime.substring(6,8);
232
//						$("#createTime").text(oTime);
233
//					} 
234 234
					if($data.city) {
235 235
						$("#ocity").text($data.city);
236 236
					}

+ 1 - 13
js/resourceInfo.js

@ -50,19 +50,7 @@ $(document).ready(function() {
50 50
					if(info.success) {
51 51
						//console.log(info)
52 52
						var $info = info.data;
53
						if($info.editProfessor.authType) {
54
							$("#authFlag").addClass("authicon authicon-cu");
55
						} else {
56
							if($info.editProfessor.authStatus==3) {
57
								if($info.editProfessor.authentication == 1) {
58
									$("#authFlag").addClass("authicon2 authicon-mana");
59
								} else if($info.editProfessor.authentication == 2) {
60
									$("#authFlag").addClass("authicon2 authicon-staff");
61
								} else {
62
									$("#authFlag").addClass("authicon2 authicon-stu");
63
								}
64
							}
65
						}
53
						
66 54
						$(".h2Font").text($info.resourceName);
67 55
						$("#application").text($info.supportedServices);
68 56
						professorId = $info.professorId;

+ 2 - 2
resourceInfo.html

@ -83,8 +83,8 @@
83 83
					</div>
84 84
					<div class="proInfo">
85 85
						<div class="h3Font clearfix">
86
							<span class="named" id="nameS"></span>
87
							<span class="modifyicon authicon authicon-cu" style="margin-top:3px;" id="authFlag"></span>
86
							<span style="font-size:18px;color:#000;" id="nameS"></span>
87
							<span class="authiconNew authicon-pro" id="authFlag"></span>
88 88
						</div>
89 89
						<p class="h5Font"><span id="title"></span><span id="office"></span></p>
90 90
						<p class="h5Font"><span id="department"></span></p>