-
-
-
{{ i.name }}
-
{{ i.interest }}
-
+
+
+
{{ i.name }}
+
{{ i.interest }}
+
- 参加时长
-
30min
+ 参加时长
+
30min
- 取消直播
+ 取消直播
已拒绝
@@ -91,31 +91,31 @@
}
.info {
.item {
- display: flex;
- align-content: center;
- justify-content: space-between;
- margin-top: 23px;
- font-size: 10px;
- .stuinfo {
- margin: auto 0;
- margin-left: 11px;
- color: #111111;
- .lessonname {
- color: #666666;
+ display: flex;
+ align-content: center;
+ justify-content: space-between;
+ margin-top: 23px;
+ font-size: 10px;
+ .stuinfo {
+ margin: auto 0;
+ margin-left: 11px;
+ color: #111111;
+ .lessonname {
+ color: #666666;
+ }
+ }
+ .takehour {
+ color: #08ae98;
+ font-size: 11px;
+ margin: auto 0;
+ text-align: center;
+ }
+ > div > img {
+ width: 57px;
+ height: 57px;
+ border-radius: 50%;
+ background-color: #0f0;
}
- }
- .takehour {
- color: #08ae98;
- font-size: 11px;
- margin: auto 0;
- text-align: center;
- }
- > div > img {
- width: 57px;
- height: 57px;
- border-radius: 50%;
- background-color: #0f0;
- }
}
}
.refuse {
@@ -141,19 +141,19 @@
display: flex;
justify-content: space-between;
> div {
- width: 114px;
- height: 23px;
- border-radius: 3px;
- font-size: 10px;
- color: #fff;
- line-height: 23px;
- text-align: center;
+ width: 114px;
+ height: 23px;
+ border-radius: 3px;
+ font-size: 10px;
+ color: #fff;
+ line-height: 23px;
+ text-align: center;
}
.modify {
- background-color: #08ae98;
+ background-color: #08ae98;
}
.del {
- background-color: #d12c2e;
+ background-color: #d12c2e;
}
}
}
--
2.39.5
From 679e1016082e192322007da7ec5e480be14550b9 Mon Sep 17 00:00:00 2001
From: luyuan <1162963624@qq.com>
Date: Wed, 21 Oct 2020 10:11:27 +0800
Subject: [PATCH 2/3] =?UTF-8?q?=E5=88=A0=E9=99=A4=E8=83=8C=E6=99=AF?=
=?UTF-8?q?=E6=8A=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/LiveCount.vue | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/components/LiveCount.vue b/src/components/LiveCount.vue
index dc85f82..f9d188c 100644
--- a/src/components/LiveCount.vue
+++ b/src/components/LiveCount.vue
@@ -114,7 +114,6 @@
width: 57px;
height: 57px;
border-radius: 50%;
- background-color: #0f0;
}
}
}
--
2.39.5
From 38feb9d2b77986e8bce820b51e0a309edaecf9d0 Mon Sep 17 00:00:00 2001
From: luyuan <1162963624@qq.com>
Date: Wed, 21 Oct 2020 11:48:28 +0800
Subject: [PATCH 3/3] =?UTF-8?q?=E6=8B=92=E7=BB=9D=E5=AD=A6=E7=94=9F?=
=?UTF-8?q?=E7=9B=B4=E6=92=AD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/base.ts | 2 +
src/api/index.ts | 16 +++++
src/components/LiveCount.vue | 116 ++++++++++++++++++++++++++++++++---
3 files changed, 126 insertions(+), 8 deletions(-)
diff --git a/src/api/base.ts b/src/api/base.ts
index 1994fcf..d5523bf 100644
--- a/src/api/base.ts
+++ b/src/api/base.ts
@@ -25,6 +25,8 @@ axios.interceptors.response.use((response)=>{
}
return response;
},(error)=>{
+ login[0]();
+ login.splice(0,1);
message.error(error.response.data.message)
return Promise.reject(error)
})
diff --git a/src/api/index.ts b/src/api/index.ts
index 5f87acc..5a3ec7f 100644
--- a/src/api/index.ts
+++ b/src/api/index.ts
@@ -749,4 +749,20 @@ export async function register(data: any){
message.error(res.msg)
return false;
}
+}
+
+/**
+ * 拒绝学生直播
+ *
+ */
+
+export async function refusedtolive(signupid: number, msg: string){
+ const res = await get
("refusedToLive",{signupid, msg})
+ if(res.code == 0){
+ message.success(res.msg)
+ return true;
+ }else{
+ message.error(res.msg)
+ return false;
+ }
}
\ No newline at end of file
diff --git a/src/components/LiveCount.vue b/src/components/LiveCount.vue
index f9d188c..075dcb2 100644
--- a/src/components/LiveCount.vue
+++ b/src/components/LiveCount.vue
@@ -27,6 +27,34 @@
已拒绝