[add & optimize] add wip component & rwd
agenda sample rwd add wip component for work in process fixed ts warning
This commit is contained in:
1 parent
318dab3d51
commit
c3c9dc9d98
8 files changed
+139
-27
No files matched your search
+8
-6
@@ -41,14 +41,16 @@ export default class App extends Vue {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public isRoot(): boolean {
|
public isRoot (): boolean {
|
||||||
if (
|
if (
|
||||||
this.$route.name == "CFP" ||
|
this.$route.name === 'CFP' ||
|
||||||
this.$route.name === "news" ||
|
this.$route.name === 'news' ||
|
||||||
this.$route.name === "ocfp-news"
|
this.$route.name === 'ocfp-news'
|
||||||
)
|
) {
|
||||||
return false;
|
return false;
|
||||||
else return true;
|
} else {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private detectDeviceType (mq: (MediaQueryList | MediaQueryListEvent)): void {
|
private detectDeviceType (mq: (MediaQueryList | MediaQueryListEvent)): void {
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="186" height="186" viewBox="0 0 186 186"><defs><style>.a{fill:#2368ff;}.b,.f{fill:#5fe6ff;}.b,.c,.e,.f,.i{stroke:#000;}.b,.c,.d,.e,.f,.i{stroke-linecap:round;stroke-linejoin:round;}.b,.d,.e{stroke-width:3px;}.c,.e,.h{fill:#fff;}.c{stroke-width:4px;}.d,.i{fill:none;}.d{stroke:#040000;}.g{fill:#b3b3b3;stroke:#231815;stroke-miterlimit:10;stroke-width:0.5px;}</style></defs><g transform="translate(-368.319 -356.193)"><circle class="a" cx="93" cy="93" r="93" transform="translate(368.319 356.193)"/><path class="b" d="M440.151,468.619H507.7L534.725,487.8H413.13Z" transform="translate(-11.511 -28.685)"/><path class="c" d="M443.758,412.882l-29.4,39.719,25.274,42.222,67.89,1.236,26.6-42.332L503.4,412.849Z" transform="translate(-11.823 -14.52)"/><path class="d" d="M418.3,466.224c18.478.292,36.925,3.678,55.4,3.97,20.447.323,40.923-2.449,61.369-2.126" transform="translate(-12.824 -28.077)"/><ellipse class="e" cx="6.683" cy="9.829" rx="6.683" ry="9.829" transform="translate(446.722 417.434)"/><ellipse cx="3.276" cy="5.259" rx="3.276" ry="5.259" transform="translate(450.129 422.004)"/><ellipse class="e" cx="6.683" cy="9.829" rx="6.683" ry="9.829" transform="translate(464.231 417.551)"/><ellipse cx="3.276" cy="5.259" rx="3.276" ry="5.259" transform="translate(467.638 422.121)"/><path class="f" d="M434.01,476.979q-6.119-23.439-12.091-46.915,11.011-1.7,21.985-3.639,2.55,25.1,7.216,49.924" transform="translate(-13.744 -17.968)"/><path class="b" d="M420.972,537.9l-7.842-43.573h121.6l-9.2,43.573Z" transform="translate(-11.511 -35.214)"/><path class="g" d="M528.3,500.966a73.04,73.04,0,0,0,13.777,11.159c1.647.989,3.488,1.943,5.393,1.688a2.123,2.123,0,0,0,1.909-1.388,2.228,2.228,0,0,0-.087-1.07,12.736,12.736,0,0,0-3.46-5.12c-3.846-4.008-8.408-7.837-12.629-11.448" transform="translate(-40.763 -35.331)"/><path class="g" d="M523.921,496.987c-2.943,1.6-6.6,2.971-9.509,1.321a7.242,7.242,0,0,1-3.272-5.534,21.418,21.418,0,0,1,.6-6.616,7.633,7.633,0,0,0,3.186,4.3,4.03,4.03,0,0,0,5.519-5.761,7.311,7.311,0,0,0-4.906-2.98c.225-1.115,1.407-1.742,2.5-2.066a13.052,13.052,0,0,1,8.848.531,6.535,6.535,0,0,1,3.635,3.276c.974,2.419-.378,5.094-1.689,7.347" transform="translate(-36.384 -31.352)"/><g transform="translate(425.48 478.263)"><path class="h" d="M448.764,521.741a1.976,1.976,0,0,0-.521-.313,1.384,1.384,0,0,0-.505-.1.817.817,0,0,0-.5.147.456.456,0,0,0-.2.383.378.378,0,0,0,.1.269.846.846,0,0,0,.256.184,2.2,2.2,0,0,0,.359.134c.133.038.265.078.395.122a2.472,2.472,0,0,1,1.144.7,1.717,1.717,0,0,1,.363,1.136,2.21,2.21,0,0,1-.159.855,1.786,1.786,0,0,1-.464.656,2.146,2.146,0,0,1-.75.424,3.132,3.132,0,0,1-1.006.151,3.7,3.7,0,0,1-2.158-.692l.684-1.287a2.763,2.763,0,0,0,.709.472,1.7,1.7,0,0,0,.692.154.826.826,0,0,0,.582-.179.554.554,0,0,0,.142-.648.517.517,0,0,0-.163-.187,1.344,1.344,0,0,0-.3-.159q-.184-.073-.444-.163c-.207-.065-.409-.137-.607-.216a1.91,1.91,0,0,1-.529-.314,1.449,1.449,0,0,1-.375-.492,1.733,1.733,0,0,1-.142-.753,2.172,2.172,0,0,1,.151-.827,1.824,1.824,0,0,1,.423-.635,1.883,1.883,0,0,1,.668-.412,2.525,2.525,0,0,1,.884-.146,3.863,3.863,0,0,1,.953.126,4.176,4.176,0,0,1,.953.371Z" transform="translate(-445.115 -519.998)"/><path class="h" d="M459.047,520.227v6.14h-1.6v-6.14Z" transform="translate(-448.248 -520.056)"/><path class="h" d="M468.36,521.579v4.789h-1.6v-4.789h-1.311v-1.352h4.218v1.352Z" transform="translate(-450.281 -520.056)"/><path class="h" d="M481.221,522.221a1.7,1.7,0,0,0-1.368-.676,1.668,1.668,0,0,0-.664.131,1.625,1.625,0,0,0-.525.354,1.651,1.651,0,0,0-.346.533,1.754,1.754,0,0,0-.126.668,1.772,1.772,0,0,0,.126.676,1.629,1.629,0,0,0,1.527,1.026,1.849,1.849,0,0,0,1.376-.651v1.89l-.163.057a4.8,4.8,0,0,1-.684.192,3.353,3.353,0,0,1-.627.061,3.209,3.209,0,0,1-2.243-.917,3.366,3.366,0,0,1-.713-1.034,3.316,3.316,0,0,1,0-2.606A3.244,3.244,0,0,1,479.755,520a3.316,3.316,0,0,1,.721.078,4.367,4.367,0,0,1,.745.239Z" transform="translate(-453.092 -519.998)"/><path class="h" d="M488.836,523.239a3.162,3.162,0,0,1,2.024-2.993,3.9,3.9,0,0,1,2.74,0,3.239,3.239,0,0,1,1.079.688,3.169,3.169,0,0,1,.7,1.03,3.348,3.348,0,0,1,0,2.549,3.162,3.162,0,0,1-.7,1.03,3.241,3.241,0,0,1-1.079.689,3.9,3.9,0,0,1-2.74,0,3.175,3.175,0,0,1-2.024-2.993Zm1.67,0a1.647,1.647,0,0,0,.138.676,1.691,1.691,0,0,0,.924.891,1.776,1.776,0,0,0,1.881-.354,1.684,1.684,0,0,0,.379-.537,1.726,1.726,0,0,0,0-1.353,1.684,1.684,0,0,0-.379-.537,1.757,1.757,0,0,0-1.217-.48,1.775,1.775,0,0,0-.664.126,1.691,1.691,0,0,0-.924.891A1.648,1.648,0,0,0,490.506,523.239Z" transform="translate(-456.22 -519.998)"/><path class="h" d="M504.217,526.367v-6.14h1.6l2.947,3.755v-3.755h1.588v6.14h-1.588l-2.947-3.754v3.754Z" transform="translate(-460.126 -520.056)"/><path class="h" d="M519.677,520.227h1.393l-1.5,2.7h-.944Z" transform="translate(-463.786 -520.056)"/><path class="h" d="M532.642,526.312H527.7l1.523-1.58q.6-.627.945-1.062a5.843,5.843,0,0,0,.509-.737,1.967,1.967,0,0,0,.208-.489,1.553,1.553,0,0,0,.04-.318.817.817,0,0,0-.045-.268.657.657,0,0,0-.648-.456.637.6Line truncated
|
||||||
|
After Width: | Height: | Size: 5.8 KiB |
@@ -1,23 +1,65 @@
|
|||||||
@import './breakpoint';
|
@import './breakpoint';
|
||||||
@import './color';
|
@import './color';
|
||||||
|
|
||||||
$fontFamily: "Noto Serif CJK TC -Black";
|
$fontFamily: "Noto Serif CJK TC -SemiBold";
|
||||||
|
$fontFamilyVote: "Noto Serif CJK TC -Black";
|
||||||
|
|
||||||
|
@mixin RWDFontSize {
|
||||||
|
font-size: 14pt;
|
||||||
|
@media screen and (max-width: $max-width-medium-0) {
|
||||||
|
font-size: 12pt;
|
||||||
|
}
|
||||||
|
@media screen and (max-width: $max-width-small-0) {
|
||||||
|
font-size: 10pt;
|
||||||
|
}
|
||||||
|
@media screen and (max-width: $max-width-small-2) {
|
||||||
|
font-size: 8pt
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@mixin RWDWidth {
|
||||||
|
max-width: 80%;
|
||||||
|
@media screen and (max-width: $max-width-medium-0) {
|
||||||
|
max-width: 85%;
|
||||||
|
}
|
||||||
|
@media screen and (max-width: $max-width-small-0) {
|
||||||
|
max-width: 85%;
|
||||||
|
}
|
||||||
|
@media screen and (max-width: $max-width-small-2) {
|
||||||
|
max-width: 85%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@mixin RWDButton {
|
||||||
|
font-size: 16pt;
|
||||||
|
line-height: 1.44;
|
||||||
|
@media screen and (max-width: $max-width-medium-0) {
|
||||||
|
|
||||||
|
}
|
||||||
|
@media screen and (max-width: $max-width-small-0) {
|
||||||
|
font-size: 14pt;
|
||||||
|
line-height: 1.3;
|
||||||
|
}
|
||||||
|
@media screen and (max-width: $max-width-small-2) {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#agenda {
|
#agenda {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
max-width: 1200px;
|
@include RWDWidth;
|
||||||
|
padding-top: 50px;
|
||||||
|
|
||||||
font-family: $fontFamily;
|
font-family: $fontFamily;
|
||||||
font-size: 22px;
|
@include RWDFontSize;
|
||||||
|
|
||||||
article {
|
article {
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
line-height: 2;
|
line-height: 2;
|
||||||
|
margin: 50px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
p.vote {
|
p.vote {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 80px 0;
|
padding: 50px 0;
|
||||||
|
|
||||||
a.vote.button {
|
a.vote.button {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@@ -27,18 +69,20 @@ $fontFamily: "Noto Serif CJK TC -Black";
|
|||||||
border: none;
|
border: none;
|
||||||
border-radius: 32px;
|
border-radius: 32px;
|
||||||
|
|
||||||
font: inherit;
|
font-family: $fontFamilyVote;
|
||||||
|
//font-size: 16pt;
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 26px;
|
//line-height: 1.44;
|
||||||
line-height: 1.44;
|
@include RWDButton;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ol.vote.rule {
|
ol.vote.rule {
|
||||||
counter-reset: 0;
|
counter-reset: 0;
|
||||||
|
list-style-type: decimal;
|
||||||
|
|
||||||
li {
|
li {
|
||||||
line-height: 2;
|
line-height: 3;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,39 @@
|
|||||||
|
<template>
|
||||||
|
<div id="wip">
|
||||||
|
<img
|
||||||
|
class="wip-dev-icon"
|
||||||
|
src="~@/assets/images/teams/dev.svg"
|
||||||
|
/>
|
||||||
|
<h1>施工中...</h1>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<script lang="ts">
|
||||||
|
import { Component, Prop, Vue } from 'vue-property-decorator';
|
||||||
|
@Component
|
||||||
|
export default class WIP extends Vue {
|
||||||
|
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<style lang="scss">
|
||||||
|
|
||||||
|
$fontFamily: "Noto Serif CJK TC -Black";
|
||||||
|
|
||||||
|
#wip {
|
||||||
|
width: 70%;
|
||||||
|
margin: 150px auto;
|
||||||
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
.wip-dev-icon {
|
||||||
|
width: 150px;
|
||||||
|
margin: 20px 0;
|
||||||
|
}
|
||||||
|
h1 {
|
||||||
|
font-size: 24pt;
|
||||||
|
font-family: $fontFamily;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
</style>
|
||||||
@@ -9,17 +9,18 @@
|
|||||||
<p class="vote"><a class="vote button" href="https://docs.google.com/forms/d/e/1FAIpQLSdWJtLP96bqXWukmOEar0xiBfGScm3qAlp-Xii05-cmU2Gxlg/viewform" target="_blank" rel="noopeener">投票去</a></p>
|
<p class="vote"><a class="vote button" href="https://docs.google.com/forms/d/e/1FAIpQLSdWJtLP96bqXWukmOEar0xiBfGScm3qAlp-Xii05-cmU2Gxlg/viewform" target="_blank" rel="noopeener">投票去</a></p>
|
||||||
<article>
|
<article>
|
||||||
【注意事項】
|
【注意事項】
|
||||||
<ol class="vote rule">
|
<ol class="vote rule" start="0" type="1">
|
||||||
<li>0. 事前人氣投票結果,將作為議程組與審稿委員會於安排議程時段與會議廳的參考依據之一。</li>
|
<li>事前人氣投票結果,將作為議程組與審稿委員會於安排議程時段與會議廳的參考依據之一。</li>
|
||||||
<li>1. 投票為「記名投票」,使用 KKTIX 四碼檢查碼作為投票依據。議程組以檢查碼辨識投票的人是否持有年會門票,不對外公布各組檢查碼的具體投票內容。</li>
|
<li>投票為「記名投票」,使用 KKTIX 四碼檢查碼作為投票依據。議程組以檢查碼辨識投票的人是否持有年會門票,不對外公布各組檢查碼的具體投票內容。</li>
|
||||||
<li>2. 三個議程種類(Espresso、Double Espresso 與 Presentation)可各選擇投給 1 個議程。</li>
|
<li>三個議程種類(Espresso、Double Espresso 與 Presentation)可各選擇投給 1 個議程。</li>
|
||||||
<li>3. 若同一議程種類選擇超過一個議程,或不選擇任何議程,視為無效票。各個議程種類的選票有效性互相獨立,無效票不影響其他議程種類的選票認定,舉例來說,若 Espresso 選擇 2 個議程、Double Espresso 選擇 1 個議程、Presentation 選擇 0 個議程,則 Double Espresso 的部分為有效票,其他二種議程為無效票。</li>
|
<li>若同一議程種類選擇超過一個議程,或不選擇任何議程,視為無效票。各個議程種類的選票有效性互相獨立,無效票不影響其他議程種類的選票認定,舉例來說,若 Espresso 選擇 2 個議程、Double Espresso 選擇 1 個議程、Presentation 選擇 0 個議程,則 Double Espresso 的部分為有效票,其他二種議程為無效票。</li>
|
||||||
<li>4. 此投票表單使用 Google Forms「隨機決定問題順序」功能決定各個議程的顯示順序。</li>
|
<li>此投票表單使用 Google Forms「隨機決定問題順序」功能決定各個議程的顯示順序。</li>
|
||||||
<li>5. 在投票截止前,可以使用同一組檢查碼重複投票。計票時以最新一筆投票記錄為準。</li>
|
<li>在投票截止前,可以使用同一組檢查碼重複投票。計票時以最新一筆投票記錄為準。</li>
|
||||||
</ol>
|
</ol>
|
||||||
</article>
|
</article>
|
||||||
<!-- Vote Section End -->
|
<!-- Vote Section End -->
|
||||||
<!-- Event Section -->
|
<!-- Event Section -->
|
||||||
|
<!-- wip
|
||||||
<BlockTitle text="活動" id="#event" />
|
<BlockTitle text="活動" id="#event" />
|
||||||
<div v-if="!isMobile()" class="event container">
|
<div v-if="!isMobile()" class="event container">
|
||||||
<img class="arrow" src="@/assets/images/arrow-left.svg">
|
<img class="arrow" src="@/assets/images/arrow-left.svg">
|
||||||
@@ -31,6 +32,7 @@
|
|||||||
<EventBlock text="開放式\n議程"/>
|
<EventBlock text="開放式\n議程"/>
|
||||||
<img class="arrow" src="@/assets/images/arrow-right.svg">
|
<img class="arrow" src="@/assets/images/arrow-right.svg">
|
||||||
</div>
|
</div>
|
||||||
|
-->
|
||||||
<div v-if="isMobile()" class="mobile event container">
|
<div v-if="isMobile()" class="mobile event container">
|
||||||
<!-- TODO -->
|
<!-- TODO -->
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+10
-2
@@ -1,7 +1,15 @@
|
|||||||
<template> </template>
|
<template>
|
||||||
|
<WIP></WIP>
|
||||||
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { Component, Prop, Vue } from 'vue-property-decorator';
|
import { Component, Prop, Vue } from 'vue-property-decorator';
|
||||||
|
|
||||||
@Component({})
|
import WIP from '@/components/WIP.vue';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
components: {
|
||||||
|
WIP
|
||||||
|
}
|
||||||
|
})
|
||||||
export default class Team extends Vue {}
|
export default class Team extends Vue {}
|
||||||
</script>
|
</script>
|
||||||
+10
-2
@@ -1,7 +1,15 @@
|
|||||||
<template> </template>
|
<template>
|
||||||
|
<WIP></WIP>
|
||||||
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { Component, Prop, Vue } from 'vue-property-decorator';
|
import { Component, Prop, Vue } from 'vue-property-decorator';
|
||||||
|
|
||||||
@Component({})
|
import WIP from '@/components/WIP.vue';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
components: {
|
||||||
|
WIP
|
||||||
|
}
|
||||||
|
})
|
||||||
export default class Traffic extends Vue {}
|
export default class Traffic extends Vue {}
|
||||||
</script>
|
</script>
|
||||||
+10
-2
@@ -1,7 +1,15 @@
|
|||||||
<template> </template>
|
<template>
|
||||||
|
<WIP></WIP>
|
||||||
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { Component, Prop, Vue } from 'vue-property-decorator';
|
import { Component, Prop, Vue } from 'vue-property-decorator';
|
||||||
|
|
||||||
@Component({})
|
import WIP from '@/components/WIP.vue';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
components: {
|
||||||
|
WIP
|
||||||
|
}
|
||||||
|
})
|
||||||
export default class Venue extends Vue {}
|
export default class Venue extends Vue {}
|
||||||
</script>
|
</script>
|
||||||
Reference in new issue
Block a user