|
@@ -20,20 +20,52 @@
|
|
|
</div>
|
|
|
<div class="sp-main">
|
|
|
<div class="sp_m_box">
|
|
|
- <div class="sp_m_b_top"></div>
|
|
|
+ <div class="sp_m_b_top">
|
|
|
+ <div class="sp_m_b_t_voice">
|
|
|
+ <div class="sp_m_b_t_v_title">声纹选择</div>
|
|
|
+ <span>请选择/新增本次课堂授课教师的声纹</span>
|
|
|
+ <div class="sp_m_b_t_v_inputArea">
|
|
|
+ <el-select
|
|
|
+ v-model="inputValue"
|
|
|
+ @change="handleSelect"
|
|
|
+ multiple
|
|
|
+ placeholder="请选择"
|
|
|
+ :multiple-limit="10"
|
|
|
+ filterable
|
|
|
+ :disabled="controlsStatus === 1"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="item in teacherList"
|
|
|
+ :key="item.id"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.id"
|
|
|
+ >
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ <span @click="addNew">+</span>
|
|
|
+ </div>
|
|
|
+ <img
|
|
|
+ src="../../../../assets/icon/classroomObservation/voiceCard.png"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
<div class="sp_m_b_bottom">
|
|
|
- <div @click.stop="$emit('startTape')">
|
|
|
- <div>开始录音</div>
|
|
|
- <span>实时语音转录文字</span>
|
|
|
- <span>智能课堂观察</span>
|
|
|
- <img src="../../../../assets/icon/classroomObservation/startPageIcon2.png">
|
|
|
- </div>
|
|
|
- <div @click.stop="$emit('uploadTape')">
|
|
|
- <div>上传文件</div>
|
|
|
- <span>录音复盘</span>
|
|
|
- <span>一键分析课堂情况</span>
|
|
|
- <img src="../../../../assets/icon/classroomObservation/startPageIcon1.png">
|
|
|
- </div>
|
|
|
+ <div @click.stop="$emit('startTape')">
|
|
|
+ <div>开始录音</div>
|
|
|
+ <span>实时语音转录文字</span>
|
|
|
+ <span>智能课堂观察</span>
|
|
|
+ <img
|
|
|
+ src="../../../../assets/icon/classroomObservation/startPageIcon2.png"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
+ <div @click.stop="$emit('uploadTape')">
|
|
|
+ <div>上传文件</div>
|
|
|
+ <span>录音复盘</span>
|
|
|
+ <span>一键分析课堂情况</span>
|
|
|
+ <img
|
|
|
+ src="../../../../assets/icon/classroomObservation/startPageIcon1.png"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- <div class="sp-m-item" @click.stop="$emit('startTape')">
|
|
@@ -78,12 +110,43 @@
|
|
|
<script>
|
|
|
export default {
|
|
|
emits: ["startTape", "uploadTape"],
|
|
|
+ props: {
|
|
|
+ teacherVoiceprintList: {
|
|
|
+ type: Array,
|
|
|
+ default: () => []
|
|
|
+ },
|
|
|
+ chosenVoiceprint: {
|
|
|
+ type: Array,
|
|
|
+ default: []
|
|
|
+ },
|
|
|
+ controlsStatus:{
|
|
|
+ type:Number,
|
|
|
+ default:0
|
|
|
+ },
|
|
|
+ },
|
|
|
data() {
|
|
|
return {
|
|
|
- showIntroduce: true
|
|
|
+ showIntroduce: true,
|
|
|
+ inputValue: [],
|
|
|
+ teacherList: []
|
|
|
};
|
|
|
},
|
|
|
- methods: {}
|
|
|
+ watch: {
|
|
|
+ teacherVoiceprintList() {
|
|
|
+ this.teacherList = JSON.parse(JSON.stringify(this.teacherVoiceprintList));
|
|
|
+ },
|
|
|
+ chosenVoiceprint() {
|
|
|
+ this.inputValue = this.chosenVoiceprint;
|
|
|
+ }
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ handleSelect(item) {
|
|
|
+ this.$parent.chosenVoiceprint = JSON.parse(JSON.stringify(this.inputValue));
|
|
|
+ },
|
|
|
+ addNew(){
|
|
|
+ this.$parent.onClickAddNewVoiceprint();
|
|
|
+ }
|
|
|
+ }
|
|
|
};
|
|
|
</script>
|
|
|
|
|
@@ -180,13 +243,20 @@ export default {
|
|
|
.sp_m_box {
|
|
|
width: 70%;
|
|
|
height: 100%;
|
|
|
- /* max-height: 550px; */
|
|
|
- max-height: 400px;
|
|
|
+ max-height: 500px;
|
|
|
+ /* max-height: 400px; */
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
margin-bottom: 8%;
|
|
|
}
|
|
|
|
|
|
+.sp_m_b_top {
|
|
|
+ width: 100%;
|
|
|
+ height: 220px;
|
|
|
+ /* background-color: red; */
|
|
|
+ margin-bottom: 20px;
|
|
|
+}
|
|
|
+
|
|
|
.sp_m_b_bottom {
|
|
|
width: 100%;
|
|
|
flex: 1;
|
|
@@ -195,7 +265,6 @@ export default {
|
|
|
justify-content: center;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
.sp_m_b_bottom > div {
|
|
|
height: 100%;
|
|
|
flex: 1;
|
|
@@ -207,30 +276,30 @@ export default {
|
|
|
box-shadow: 0px 4px 10px 0px #1d398314;
|
|
|
|
|
|
box-shadow: 1px 1px 20px 4px #1d39830d;
|
|
|
- background-color: #fff;
|
|
|
- border-radius: 8px;
|
|
|
- padding: 40px;
|
|
|
- flex-direction: column;
|
|
|
- cursor: pointer;
|
|
|
- position: relative;
|
|
|
+ background-color: #fff;
|
|
|
+ border-radius: 8px;
|
|
|
+ padding: 40px;
|
|
|
+ flex-direction: column;
|
|
|
+ cursor: pointer;
|
|
|
+ position: relative;
|
|
|
}
|
|
|
|
|
|
-.sp_m_b_bottom > div>img{
|
|
|
- width: 50%;
|
|
|
- position: absolute;
|
|
|
- right: 0;
|
|
|
- bottom: 0;
|
|
|
+.sp_m_b_bottom > div > img {
|
|
|
+ width: 50%;
|
|
|
+ position: absolute;
|
|
|
+ right: 0;
|
|
|
+ bottom: 0;
|
|
|
}
|
|
|
|
|
|
-.sp_m_b_bottom > div>div{
|
|
|
- font-size: 30px;
|
|
|
- font-weight: bold;
|
|
|
- margin-bottom: 10px;
|
|
|
+.sp_m_b_bottom > div > div {
|
|
|
+ font-size: 30px;
|
|
|
+ font-weight: bold;
|
|
|
+ margin-bottom: 10px;
|
|
|
}
|
|
|
|
|
|
-.sp_m_b_bottom > div>span{
|
|
|
- margin-top: 5px;
|
|
|
- color: #00000066;
|
|
|
+.sp_m_b_bottom > div > span {
|
|
|
+ margin-top: 5px;
|
|
|
+ color: #00000066;
|
|
|
}
|
|
|
|
|
|
.sp_m_b_bottom > div:nth-of-type(2) {
|
|
@@ -301,7 +370,63 @@ export default {
|
|
|
background-size: 100% 100%;
|
|
|
margin-bottom: 15px;
|
|
|
}
|
|
|
+.sp_m_b_t_voice {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ display: flex;
|
|
|
+ /* align-items: center; */
|
|
|
+ /* justify-content: center; */
|
|
|
+ box-sizing: border-box;
|
|
|
+ border: 1px solid #aeccfe;
|
|
|
+ box-shadow: 0px 4px 10px 0px #1d398314;
|
|
|
+
|
|
|
+ box-shadow: 1px 1px 20px 4px #1d39830d;
|
|
|
+ background-color: #fff;
|
|
|
+ border-radius: 8px;
|
|
|
+ padding: 40px;
|
|
|
+ flex-direction: column;
|
|
|
+ /* cursor: pointer; */
|
|
|
+ position: relative;
|
|
|
+}
|
|
|
+
|
|
|
+.sp_m_b_t_voice > img {
|
|
|
+ height: 80%;
|
|
|
+ position: absolute;
|
|
|
+ right: 0;
|
|
|
+ bottom: 0;
|
|
|
+}
|
|
|
+
|
|
|
+.sp_m_b_t_voice > .sp_m_b_t_v_title {
|
|
|
+ font-size: 30px;
|
|
|
+ font-weight: bold;
|
|
|
+ margin-bottom: 10px;
|
|
|
+}
|
|
|
+
|
|
|
+.sp_m_b_t_voice > span {
|
|
|
+ margin-top: 5px;
|
|
|
+ color: #00000066;
|
|
|
+}
|
|
|
|
|
|
+.sp_m_b_t_v_inputArea {
|
|
|
+ margin-top: 10px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+}
|
|
|
+
|
|
|
+.sp_m_b_t_v_inputArea > span {
|
|
|
+ width: 35px;
|
|
|
+ height: 35px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ background-color: #f3f7fd;
|
|
|
+ border-radius: 3px;
|
|
|
+ margin-left: 10px;
|
|
|
+ cursor: pointer;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #3681fc;
|
|
|
+ font-size: 16px;
|
|
|
+}
|
|
|
/* .sp-m-i-icon1 {
|
|
|
background: url("../../../../assets/icon/classroomObservation/tape.png")
|
|
|
no-repeat;
|