提交 3fb99cf1 编写于 作者: L Librahang

Minisite:banner上报名链接改成“观看直播”

上级 a6de293d
......@@ -8,7 +8,7 @@ bannerM= "./img/summitBannerMobile_en.png"
DesignSummit1= "Design Summit "
DesignSummit2= "(SIG Workshop)"
registerUrlAtBanner = "https://e.huawei.com/en/form/event/en/open-euler-virtual-summit-2020"
registerUrlAtBanner = "http://live.vhall.com/976318980?invite="
step1 = "CFP"
date1InPC = "3rd - 9th April"
......
......@@ -7,7 +7,7 @@ bannerM= "./img/summitBannerMobile_zh.png"
DesignSummit1= "设计峰会"
DesignSummit2= "(项目组专题研讨)"
registerUrlAtBanner = "https://e.huawei.com/cn/form/event/en/open-euler-virtual-summit-2020"
registerUrlAtBanner = "http://live.vhall.com/976318980?invite="
step1 = "议题召集"
date1InPC = "4 月 3 日 - 4 月 9 日"
......
......@@ -1258,7 +1258,13 @@
<!--涉及对HUGO框架变量的引用,需要把Js写在single.html,不然会有问题。故以下代码不提取到Js文件-->
<script>
var traceData = window.location.search;
var registerUrl='{{.Params.registerUrlAtBanner}}' + traceData;
traceData = traceData.split('?')[1];
var registerUrl;
if(traceData){
registerUrl='{{.Params.registerUrlAtBanner}}' + traceData;
}else{
registerUrl='{{.Params.registerUrlAtBanner}}'
}
$('.bannerRegister').attr('href',registerUrl);
</script>
</body>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册