From a97f2448e77dd509722455681522eff1e9e71373 Mon Sep 17 00:00:00 2001 From: asd <374367073@qq.com> Date: Fri, 23 Oct 2020 09:00:02 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B4=E6=92=AD=E5=AD=A6=E7=94=9F=E5=88=97?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.ts | 13 ++- src/components/LiveCount.vue | 14 ++- src/components/NavTop.vue | 62 +++++++--- src/components/VideoCont.vue | 2 +- src/router/index.ts | 4 + src/views/regime/SignupStu.vue | 205 +++++++++++++++++++++++++++++++++ src/views/regime/VideoInfo.vue | 2 +- 7 files changed, 281 insertions(+), 21 deletions(-) create mode 100644 src/views/regime/SignupStu.vue diff --git a/src/api/index.ts b/src/api/index.ts index 72b134e..70b6482 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -611,6 +611,7 @@ export async function editsystemsetting(e?: any): Promise { console.log(res) if(res.code == 0){ message.success("修改成功") + store.dispatch("setUserInfo"); return true; }else{ message.error(res.msg); @@ -621,7 +622,10 @@ export async function editsystemsetting(e?: any): Promise { /** * 货币列表 */ - +export async function getcurrencys(){ + const res=await get("currencys") + return res.data +} /** * 发送验证码 @@ -765,6 +769,13 @@ export async function getliveinfo(id: number){ return {...liveinfo,studentlist} } +/** + * 参与直播的学生列表 + */ +export async function getstudentlist(data?: any) { + const studentlist = (await get("studentLive",data)).data; + return studentlist +} /** * 直播日历 diff --git a/src/components/LiveCount.vue b/src/components/LiveCount.vue index 075dcb2..375661e 100644 --- a/src/components/LiveCount.vue +++ b/src/components/LiveCount.vue @@ -2,14 +2,14 @@
上课学生
-
查看详情
+
查看详情
-
{{ i.name }}
+
{{ i.name }} {{zid}}
{{ i.interest }}
@@ -236,12 +236,14 @@ \ No newline at end of file diff --git a/src/views/regime/VideoInfo.vue b/src/views/regime/VideoInfo.vue index c7b6ca4..92ba954 100644 --- a/src/views/regime/VideoInfo.vue +++ b/src/views/regime/VideoInfo.vue @@ -2,7 +2,7 @@
- +