From 79dbd2b855f1eec042cea128f16c8cab0779a2c2 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期五, 26 七月 2024 18:03:35 +0800
Subject: [PATCH] 会议按钮

---
 src/views/meet/index.vue |   63 ++++++++++++++++++++++++++++---
 1 files changed, 57 insertions(+), 6 deletions(-)

diff --git a/src/views/meet/index.vue b/src/views/meet/index.vue
index 5dc47a5..90bdb15 100644
--- a/src/views/meet/index.vue
+++ b/src/views/meet/index.vue
@@ -4,11 +4,12 @@
       <div id="meet" ref="meet" style="flex-grow: 1;">
       </div>
       <div style="padding-top: 5px; padding-left: 5px;right: 15px">
-        <el-button type="success" size="small" @click="hiddenStudent" >{{getShowText()}}</el-button>
+        <el-button type="success" size="small" @click="hiddenStudent">{{ getShowText() }}</el-button>
         <el-row v-show="showStudent">
           <el-row :gutter="5">
             <el-col :span="12">
-              <el-input placeholder="鎼滅储瀛﹀憳" size="small" clearable @input="getStudentList" @clear="getStudentList" v-model="searchForm.keyword"/>
+              <el-input placeholder="鎼滅储瀛﹀憳" size="small" clearable @input="getStudentList" @clear="getStudentList"
+                        v-model="searchForm.keyword"/>
             </el-col>
             <el-col :span="2">
               <el-button type="primary" size="small" @click="getStudentList">鎼滅储</el-button>
@@ -21,12 +22,12 @@
           <el-row :gutter="20" v-for="student in showStudentList" :key="student.id" class="student-row">
             <el-col :span="18">
               <div>
-                {{student.realName}}
+                {{ student.realName }}
               </div>
             </el-col>
             <el-col :span="6">
               <div :class="{online: student.onlineStatus === 1, outline: student.onlineStatus === 0}">
-                {{getStatus(student.onlineStatus)}}
+                {{ getStatus(student.onlineStatus) }}
               </div>
             </el-col>
           </el-row>
@@ -146,11 +147,57 @@
         prejoinConfig: {
           enabled: false
         },
+        // 绂佺敤閭�璇�
+        disableInviteFunctions: true,
+        // 绂佺敤閭
+        gravatar: {
+          disabled: true
+        },
+        // 绂佺敤鏀瑰悕
+        readOnlyName: true,
+        // 鑷畾涔夋寜閽�
+        toolbarButtons: [
+          // 鎽勫儚澶�
+          'camera',
+          // 鑱婂ぉ
+          'chat',
+          // 'closedcaptions',
+          // 鍏变韩
+          'desktop',
+          'download',
+          // 'embedmeeting',
+          // 'etherpad',
+          // 'feedback',
+          // 'filmstrip',
+          'fullscreen',
+          'hangup',
+          // 'help',
+          'highlight',
+          // 'invite',
+          'linktosalesforce',
+          'livestreaming',
+          'microphone',
+          'noisesuppression',
+          // 'participants-pane',
+          // 'profile',
+          // 'raisehand',
+          'recording',
+          // 'security',
+          'select-background',
+          'settings',
+          'shareaudio',
+          'sharedvideo',
+          'shortcuts',
+          'stats',
+          'tileview',
+          'toggle-camera',
+          // 'videoquality',
+          'whiteboard'
+        ],
         whiteboard: {
           enabled: true
         }
-      },
-      toolbarButtons: ['whiteboard']
+      }
     }
 
     this.jitsiApi = new window.JitsiMeetExternalAPI(domain, options)
@@ -178,16 +225,20 @@
 #meet {
   height: 100%;
 }
+
 .online {
   color: #42b983;
 }
+
 .outline {
   color: #aa1111;
 }
+
 .studentWarp {
   display: flex;
   flex-direction: row;
 }
+
 .student-row {
   margin-top: 8px;
   padding-left: 3px;

--
Gitblit v1.8.0