re> 355 355
<script type="text/javascript" src="js/popup.js"></script>
356
<script>
357

358
	//微信分享
359
	var qrcode = new QRCode(document.getElementById("qrcode"), {
360
		width: 100,
361
		height: 100
362
	});
363

364
	function makeCode() {
365
		var hurl = window.location.host;
366
		var professorId = GetQueryString("professorId");
367
		var elurl = "http://" + hurl + "/e/p.html?id=" + professorId;
368
		qrcode.makeCode(elurl);
369
	}
370
	makeCode();
371

356
<script>
357
358
	//微信分享
359
	var qrcode = new QRCode(document.getElementById("qrcode"), {
360
		width: 100,
361
		height: 100
362
	});
363
364
	function makeCode() {
365
		var hurl = window.location.host;
366
		var professorId = GetQueryString("professorId");
367
		var elurl = "http://" + hurl + "/e/p.html?id=" + professorId;
368
		qrcode.makeCode(elurl);
369
	}
370
	makeCode();
371
372 372
	//分享关注按钮
373 373
	$('.shareWeixin').hover(function(){$('.shareCode').stop(true,false).fadeToggle();});
374 374
	
@ -376,7 +376,7 @@
376 376
		$(this).addClass("liNow").siblings().removeClass("liNow");
377 377
		$(".leftconBox .leftconItem").eq($(this).index()).show().siblings().hide();
378 378
	})
379
	
379
	
380 380
</script>
381 381
</body>
382 382

jiapeng/portal-front - Gogs: Go Git Service

1 次代码提交 (b99a2ca637d70a917a96c959eb7579d8af0289f0)

作者 SHA1 备注 提交日期
  xuchunyang bdf84638b6 编辑器组件 8 年之前