|
@@ -75,14 +75,14 @@
|
|
|
:key="index">
|
|
|
<ul>
|
|
|
<li class="list-item-icon">
|
|
|
- <svg-icon v-if="item.eventType == 'homeWork'" icon-class="doc" />
|
|
|
- <svg-icon v-if="item.eventType == 'preview'" icon-class="selflearninginTime" />
|
|
|
- <svg-icon v-if="item.eventType == 'exam'" icon-class="multiTest" />
|
|
|
- <svg-icon v-if="item.eventType == 'vote'" icon-class="vote" />
|
|
|
- <svg-icon v-if="item.eventType == 'survey'" icon-class="quesnaire" />
|
|
|
+ <svg-icon v-if="item.eventType == 'HomeWork'" icon-class="doc" />
|
|
|
+ <svg-icon v-if="item.eventType == 'Preview'" icon-class="selflearninginTime" />
|
|
|
+ <svg-icon v-if="item.eventType == 'Exam'" icon-class="multiTest" />
|
|
|
+ <svg-icon v-if="item.eventType == 'Vote'" icon-class="vote" />
|
|
|
+ <svg-icon v-if="item.eventType == 'Survey'" icon-class="quesnaire" />
|
|
|
</li>
|
|
|
<li class="list-item-info"
|
|
|
- v-if="item.eventType == 'exam'">
|
|
|
+ v-if="item.eventType == 'Exam'">
|
|
|
<p class="list-item-title">
|
|
|
<span class="list-item-typeMark">{{item.scope == 'school' ? $t('studentWeb.public.schoolExam'):$t('studentWeb.public.privateExam')}}</span>
|
|
|
<span>{{ item.name }}</span>
|
|
@@ -92,7 +92,7 @@
|
|
|
</p>
|
|
|
</li>
|
|
|
<li class="list-item-info"
|
|
|
- v-if="item.eventType == 'vote'">
|
|
|
+ v-if="item.eventType == 'Vote'">
|
|
|
<p class="list-item-title">
|
|
|
<span class="list-item-typeMark">{{item.scope == 'school' ? $t('studentWeb.public.schoolVote'):$t('studentWeb.public.privateVote')}}</span>
|
|
|
<span>{{ item.name }}</span>
|
|
@@ -102,7 +102,7 @@
|
|
|
</p>
|
|
|
</li>
|
|
|
<li class="list-item-info"
|
|
|
- v-if="item.eventType == 'survey'">
|
|
|
+ v-if="item.eventType == 'Survey'">
|
|
|
<p class="list-item-title">
|
|
|
<span class="list-item-typeMark">{{item.scope == 'school' ? $t('studentWeb.public.schoolSurvey'):$t('studentWeb.public.privateSurvey')}}</span>
|
|
|
<span>{{ item.name }}</span>
|
|
@@ -149,29 +149,29 @@
|
|
|
havejustfinishedItem: false, //無剛完成的數據情況,清單項目變動將會影響空白狀態之呈現
|
|
|
typeNametoIcon: [
|
|
|
{
|
|
|
- eventType: "preview",
|
|
|
+ eventType: "Hreview",
|
|
|
iconClass: "selflearninginTime",
|
|
|
},
|
|
|
{
|
|
|
- eventType: "exam",
|
|
|
+ eventType: "Exam",
|
|
|
iconClass: "test",
|
|
|
},
|
|
|
{
|
|
|
- eventType: "homeWork",
|
|
|
+ eventType: "HomeWork",
|
|
|
iconClass: "doc",
|
|
|
},
|
|
|
{
|
|
|
- eventType: "vote",
|
|
|
+ eventType: "Vote",
|
|
|
iconClass: "vote",
|
|
|
},
|
|
|
{
|
|
|
- eventType: "survey",
|
|
|
+ eventType: "Survey",
|
|
|
iconClass: "quesnaire",
|
|
|
},
|
|
|
],
|
|
|
activityType: this.$t('studentWeb.state'),
|
|
|
mockdata: "",
|
|
|
- eventPageType: ["preview", "exam", "homeWork", "vote", "survey"], //本頁出現的類型
|
|
|
+ eventPageType: ["Preview", "Exam", "HomeWork", "Vote", "Survey"], //本頁出現的類型
|
|
|
openSearch: false, //打開搜尋器
|
|
|
search: "",
|
|
|
alreadyScrolltimes: 0,
|