li 7 years ago
parent
commit
f0a995e723
4 changed files with 284 additions and 168 deletions
  1. 1 1
      cmp-portal/js/cmp-serviceIssue.js
  2. 245 101
      js/sevricePreview.js
  3. 1 1
      js/sevriceShow.js
  4. 37 65
      sevricePreview.html

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

361
					if(!sevriceId)
361
					if(!sevriceId)
362
						sevriceId = data.data;
362
						sevriceId = data.data;
363
					$("#deleteResource").removeClass("disableLi").addClass("deleteResource");
363
					$("#deleteResource").removeClass("disableLi").addClass("deleteResource");
364
					window.open("sevricePreview.html?sevriceId=" + data.data);
364
					window.open("../sevricePreview.html?sevriceId=" + sevriceId);
365
					getRecourceMe();
365
					getRecourceMe();
366
					//弹出预览
366
					//弹出预览
367
				} else if(pa2 == 2) {
367
				} else if(pa2 == 2) {

+ 245 - 101
js/sevricePreview.js

1
$(document).ready(function() {
1
$(document).ready(function() {
2
	loginStatus(); //判断个人是否登录
2
	loginStatus(); //判断个人是否登录
3
	valUser();
4
	var userid = $.cookie("userid");
3
	var userid = $.cookie("userid");
4
	var sevriceId = GetQueryString("sevriceId");
5
	if(navigator.userAgent.match(/(iPhone|iPod|Android|ios)/i)) {
6
		location.href = "http://" + window.location.host + "/e/r.html?id=" + sevriceId;
7
	}
5
	$(".jqzoom").imagezoom();
8
	$(".jqzoom").imagezoom();
6
	$("#thumblist").on("click", "li a", function() {
9
	$("#thumblist").on("click", "li a", function() {
7
		$(this).parents("li").addClass("tb-selected").siblings().removeClass("tb-selected");
10
		$(this).parents("li").addClass("tb-selected").siblings().removeClass("tb-selected");
11
	$('.shareWeixin').hover(function() {
14
	$('.shareWeixin').hover(function() {
12
		$('.shareCode').stop(true, false).fadeToggle();
15
		$('.shareCode').stop(true, false).fadeToggle();
13
	});
16
	});
14
	var resourceId = GetQueryString("resourceId");
17

18
	function ajaxRequist(url, obj, type, fn) {
19
		$.ajax({
20
			url: url,
21
			data: obj,
22
			dataType: 'json', //服务器返回json格式数据
23
			type: type, //支持'GET'和'POST'
24
			traditional: true,
25
			success: function(data) {
26
				if(data.success) {
27
					fn(data)
28
				}
29
			},
30
			error: function(xhr, type, errorThrown) {
31
				$.MsgBox.Alert('提示', '服务器请求失败');
32
			}
33
		});
34
	}
35
	ifcollectionAbout(sevriceId, $("#attention").find("em"), 2)
15
	var professorId = "";
36
	var professorId = "";
16
	getRecourceMe();
37
	getRecourceMe();
17
	/*获取资源信息*/
38

39
	//热门资源
40
	
41
	/*获取服务信息*/
18
	function getRecourceMe() {
42
	function getRecourceMe() {
19
		$.ajax({
43
		$.ajax({
20
			"url": "/ajax/resource/queryOne",
44
			"url": "/ajax/ware/qo",
21
			"type": "GET",
45
			"type": "GET",
22
			"success": function(data) {
46
			"success": function(data) {
23
				console.log(data);
24
				if(data.success) {
47
				if(data.success) {
25
					resourceHtml(data.data);
48
					resourceHtml(data.data);
26
					var resourceName = data.data.resourceName + "-科袖网";
27
					window.setTimeout(function() {
28
						document.title = resourceName;
29
					}, 500);
49
					var resourceName = data.data.name + "-科袖网";
50
					document.title = resourceName;
30
				}
51
				}
31
			},
52
			},
32
			"data": {
53
			"data": {
33
				"resourceId": resourceId
54
				"id": sevriceId
34
			},
55
			},
35
			dataType: "json",
56
			dataType: "json",
36
			'error': function() {
57
			'error': function() {
53
	}
74
	}
54
	/*处理资源html代码*/
75
	/*处理资源html代码*/
55
	function resourceHtml($da) {
76
	function resourceHtml($da) {
56
		$("#resourceName").text($da.resourceName); //名字
57
		$("#application").text($da.supportedServices); //应用用途
58
		if($da.editProfessor) {
59
			$("#person").show();
60
			if($da.orgName) { //所属机构
61
				$("#organizationName").text($da.orgName).parents("li").show();
62
			}
63
			$("#nameS").text($da.editProfessor.name); //"office": "", //职位 "title": "", //职称
64
			if($da.editProfessor.title) {
65
				$("#titleOffice").text($da.editProfessor.title);
66
			} else {
67
				if($da.editProfessor.office) {
68
					$("#titleOffice").text($da.editProfessor.office);
69
				}
70
			}
71
			if($da.editProfessor.orgName) {
72
				$("#orgType").text($da.editProfessor.orgName);
73
			}
74
			professorId = $da.editProfessor.id;
75
			var professorFlag = autho($da.editProfessor.authType, $da.editProfessor.orgAuth, $da.editProfessor.authStatus);
76
			$("#authFlag").addClass(professorFlag.sty).attr("title", professorFlag.title);
77
			if($da.editProfessor.hasHeadImage == 1) {
78
				$("#headImg").css("background-image", 'url(/images/head/' + $da.editProfessor.id + '_l.jpg)');
79
			}
80
		}else {
81
			$("#enterprise,#resPerson").show();
82
			if($da.organization.hasOrgLogo) {
83
				$("#companyImg").attr("src", "/images/org/" + $da.organization.id + ".jpg");
84
			}else{
85
				$("#companyImg").attr("src", "/images/default-icon.jpg");
86
			}
87
			if($da.organization.authStatus==3){
88
				$("#QauthFlag").addClass("authicon-com-ok").attr("title", "认证企业");	
89
			}
90
			$("#Qname").text($da.organization.name);
91
			$("#Qindustry").text($da.organization.subject);
92
			$("#QorgType").text(orgTypeShow[$da.organization.orgType])
93
		}
94
		if($da.spec) { //厂商型号
95
			$("#modelNumber").text($da.spec).parents("li").show();
77
		$("#resourceName").text($da.name); //名字
78
		if($da.cnt){
79
			$("#application").text($da.cnt); //应用用途
80
		}else{
81
			$("#application").parent().hide();
96
		}
82
		}
97
		if($da.parameter) { //性能参数
98
			$("#performancePa").html(outHTML($da.parameter)).parents("li").show();
83
		
84
		if($da.category == 1) {
85
			ajaxRequist("/ajax/professor/baseInfo/" + $da.owner, {}, "get", function(data) {
86
				$da.editProfessor = data.data;
87
				$("#person").show();
88
				if($da.orgName) { //所属机构
89
					$("#organizationName").text($da.orgName).parents("li").show();
90
				}
91
				$("#nameS").text($da.editProfessor.name);
92
				if($da.editProfessor.title) {
93
					$("#titleOffice").text($da.editProfessor.title);
94
				} else {
95
					if($da.editProfessor.office) {
96
						$("#titleOffice").text($da.editProfessor.office);
97
					}
98
				}
99
				if($da.editProfessor.orgName) {
100
					$("#orgType").text($da.editProfessor.orgName);
101
				}
102
				professorId = $da.editProfessor.id;
103
				if(userid != professorId) {
104
					ifcollectionAbout(professorId, $("#person").find(".attenSpan"), 1)
105
					$(".goSpan").show();
106
				}
107
				var professorFlag = autho($da.editProfessor.authType, $da.editProfessor.orgAuth, $da.editProfessor.authStatus);
108
				$("#authFlag").addClass(professorFlag.sty).attr("title", professorFlag.title);
109
				if($da.editProfessor.hasHeadImage == 1) {
110
					$("#headImg").css("background-image", 'url(/images/head/' + $da.editProfessor.id + '_l.jpg)');
111
				} else {
112
					$("#headImg").css("background-image", 'url(../images/default-photo.jpg)');
113
				}
114

115
			})
116
		} else {
117
			ajaxRequist("/ajax/org/" + $da.owner, {}, "get", function(data) {
118
				$da.organization = data.data;
119
				$("#enterprise").show();
120
				if($da.organization.hasOrgLogo) {
121
					$("#companyImg").attr("src", "/images/org/" + $da.organization.id + ".jpg");
122
				} else {
123
					$("#companyImg").attr("src", "/images/default-icon.jpg");
124
				}
125
				if($da.organization.authStatus == 3) {
126
					$("#QauthFlag").addClass("authicon-com-ok").attr("title", "认证企业");
127
				}
128
				if($da.organization.forShort) {
129
					$("#Qname").text($da.organization.forShort).attr("href", "cmpInforShow.html?orgId=" + $da.organization.id);
130
				} else {
131
					$("#Qname").text($da.organization.name).attr("href", "cmpInforShow.html?orgId=" + $da.organization.id);
132
				}
133

134
				$("#Qindustry").text($da.organization.industry);
135
				$("#QorgType").text(orgTypeShow[$da.organization.orgType])
136
				if(userid) {
137
					ifcollectionAbout($da.organization.id, $("#enterprise").find(".attenSpan"), 6)
138
				}
139
			})
99
		}
140
		}
100
		if($da.cooperationNotes) { //合作备注
101
			$("#remarkContent").html(outHTML($da.cooperationNotes)).parents("li").show();
141
		if($da.cooperation) { //合作备注
142
			$("#remarkContent").html(outHTML($da.cooperation)).parents("li").show();
102
		}
143
		}
103
		if($da.subject) {
104
			var oSub = $da.subject.split(",");
144
		if($da.keywords) {
145
			var oSub = $da.keywords.split(",");
105
			var oSt = "";
146
			var oSt = "";
106
			for(var i = 0; i < oSub.length; i++) {
147
			for(var i = 0; i < oSub.length; i++) {
107
				oSt += '<li><p class="h2Font">' + oSub[i] + '</p></li>'
148
				oSt += '<li><p class="h2Font">' + oSub[i] + '</p></li>'
111
		if($da.descp) { //编辑器
152
		if($da.descp) { //编辑器
112
			$("#descp").html($da.descp).parents("li").show();
153
			$("#descp").html($da.descp).parents("li").show();
113
		}
154
		}
155
		
156
		
114
		//return;
157
		//return;
115
		if($da.images.length) {
158
		if($da.images) {
159
			
160
		
161
		if($da.images.split(",").length) {
162
			var weibopic = "http://" + window.location.host + "/data/ware" + $da.images.split(",")[0];
116
			$("#firstFigure").attr({
163
			$("#firstFigure").attr({
117
				"src": "/data/resource/" + $da.images[0].imageSrc,
118
				"rel": "/data/resource/" + $da.images[0].imageSrc
119
			}).parent().attr("href", "/data/resource/" + $da.images[0].imageSrc);
164
				"src": "/data/ware" + $da.images.split(",")[0],
165
				"rel": "/data/ware" + $da.images.split(",")[0]
166
			}).parent().attr("href", "/data/ware" + $da.images.split(",")[0]);
120
			var arr = "";
167
			var arr = "";
121
			for(var i = 0; i < $da.images.length; i++) {
122
				if($da.images[i] == $da.images[0]) {
168
			for(var i = 0; i < $da.images.split(",").length; i++) {
169
				if($da.images.split(",")[i] == $da.images.split(",")[0]) {
123
					var oString = '<li class="tb-selected">' +
170
					var oString = '<li class="tb-selected">' +
124
						'<div class="tb-pic tb-s66">' +
171
						'<div class="tb-pic tb-s66">' +
125
						'<a href="javascript:void(0);">' +
172
						'<a href="javascript:void(0);">' +
126
						'<img src="/data/resource/' + $da.images[i].imageSrc + '"/>' +
173
						'<img src="/data/ware' + $da.images.split(",")[i] + '"/>' +
127
						'</a>' +
174
						'</a>' +
128
						'</div>' +
175
						'</div>' +
129
						'</li>'
176
						'</li>'
131
					var oString = '<li >' +
178
					var oString = '<li >' +
132
						'<div class="tb-pic tb-s66">' +
179
						'<div class="tb-pic tb-s66">' +
133
						'<a href="javascript:void(0);">' +
180
						'<a href="javascript:void(0);">' +
134
						'<img src="/data/resource/' + $da.images[i].imageSrc + '"/>' +
181
						'<img src="/data/ware' + $da.images.split(",")[i] + '"/>' +
135
						'</a>' +
182
						'</a>' +
136
						'</div>' +
183
						'</div>' +
137
						'</li>'
184
						'</li>'
140
				arr += oString;
187
				arr += oString;
141
			}
188
			}
142
			$("#thumblist").html(arr);
189
			$("#thumblist").html(arr);
190
			}
191
		} else {
192
			var weibopic = "http://" + window.location.host + "../images/default-service.jpg";
193
			$("#firstFigure").attr({
194
				"src": '../images/default-service.jpg',
195
				"rel": '../images/default-service.jpg'
196
			});
143
		}
197
		}
144

145
	}
198
	}
146
	
199
	
200
	//关键词标签点击进去搜索
201
	$(".tagList").on("click", "li", function() {
202
		var tagText = $(this).find("p").text();
203
		location.href = "searchNew.html?searchContent=" + tagText + "&tagflag=7";
204
	})
205
	seresource()
206
	/*感兴趣的资源*/
207
	function seresource() {
208
		$.ajax({
209
			"url": "/ajax/ware/res",
210
			"type": "GET",
211
			"data": {
212
				"id": sevriceId
213
			},
214
			"traditional": true,
215
			dataType: "json",
216
			"success": function(data) {
217
				if(data.success) {
218
					if(data.data.length == 0) {
219
						return;
220
					}
221
					$("#oResource").parents(".otherShow").removeClass("displayNone");
222
					for(var i = 0; i < data.data.length; i++) {
223
						(function(n) {
224
							ajaxRequist("/ajax/resource/queryOne", {
225
								"resourceId": data.data[n].resource
226
							}, "get", function(data) {
227
								sevrResource(data.data);
228
							})
229
						})(i)
230
					}
231
				}
232
			},
233
			'error': function() {
234
				$.MsgBox.Alert('提示', '服务器连接超时!');
235
			}
236
		});
237
	}
238
	/*感兴趣资源的html*/
239
	function sevrResource($respond) {
240
		var imgL = "../images/default-resource.jpg";
241
		if($respond.images.length) {
242
			imgL = '/data/resource/' + $respond.images[0].imageSrc
243
		}
244
		var oURL;
245
		if($respond.resourceType == 1) {
246
			oURL = "/ajax/professor/baseInfo/" + $respond.professorId;
247
		} else {
248
			oURL = "/ajax/org/" + $respond.orgId;
249
		}
250
		$.ajax({
251
			"url": oURL,
252
			"type": "GET",
253
			'dataType': "json",
254
			"success": function(data) {
255
				if(data.success) {
256
					var add = document.createElement("li");
257
					add.className = "mui-table-view-cell";
258
					add.setAttribute("data-id", $respond.resourceId);
259
					var itemlist = '<a class="flexCenter OflexCenter"><div class="madiaHead resourceHead" style="background-image:url(' + imgL + ')"></div>';
260
					itemlist += '<div class="madiaInfo OmadiaInfo">';
261
					itemlist += '<p class="ellipsisSty h1Font" id="usertitle">' + $respond.resourceName + '</p>';
262
					itemlist += '<p class="ellipsisSty-2 h2Font">用途:' + $respond.supportedServices + '</p>';
263
					itemlist += '</div></a>';
147

264

265
					add.innerHTML = itemlist;
266
					document.getElementById("oResource").appendChild(add);
267
				}
268
			},
269
			'error': function() {
270
				$.MsgBox.Alert('提示', '服务器连接超时!');
271
			}
272
		});
273
	}
274
	/*点击资源列表*/
275
	$("#oResource").on("click", "li", function() {
276
		location.href = "resourceShow.html?resourceId=" + $(this).attr("data-id");
277
	})
148
	selUse();
278
	selUse();
279

149
	function selUse() {
280
	function selUse() {
150
		$.ajax({
281
		$.ajax({
151
			url: "/ajax/resource/qaLinkman",
282
			url: "/ajax/ware/pro",
152
			type: "GET",
283
			type: "GET",
153
			timeout: 10000,
284
			timeout: 10000,
154
			dataType: "json",
285
			dataType: "json",
155
			async:true,
286
			async: true,
156
			data: {
287
			data: {
157
				"resourceId": resourceId,
288
				"id": sevriceId,
158
			},
289
			},
159
			success: function(data, textState) {
290
			success: function(data, textState) {
160
				console.log(data)
161
				if(data.success) {
291
				if(data.success) {
162
					unauthUser(data.data);
292
					if(data.data.length > 0) {
293
						$("#expertli").parents(".currentBlock").removeClass("displayNone");
294
						unauthUser(data.data);
295
					} else {
296
						$("#expertli").parents(".currentBlock").addClass("displayNone");
297
					}
298

163
				}
299
				}
164
			},
300
			},
165
			error: function(XMLHttpRequest, textStats, errorThrown) {
301
			error: function(XMLHttpRequest, textStats, errorThrown) {
167
			}
303
			}
168
		})
304
		})
169
	}
305
	}
170
	function unauthUser($res) {
171
	var osting=""
172
	for(var i = 0; i < $res.length; i++) {
173
		var img;
174
		var styC="";
175
		var oClass = autho($res[i].professor.authType, $res[i].professor.orgAuth, $res[i].professor.authStatus);
176
		var oTitle="";
177
		if($res[i].professor.title) {
178
			oTitle=$res[i].professor.title;
179
		}else{
180
			if($res[i].professor.office) {
181
				oTitle=$res[i].professor.office;
182
			}
306

307
	function unauthUser(data) {
308
		for(var i = 0; i < data.length; i++) {
309
			(function(i) {
310
				ajaxRequist("/ajax/professor/baseInfo/" + data[i].professor, {}, "get", function(data) {
311
					
312
					var $res=data.data;
313
					var osting = ""
314
					var img;
315
					var styC = "";
316
					var oClass = autho($res.authType, $res.orgAuth, $res.authStatus);
317
					var oTitle = "";
318
					if($res.title) {
319
						oTitle = $res.title;
320
					} else {
321
						if($res.office) {
322
							oTitle = $res.office;
323
						}
324
					}
325
					if($res.hasHeadImage) {
326
						img = "/images/head/" + $res.id + "_l.jpg";
327
					} else {
328
						img = "../images/default-photo.jpg"
329
					}
330
					var oSt = '<li class="flexCenter">'
331
					oSt += '<div class="madiaHead useHead" id="userimg" style="background-image: url(' + img + ');"></div>'
332
					oSt += '<div class = "madiaInfo">'
333
					oSt += '<p class = "ellipsisSty">'
334
					oSt += '<span class = "h1Font" id="name">' + $res.name + '</span><em class="authiconNew ' + oClass.sty + '" title="' + oClass.title + '"></em >'
335
					oSt += '</p>'
336
					oSt += '<p class="h2Font ellipsisSty">' + oTitle + '</p>'
337
					oSt += '</div>'
338
					oSt += '</li>'
339
					osting += oSt;
340

341
					$("#expertli").html(osting);
342
				})
343
			})(i)
183
		}
344
		}
184
		if($res[i].professor.hasHeadImage) {
185
				img = "/images/head/" + $res[i].professor.id + "_l.jpg";
186
			} else {
187
				img = "../images/default-photo.jpg"
188
			}
189
		var oSt = '<li>'
190
		oSt += '<div class="madiaHead useHead" id="userimg" style="background-image: url('+img+');"></div>'
191
		oSt += '<div class = "madiaInfo">'
192
		oSt += '<p class = "ellipsisSty">'
193
		oSt += '<span class = "h1Font" id="name">'+$res[i].professor.name+'</span><em class="authicon '+oClass.sty+'" title="'+oClass.title+'"></em >'
194
		oSt += '</p>'
195
		oSt += '<p class="h2Font ellipsisSty">'+oTitle+'</p>'
196
		oSt += '</div>'
197
		oSt += '<div class="'+styC+'" flag=1></div>'
198
		oSt += '</li>'
199
		osting+=oSt;
200
	}
345
	}
201
	$("#expertli").html(osting);
202
}
346

203
})
347
})

+ 1 - 1
js/sevriceShow.js

245
	//关键词标签点击进去搜索
245
	//关键词标签点击进去搜索
246
	$(".tagList").on("click", "li", function() {
246
	$(".tagList").on("click", "li", function() {
247
		var tagText = $(this).find("p").text();
247
		var tagText = $(this).find("p").text();
248
		location.href = "searchNew.html?searchContent=" + tagText + "&tagflag=2";
248
		location.href = "searchNew.html?searchContent=" + tagText + "&tagflag=7";
249
	})
249
	})
250
	seresource()
250
	seresource()
251
	/*感兴趣的资源*/
251
	/*感兴趣的资源*/

+ 37 - 65
sevricePreview.html

12
<link type="text/css" href="css/genindex.css" rel="stylesheet">
12
<link type="text/css" href="css/genindex.css" rel="stylesheet">
13
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
13
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
14
<script type="text/javascript" src="js/jquery.imagezoom.min.js"></script>
14
<script type="text/javascript" src="js/jquery.imagezoom.min.js"></script>
15

15
</head>
16
</head>
16

17

17
<body>
18
<body>
28
						<div class="Imagebox floatL">
29
						<div class="Imagebox floatL">
29
		                    <div class="tb-booth tb-pic tb-s360">
30
		                    <div class="tb-booth tb-pic tb-s360">
30
		                        <a href="" target="_blank">
31
		                        <a href="" target="_blank">
31
		                            <img src="" alt="美女" rel="" class="jqzoom" id="firstFigure"/>
32
		                            <img src="" class="jqzoom" id="firstFigure"/>
32
		                        </a>
33
		                        </a>
33
		                    </div>
34
		                    </div>
34
		                    <ul class="tb-thumb" id="thumblist">
35
		                    <ul class="tb-thumb" id="thumblist">
37
		                </div>
38
		                </div>
38
		                <div class="reInfoBlock floatL">
39
		                <div class="reInfoBlock floatL">
39
		                	<div class="h1Font" id="resourceName"></div>
40
		                	<div class="h1Font" id="resourceName"></div>
40
		                	<div class="h2Font">应用用途:<span id="application"></span></div>
41
		                	<div class="operateBlock resShareUl" style="display:none">
42
		                		<ul>
43
		                			<li id="attention"><span>收藏</span> <em class="operateicon operateicon2 icon-collect"></em></li>
44
									<li>
45
										<span>分享到</span>
46
										<em class="operateicon operateicon2 icon-sina"></em>
47
										<em class="operateicon operateicon2 icon-wechat shareWeixin">
48
											<div class="shareCode clearfix">
49
												<div class="floatL" id="qrcode"></div>
50
												<div class="shareWord floatR">
51
													<p>打开微信“扫一扫”,<br/>打开网页后点击屏幕右上角“分享”按钮</p>
52
												</div>
53
											</div>
54
										</em>
55
									</li>
56
		                		</ul>
57
		                	</div>
41
		                	<div class="h2Font">服务内容:<span id="application"></span></div>
42
		                	
58
		                </div>
43
		                </div>
59
	                </div>
44
	                </div>
60
	                <div class="showReOther">
45
	                <div class="showReOther">
61
						<!--资源详情区-->
46
						<!--资源详情区-->
62
						<div class="showMain showMain2">
47
						<div class="showMain showMain2">
63
							<ul>
48
							<ul>
64
								<li class="displayNone" id="orgName">
65
									<div class="showTit">所属机构:</div>
66
									<div class="showCon" id="organizationName">
67
									</div>
68
								</li>
69
								<li>
70
									<div class="showTit">厂商型号:</div>
71
									<div class="showCon" id="modelNumber">
72
									</div>
73
								</li>
74
								<li>
75
									<div class="showTit">性能参数:</div>
76
									<div class="showCon" id="performancePa">
77
									</div>
78
								</li>
79
								<li>
49
								<li>
80
									<div class="showTit">合作备注:</div>
50
									<div class="showTit">合作备注:</div>
81
									<div class="showCon" id="remarkContent">
51
									<div class="showCon" id="remarkContent">
92
						<ul class="tagList">
62
						<ul class="tagList">
93
							
63
							
94
						</ul>
64
						</ul>
65
						<!--相关资源-->
66
						<div class="form-item otherShow displayNone">
67
							<div class="aboutTit">相关资源</div>
68
							<div class="form-result aboutRes pointOk">
69
								<ul id="oResource">
70
								</ul>
71
							</div>
72
						</div>
95
					</div>
73
					</div>
96
				</div>
74
				</div>
97
			</div>
75
			</div>
106
						<p class="h2Font" id="titleOffice"></p>
84
						<p class="h2Font" id="titleOffice"></p>
107
						<p class="h2Font" id="orgType"></p>
85
						<p class="h2Font" id="orgType"></p>
108
					</div>
86
					</div>
87
					
88
					<div class="form-item otherBlock currentBlock displayNone">
89
						<div class="aboutTit">热门服务</div>
90
						<div class="form-result currentArt">
91
							<ul class="recentlyList">
92
							</ul>
93
						</div>
94
					</div>	
109
				</div>
95
				</div>
110
				<div class="conItem conItemG alignCenter displayNone" id="enterprise">
96
				<div class="conItem conItemG alignCenter displayNone" id="enterprise">
111
					<a class="qiyego">
97
					<a  class="qiyego">
112
						<div class="madiaHead cmpHead" id="Qimg">
98
						<div class="madiaHead cmpHead" id="Qimg">
113
							<div class="boxBlock">
99
							<div class="boxBlock">
114
								<img class="boxBlockimg" src="" id="companyImg">
100
								<img class="boxBlockimg" src="" id="companyImg">
115
							</div>
101
							</div>
116
						</div>
102
						</div>
117
					</a>
103
					</a>
118
					<div class="proInfo alignCenter">
104
					<div class="proInfo">
119
						<div class="h3Font clearfix">
105
						<div class="h3Font clearfix">
120
							<a class="h1Font qiyego" id="Qname"></a>
106
							<a  class="h1Font qiyego" id="Qname"></a>
121
							<span class="authiconNew" title="" id="QauthFlag"></span>
107
							<span class="authiconNew" title="" id="QauthFlag"></span>
122
						</div>
108
						</div>
123
						<p class="h2Font ellipsisSty" id="Qindustry"></p>
109
						<p class="h2Font ellipsisSty" id="Qindustry"></p>
124
						<p class="h2Font" id="QorgType"></p>
110
						<p class="h2Font" id="QorgType"></p>
125
					</div>
111
					</div>
126
				</div>
127
				<div class="conItem displayNone" id="resPerson">
128
					<div class="form-item otherBlock">
129
						<div class="aboutTit">负责人/联系人</div>
130
						<div class="form-result addexpertRe">
112
					
113
					<div class="form-item otherBlock currentBlock displayNone">
114
						<div class="aboutTit">联系人</div>
115
						<div class="form-result addexpertRe" style="margin-top:0">
131
							<ul class="addexpert" id="expertli">
116
							<ul class="addexpert" id="expertli">
132
								
117
								
133
							</ul>
118
							</ul>
134
						</div>
119
						</div>
135
					</div>
120
					</div>
136
					
121
					<div class="form-item otherBlock currentBlock displayNone">
122
						<div class="aboutTit">热门服务</div>
123
						<div class="form-result currentArt">
124
							<ul class="recentlyList">
125
							</ul>
126
						</div>
127
					</div>	
137
				</div>
128
				</div>
138
			</div>
129
			</div>
139
		</div>
130
		</div>
140
	</div>
131
	</div>
141
</div>
132
</div>
133
<!--反馈建议-->
134
<script type="text/javascript" src="js/correctBack.js"></script>
142
<footer>
135
<footer>
143
	<script type="text/javascript" src="js/footer.js"></script>
136
	<script type="text/javascript" src="js/footer.js"></script>
144
</footer>
137
</footer>
145
<script type="text/javascript" src="js/jquery.cookie.js"></script>
138
<script type="text/javascript" src="js/jquery.cookie.js"></script>
146
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
147
<script type="text/javascript" src="js/weixinshare/qrcode.min.js"></script>
148
<script type="text/javascript" src="js/jquery.page.js"></script>
149
<script type="text/javascript" src="js/public/baseUtil.js"></script>
139
<script type="text/javascript" src="js/public/baseUtil.js"></script>
150
<script type="text/javascript" src="js/public/genCom.js"></script> 
140
<script type="text/javascript" src="js/public/genCom.js"></script> 
151
<script type="text/javascript" src="js/resourcePreview.js"></script>
152
<script type="text/javascript">
153

154
	//分享关注按钮
155
	//$('.shareWeixin').hover(function(){$('.shareCode').stop(true,false).fadeToggle();});
156
	
157
	//微信分享
158
	var qrcode = new QRCode(document.getElementById("qrcode"), {
159
		width : 100,
160
		height : 100
161
	});
162
	function makeCode(){
163
		var hurl = window.location.host;
164
		var resourceId =  GetQueryString("resourceId");
165
		var elurl = "http://" + hurl + "/e/r.html?id=" + resourceId ; 
166
		qrcode.makeCode(elurl);
167
	}
168
	makeCode();
169
	
141
<script type="text/javascript" src="js/sevricePreview.js"></script>
170
</script>
142
</script>
171
</body>
143
</body>
172
</html>
144
</html>