yibufen
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<template>
|
||||
<div class="subscriber">
|
||||
<div class="top">
|
||||
<div class="title">直播报名学生</div>
|
||||
<div class="title">{{lan.$t("zhibobaomingxuesheng")}}</div>
|
||||
<div class="sel">
|
||||
<img src="@/static/images/sousuo.png" alt="" class="icon" />
|
||||
<input type="text" placeholder="请输入想要搜索的学生姓名" v-model="condition.keyword" @keyup.enter="search(condition)"/>
|
||||
<input type="text" :placeholder="lan.$t('sousuoxuesheng')" v-model="condition.keyword" @keyup.enter="search(condition)"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mid">
|
||||
@@ -14,38 +14,38 @@
|
||||
<div>
|
||||
<div class="info">
|
||||
<div class="infoitem">
|
||||
<span class="label">姓名:</span>
|
||||
<span class="label">{{lan.$t("xingming")}}:</span>
|
||||
<span class="one-line-hide">{{i.name}}</span>
|
||||
</div>
|
||||
|
||||
<div class="infoitem">
|
||||
<span class="label">所在国家:</span>
|
||||
<span class="label">{{lan.$t('suozaiguojia')}}:</span>
|
||||
<span class="one-line-hide">{{i.country}}</span>
|
||||
</div>
|
||||
|
||||
<div class="infoitem">
|
||||
<span class="label">年龄:</span>
|
||||
<span class="label">{{lan.$t('nianling')}}:</span>
|
||||
<span class="one-line-hide">{{i.age}}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="info">
|
||||
<div class="infoitem">
|
||||
<span class="label">学生母语:</span>
|
||||
<span class="label">{{lan.$t('xueshengmuyu')}}:</span>
|
||||
<span class="one-line-hide">{{i.mtongue }}</span>
|
||||
</div>
|
||||
|
||||
<div class="infoitem">
|
||||
<span class="label">兴趣点:</span>
|
||||
<span class="label">{{lan.$t('xingqudian')}}:</span>
|
||||
<span class="one-line-hide">{{i.interestStr}}</span>
|
||||
</div>
|
||||
|
||||
<div class="infoitem">
|
||||
<span class="label">语言等级:</span>
|
||||
<span class="label">{{lan.$t("yuyandengji")}}:</span>
|
||||
<span class="one-line-hide">{{i.levelStr}}</span>
|
||||
</div>
|
||||
|
||||
<div>参加平台直播课程总时长:<span class="time">{{i.length}}min</span></div>
|
||||
<div>{{lan.$t('canyupingtaishichang')}}<span class="time">{{i.length}}min</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -167,6 +167,7 @@
|
||||
</style>
|
||||
<script lang="ts">
|
||||
import { getstudentlist, getteacherliked } from '@/api';
|
||||
import { useI18n } from '@/utils/i18n';
|
||||
import { defineComponent, onMounted, ref, toRaw } from "vue";
|
||||
import { useRoute } from 'vue-router';
|
||||
export default defineComponent({
|
||||
@@ -174,6 +175,8 @@ export default defineComponent({
|
||||
components: {},
|
||||
setup() {
|
||||
const page = ref(1);
|
||||
const lan: any = useI18n();
|
||||
|
||||
const teacherlikedlist =ref<any>({
|
||||
|
||||
});
|
||||
@@ -199,7 +202,8 @@ export default defineComponent({
|
||||
teacherlikedlist,
|
||||
condition,
|
||||
title,
|
||||
search
|
||||
search,
|
||||
lan
|
||||
};
|
||||
},
|
||||
});
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<img src="../../static/images/left.png" alt="">
|
||||
{{lan.$t("shangyige")}}
|
||||
</div>
|
||||
{{month.year}}{{lan.$t("nian")}}{{month.yue}}{{lan.$t("yues")}}
|
||||
{{month.year}}{{lan.$t("nian")}}{{yuewenzi}}{{lan.$t("yues")}}
|
||||
<a-button type="primary" class="button" @click="navto()">
|
||||
{{lan.$t("zhourili")}}
|
||||
</a-button>
|
||||
@@ -202,7 +202,7 @@ export default defineComponent({
|
||||
|
||||
},
|
||||
setup(){
|
||||
const lan = useI18n();
|
||||
const lan: any = useI18n();
|
||||
const month: any = ref({zhou:0,data:[]});
|
||||
const yue = ref(0);
|
||||
const userid = computed(() => {
|
||||
@@ -281,6 +281,14 @@ export default defineComponent({
|
||||
getdates(userid.value);
|
||||
|
||||
}
|
||||
const yuewenzi = computed(()=>{
|
||||
if(lan.$s() == 'en'){
|
||||
const yue = ['January','February','March','April','May','June','July','August','September','October','November','December']
|
||||
return yue[month.value.yue - 1]
|
||||
}else {
|
||||
return month.value.yue
|
||||
}
|
||||
})
|
||||
return {
|
||||
month,
|
||||
xia,
|
||||
@@ -288,7 +296,8 @@ export default defineComponent({
|
||||
yue,
|
||||
navto,
|
||||
gotolive,
|
||||
lan
|
||||
lan,
|
||||
yuewenzi
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user