直播学生列表

This commit is contained in:
asd
2020-10-23 09:00:02 +08:00
parent bf3ba7228e
commit a97f2448e7
7 changed files with 281 additions and 21 deletions

View File

@@ -2,14 +2,14 @@
<div class="cont">
<div class="title">
<div>上课学生</div>
<div class="more">查看详情</div>
<div class="more" @click="toxq">查看详情</div>
</div>
<div class="info">
<div class="item" v-for="(i, j) in list" :key="j">
<div style="display: flex">
<img :src="i.img" alt="" />
<div class="stuinfo">
<div>{{ i.name }}</div>
<div>{{ i.name }} {{zid}}</div>
<div class="lessonname">{{ i.interest }}</div>
</div>
</div>
@@ -236,12 +236,14 @@
</style>
<script lang="ts">
import { cancellive, refusedtolive } from '@/api';
import router from '@/router';
import { defineComponent, ref, toRaw, watch } from "vue";
export default defineComponent({
props: {
info: Array,
livestatus: Number,
zid:Number
},
setup(props) {
const modalNode = () => document.getElementsByClassName('modal-container')[0]
@@ -275,6 +277,11 @@ export default defineComponent({
hidePhoneModal();
}
}
function toxq(){
router.push({path:"/regime/studentlist",query:{liveid:props.zid}})
console.log(props.zid,"aaa")
}
return {
list,
@@ -283,7 +290,8 @@ export default defineComponent({
updatePhoneVisible,
hidePhoneModal,
sum,
text
text,
toxq
};
},
});