直播
This commit is contained in:
parent
fe3b036836
commit
8e40ff6b05
@ -68,9 +68,9 @@ export default createStore({
|
|||||||
views:0
|
views:0
|
||||||
},
|
},
|
||||||
qh: {
|
qh: {
|
||||||
code: "86",
|
code: "",
|
||||||
ename: "China",
|
ename: "",
|
||||||
name: "中国",
|
name: "",
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mutations: {
|
mutations: {
|
||||||
|
@ -23,12 +23,13 @@
|
|||||||
</a-select-option>
|
</a-select-option>
|
||||||
<a-select-option value="Jiangsu"> Jiangsu </a-select-option>
|
<a-select-option value="Jiangsu"> Jiangsu </a-select-option>
|
||||||
</a-select> -->
|
</a-select> -->
|
||||||
<a-select v-model:value="hqqh" size="small" option-label-prop="label" @change="getquhao" class="getcode" show-search >
|
<a-select :default-value="hqqh" size="small" option-label-prop="label" @change="getquhao" class="getcode" show-search v-if="hqqh != '+' && hqqh">
|
||||||
<a-select-option v-for="(i,j) in quhaolist" :key="j" :value="i.name + '+' + i.code" :label="'+' + i.code">
|
<a-select-option v-for="(i,j) in quhaolist" :key="j" :value="i.name + '+' + i.code" :label="'+' + i.code">
|
||||||
{{i.name}}+{{i.code}}
|
{{i.name}}+{{i.code}}
|
||||||
</a-select-option>
|
</a-select-option>
|
||||||
<!-- <a-select-option value="Jiangsu"> Jiangsu </a-select-option> -->
|
<!-- <a-select-option value="Jiangsu"> Jiangsu </a-select-option> -->
|
||||||
</a-select>
|
</a-select>
|
||||||
|
<div class="getcode" v-else></div>
|
||||||
<div class="line"></div>
|
<div class="line"></div>
|
||||||
<a-input v-model:value="phone" style="width: 50%" :placeholder="lan.$t('shurushouji')" />
|
<a-input v-model:value="phone" style="width: 50%" :placeholder="lan.$t('shurushouji')" />
|
||||||
</a-input-group>
|
</a-input-group>
|
||||||
@ -79,7 +80,7 @@
|
|||||||
|
|
||||||
<div class="lessons">
|
<div class="lessons">
|
||||||
<!-- @click="tovideoxq(i.videoid)" -->
|
<!-- @click="tovideoxq(i.videoid)" -->
|
||||||
<div class="lessonitem" v-for="(i,j) in videolist" :key="j">
|
<div class="lessonitem" v-for="(i,j) in videolist" :key="j" >
|
||||||
<img :src="i.img" alt="" class="pic"/>
|
<img :src="i.img" alt="" class="pic"/>
|
||||||
<div class="lessonname">
|
<div class="lessonname">
|
||||||
<div>{{i.title}}</div>
|
<div>{{i.title}}</div>
|
||||||
@ -124,6 +125,7 @@ import { message } from 'ant-design-vue';
|
|||||||
import router from '@/router';
|
import router from '@/router';
|
||||||
import { useI18n } from '@/utils/i18n';
|
import { useI18n } from '@/utils/i18n';
|
||||||
import store from '@/store';
|
import store from '@/store';
|
||||||
|
import { getValue } from '@/utils/common';
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
name: "Login",
|
name: "Login",
|
||||||
@ -147,7 +149,7 @@ export default defineComponent({
|
|||||||
password: '123456'
|
password: '123456'
|
||||||
})
|
})
|
||||||
const mrqh = computed(() => store.state.qh)
|
const mrqh = computed(() => store.state.qh)
|
||||||
const hqqh = computed(() => { return mrqh.value.name + '+' + mrqh.value.code })
|
const hqqh = computed(() => { console.log(mrqh.value.name + '+' + mrqh.value.code); return (getValue("Lanvuage") == "en" ?mrqh.value.ename : mrqh.value.name) + '+' + mrqh.value.code })
|
||||||
const quhaolist = ref<any>([
|
const quhaolist = ref<any>([
|
||||||
{
|
{
|
||||||
code: "86",
|
code: "86",
|
||||||
@ -156,7 +158,7 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
])
|
])
|
||||||
const myquhao=ref(mrqh.value.code)
|
const myquhao=ref(mrqh.value.code)
|
||||||
const videolist=ref<any>([{}])
|
const videolist=ref<any>([])
|
||||||
|
|
||||||
onMounted(async ()=>{
|
onMounted(async ()=>{
|
||||||
quhaolist.value=await getquhaolist()
|
quhaolist.value=await getquhaolist()
|
||||||
|
@ -203,11 +203,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="notice-container" v-else>
|
<div class="notice-container" v-else>
|
||||||
<div class="title">{{ lan.$t("wuzhibozige") }}</div>
|
<div class="title">{{ lan.$t("wuzhibozige") }}</div>
|
||||||
<div class="title sub-title">
|
<div class="title sub-title" v-html="lives.msg">
|
||||||
<!-- 上一周/月您在平台视频点击量为
|
|
||||||
<span class="red">第24名</span>,要在前
|
|
||||||
<span class="bule">20名</span> 才能获得直播资格 -->
|
|
||||||
{{ lives.msg }}
|
|
||||||
</div>
|
</div>
|
||||||
<rank-list :list="lives.data"></rank-list>
|
<rank-list :list="lives.data"></rank-list>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user