jack 7 years ago
parent
commit
5e8e10c16d
2 changed files with 8 additions and 2 deletions
  1. 7 1
      js/common.js
  2. 1 1
      js/footer2.js

+ 7 - 1
js/common.js

@ -20,7 +20,13 @@ $(document).ready(function() {
20 20
			location.href = "cmp-portal/cmp-settled-reg.html"
21 21
		}
22 22
	})
23
23
	$("#cmpSet3").on("click", function() {
24
		if(orgid && orgid != "null" && orgid != null) {
25
			location.href = "/cmp-portal/cmp-workspaces.html"
26
		} else {
27
			location.href = "/cmp-portal/cmp-settled-reg.html"
28
		}
29
	})
24 30
});
25 31
//搜索框跳转页面
26 32

+ 1 - 1
js/footer2.js

@ -7,7 +7,7 @@ footerHtml += '<div class="container-fulid">'+
7 7
								'<div class="logo-block"></div>'+
8 8
								'<p>' +
9 9
									'<a class="listlink" href="/about.html" target="_blank" rel="nofollow">关于我们</a>' +
10
									'<a class="listlink" href="javascript:void(0);" rel="nofollow" id="cmpSet2">企业入驻</a>' +
10
									'<a class="listlink" href="javascript:void(0);" rel="nofollow" id="cmpSet3">企业入驻</a>' +
11 11
									'<a class="listlink" href="javascript:void(0);" rel="nofollow" id="perso">我是专家</a>' +
12 12
									'<a class="listlink" href="/privacy.html" target="_blank" rel="nofollow">用户协议</a>' +
13 13
									'<a class="listlink" href="/download.html" target="_blank" rel="nofollow">产品下载</a>' +