Browse Source

课堂助手

SanHQin 8 months ago
parent
commit
da00756597

+ 1 - 0
src/assets/icon/course/clean.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1720143046002" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4651" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="64"><path d="M900.7 504.4l-76.3-150c-13.4-26.3-40-42.6-69.5-42.6H638.4c-1.1 0-2-0.9-2-2V120.2c0-31.1-25.3-56.3-56.3-56.3h-90c-31.1 0-56.3 25.3-56.3 56.3v189.6c0 1.1-0.9 2-2 2H315.1c-29.5 0-56.1 16.3-69.5 42.6l-76.3 150c-9.2 18.1-8.4 39.3 2.2 56.6 10.3 16.8 27.9 27 47.4 27.6-4.8 101-38.3 205.9-90.2 279.5-12.5 17.8-14.1 40.8-4.1 60.1 10 19.3 29.7 31.3 51.5 31.3h601.6c35 0 66-23.6 75.2-57.4 15.5-56.5 28.4-107.9 29.4-164.9 1.1-52.6-8.9-101.6-30-148.6 19-1.1 36.1-11.2 46.2-27.6 10.6-17.3 11.4-38.5 2.2-56.6z m-681.5 25.4l76.3-150c3.8-7.4 11.3-12 19.6-12h116.4c32 0 58-26 58-58V120.2c0-0.1 0.2-0.3 0.3-0.3h90c0.1 0 0.3 0.2 0.3 0.3v189.6c0 32 26 58 58 58h116.4c8.3 0 15.8 4.6 19.6 12l76.3 150c0.2 0.3 0.5 1-0.1 2s-1.3 1-1.7 1H221c-0.4 0-1.1 0-1.7-1-0.6-1-0.3-1.7-0.1-2z m607.2 206.4c-0.9 50.5-12.9 98.3-27.4 151.1-2.6 9.5-11.3 16.2-21.2 16.2H651.2c11.3-22.3 18.5-44 23.1-61.2 7.1-26.7 10.7-53.5 10.6-78-0.1-17.1-15.5-30.1-32.4-27.4-13.6 2.2-23.6 14-23.6 27.8 0.1 42.7-14.1 98.2-42.7 138.8H405.6c15.2-21.7 26.1-43.8 33.6-61.9 10-24.3 17.4-49.7 21.2-72.5 2.8-17-10.4-32.5-27.6-32.5-13.6 0-25.3 9.8-27.6 23.3-2.8 16.6-8.3 37.7-17.7 60.4-10.1 24.6-27.8 58.1-55.6 83.3H176.2c-0.5 0-1.2 0-1.8-1.1-0.6-1.1-0.2-1.6 0.1-2 29.7-42.1 54.8-94.5 72.5-151.4 16.2-52.1 25.7-106.9 28-160.3h514.6c25.8 46.4 37.8 94.8 36.8 147.4z" p-id="4652" fill="#000000"></path></svg>

+ 20 - 0
src/assets/icon/course/isTape.svg

@@ -0,0 +1,20 @@
+<svg width="56" height="56" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g filter="url(#filter0_f_596_1430)">
+<circle cx="28" cy="28" r="28" fill="#6AAFF2" fill-opacity="0.12"/>
+</g>
+<circle cx="28" cy="28" r="23" fill="#6AAFF2" fill-opacity="0.2"/>
+<circle cx="28" cy="28" r="20" fill="#5E9AFC"/>
+<path d="M38.9422 25.6226H41.0004V29.4645H38.9422V25.6226Z" fill="white"/>
+<path d="M32.7677 24.6622H34.8259V30.425H32.7677V24.6622Z" fill="white"/>
+<path d="M26.5933 22.7412H28.6514V32.346H26.5933V22.7412Z" fill="white"/>
+<path d="M17.3664 25.6226H15.3082V29.4645H17.3664V25.6226Z" fill="white"/>
+<path d="M23.5409 24.6622H21.4827V30.425H23.5409V24.6622Z" fill="white"/>
+<path d="M29.7153 22.7412H27.6572V32.346H29.7153V22.7412Z" fill="white"/>
+<defs>
+<filter id="filter0_f_596_1430" x="-4" y="-4" width="64" height="64" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
+<feGaussianBlur stdDeviation="2" result="effect1_foregroundBlur_596_1430"/>
+</filter>
+</defs>
+</svg>

File diff suppressed because it is too large
+ 0 - 0
src/assets/icon/course/keyboard.svg


+ 1 - 0
src/assets/icon/course/megaphone.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1720161929302" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="23431" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="64"><path d="M571.9 875.5c-13 0-26.1-3.5-37.9-10.6l-199.6-119c-0.9-0.6-1.9-1.2-2.7-1.8-8-4.1-16.4-6.2-25-6.2H167.9c-56 0-101.6-50.6-101.6-112.7V400.3c0-62.2 45.6-112.7 101.6-112.7h138.8c9.7 0 19.5-2.8 28.3-8.1l199.6-119c23.1-13.8 50.9-14.1 74.3-0.9 26.2 14.9 42.4 44.2 42.4 76.5l-0.3 130.6-0.3 422.6c0 32.3-16.3 61.6-42.4 76.5-11.5 6.5-23.9 9.7-36.4 9.7zM841.4 747.6c-9 0-18-3.4-24.9-10.3-13.7-13.7-13.7-36 0-49.7 46.7-46.7 72.4-108.8 72.4-174.9s-25.7-128.2-72.4-174.9c-13.7-13.7-13.7-36 0-49.7 13.7-13.7 36-13.7 49.7 0 60 60 93 139.7 93 224.6s-33 164.6-93 224.6c-6.8 6.9-15.8 10.3-24.8 10.3z" fill="#6C8CFF" p-id="23432"></path><path d="M722.9 666.4c-9 0-18-3.4-24.9-10.3-13.7-13.7-13.7-36 0-49.7 51.7-51.7 51.7-135.8 0-187.5-13.7-13.7-13.7-36 0-49.7 13.7-13.7 36-13.7 49.7 0 79.1 79.1 79.1 207.8 0 286.9-6.8 6.9-15.8 10.3-24.8 10.3z" fill="#6C8CFF" p-id="23433"></path></svg>

File diff suppressed because it is too large
+ 0 - 0
src/assets/icon/course/megaphone2.svg


File diff suppressed because it is too large
+ 0 - 0
src/assets/icon/course/megaphone3.svg


+ 1 - 0
src/assets/icon/course/refresh.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1720166942796" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="24447" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="64"><path d="M960 416V192l-73.056 73.056a447.712 447.712 0 0 0-373.6-201.088C265.92 63.968 65.312 264.544 65.312 512S265.92 960.032 513.344 960.032a448.064 448.064 0 0 0 415.232-279.488 38.368 38.368 0 1 0-71.136-28.896 371.36 371.36 0 0 1-344.096 231.584C308.32 883.232 142.112 717.024 142.112 512S308.32 140.768 513.344 140.768c132.448 0 251.936 70.08 318.016 179.84L736 416h224z" p-id="24448"></path></svg>

+ 1 - 0
src/assets/icon/course/voice.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1720145444290" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="17203" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="64"><path d="M490.666667 809.856c-136.149333-10.346667-244.842667-119.04-255.189334-255.189333h42.816C289.066667 674.282667 389.589333 768 512 768s222.933333-93.717333 233.706667-213.333333h42.816c-10.346667 136.149333-119.04 244.842667-255.189334 255.189333V896h170.666667v42.666667H320v-42.666667h170.666667v-86.144zM512 85.333333a192 192 0 0 1 192 192v256a192 192 0 0 1-384 0V277.333333a192 192 0 0 1 192-192z m0 42.666667a149.333333 149.333333 0 0 0-149.333333 149.333333v256a149.333333 149.333333 0 0 0 298.666666 0V277.333333a149.333333 149.333333 0 0 0-149.333333-149.333333z" fill="#000000" p-id="17204"></path></svg>

+ 1 - 0
src/assets/icon/course/voice2.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1720145444290" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="17203" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="64"><path d="M490.666667 809.856c-136.149333-10.346667-244.842667-119.04-255.189334-255.189333h42.816C289.066667 674.282667 389.589333 768 512 768s222.933333-93.717333 233.706667-213.333333h42.816c-10.346667 136.149333-119.04 244.842667-255.189334 255.189333V896h170.666667v42.666667H320v-42.666667h170.666667v-86.144zM512 85.333333a192 192 0 0 1 192 192v256a192 192 0 0 1-384 0V277.333333a192 192 0 0 1 192-192z m0 42.666667a149.333333 149.333333 0 0 0-149.333333 149.333333v256a149.333333 149.333333 0 0 0 298.666666 0V277.333333a149.333333 149.333333 0 0 0-149.333333-149.333333z" fill="#ffffff" p-id="17204"></path></svg>

File diff suppressed because it is too large
+ 264 - 62
src/components/classRoomHelper/component/dialogArea.vue


File diff suppressed because it is too large
+ 433 - 227
src/components/classRoomHelper/component/searchArea.vue


File diff suppressed because it is too large
+ 242 - 55
src/components/classRoomHelper/component/taskArea.vue


+ 14 - 3
src/components/classRoomHelper/index.vue

@@ -6,6 +6,7 @@
         ref="searchAreaRef"
         :navList="navList"
         :tcid="tcid"
+				:openMegaphone="openMegaphone"
         :fileId="fileId"
         :recordType="recordType"
         v-if="itemType == 1"
@@ -16,12 +17,14 @@
         :courseType="courseType"
         :taskCount="taskCount"
         :worksStudent="worksStudent"
+				:openMegaphone="openMegaphone"
         ref="taskAreaRef"
         :fileId="fileId"
         v-if="itemType == 2"
       />
       <dialogArea
         :courseDetail="courseDetail"
+				:openMegaphone="openMegaphone"
         ref="dialogAreaRef"
         :fileId="fileId"
         v-if="itemType == 3"
@@ -286,7 +289,7 @@ export default {
       recordType: 0,
 			recordLoading:false,
       fold: false,
-
+			openMegaphone:false,//是否打开喇叭
       getFileIdLoading: false
     };
   },
@@ -368,15 +371,23 @@ export default {
 			if(this.recordLoading)return this.$message.info("请稍等...")
 			this.recordLoading = true;
       if (this.recordType == 0) {
-			this.$message.info("开启")
+			// this.$message.info("开启")
 				// this.changeRecordType(1)
         this.$refs.levitatedSphereRef.recordStart();
       } else if (this.recordType == 1) {
-				this.$message.info("关闭")
+				// this.$message.info("关闭")
 				// this.changeRecordType(0)
         this.$refs.levitatedSphereRef.stopRecord();
       }
     },
+		changeMegaphone(){
+			this.openMegaphone = !this.openMegaphone;
+			if(this.openMegaphone){
+				this.$message.success("已开启AI语音")
+			}else{
+				this.$message.success("已关闭AI语音")
+			}
+		},
     // 展开
     changeFold(newValue) {
       // this.$message.info("展开");

Some files were not shown because too many files changed in this diff