[Fix & Update] Fix ts warning and navbar activity
update link in cfp root page
This commit is contained in:
parent
d630fe7b4c
commit
77f45bd6cb
@ -55,7 +55,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="cfp-news">
|
<div class="cfp-news">
|
||||||
<a href="/2021/cfp/news" rel="noopener">
|
<a href="/2021/cfp/ocfp-news" rel="noopener">
|
||||||
<div class="btn-news-wrapper">
|
<div class="btn-news-wrapper">
|
||||||
<img src="~@/assets/images/burnfont/btn-news.svg" id="svg-news" />
|
<img src="~@/assets/images/burnfont/btn-news.svg" id="svg-news" />
|
||||||
</div>
|
</div>
|
||||||
|
@ -98,7 +98,9 @@ export default class CfpHeader extends Vue {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private async onTick (t: number) {
|
private async onTick (t: number) {
|
||||||
if (t<0) this.cfp = false;
|
if (t < 0) {
|
||||||
|
this.cfp = false;
|
||||||
|
}
|
||||||
this.countdown.s = t % 60;
|
this.countdown.s = t % 60;
|
||||||
t = Math.floor(t / 60);
|
t = Math.floor(t / 60);
|
||||||
this.countdown.m = t % 60;
|
this.countdown.m = t % 60;
|
||||||
|
@ -78,7 +78,7 @@ export default class Navbar extends Vue {
|
|||||||
this.isNavbarReturning = true;
|
this.isNavbarReturning = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.isNavbarAnimating = true;
|
this.isNavbarAnimating = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -98,7 +98,9 @@ export default class CfpHeader extends Vue {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private async onTick (t: number) {
|
private async onTick (t: number) {
|
||||||
if (t<0) this.cfp = false;
|
if (t < 0) {
|
||||||
|
this.cfp = false;
|
||||||
|
}
|
||||||
this.countdown.s = t % 60;
|
this.countdown.s = t % 60;
|
||||||
t = Math.floor(t / 60);
|
t = Math.floor(t / 60);
|
||||||
this.countdown.m = t % 60;
|
this.countdown.m = t % 60;
|
||||||
|
@ -43,8 +43,6 @@ export default class Navbar extends Vue {
|
|||||||
'#schedule',
|
'#schedule',
|
||||||
'#example',
|
'#example',
|
||||||
'#code-of-conduct',
|
'#code-of-conduct',
|
||||||
'#info-section',
|
|
||||||
'#process',
|
|
||||||
'#methods',
|
'#methods',
|
||||||
'#review',
|
'#review',
|
||||||
'#precautions',
|
'#precautions',
|
||||||
@ -79,8 +77,7 @@ export default class Navbar extends Vue {
|
|||||||
this.isNavbarFixed = false;
|
this.isNavbarFixed = false;
|
||||||
this.isNavbarReturning = true;
|
this.isNavbarReturning = true;
|
||||||
}
|
}
|
||||||
|
this.isNavbarAnimating = true;
|
||||||
this.isNavbarAnimating = true;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user