lsc 2 년 전
부모
커밋
e31669c551
2개의 변경된 파일513개의 추가작업 그리고 338개의 파일을 삭제
  1. 507 333
      src/components/a.json
  2. 6 5
      src/components/components/audio.vue

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 507 - 333
src/components/a.json


+ 6 - 5
src/components/components/audio.vue

@@ -1,10 +1,11 @@
 <template>
   <div>
     <div>
-      <el-button type="primary" @click="startRecorder()">{{
-      !isRecord ? "开始录音" : "结束录音"
-      }}</el-button>
-      <el-button type="primary" @click="playRecorder()">{{
+      <el-button type="primary" :style="{ 'background': isRecord ? '#ee5255' : '', 'borderColor': isRecord ? '#ee5255' : '' }"
+        @click="startRecorder()">{{
+        !isRecord ? "开始录音" : "结束录音"
+        }}</el-button>
+      <el-button type="primary" :style="{ 'background': isPlayerRecord ? '#ee5255' : '', 'borderColor': isPlayerRecord ? '#ee5255' : '' }" @click="playRecorder()">{{
       !isPlayerRecord ? "录音播放" : "停止播放"
       }}</el-button>
       <el-button type="primary" @click="getMp3Data()">上传录音</el-button>
@@ -206,7 +207,7 @@ export default {
       }
     },
     addPz(audio) {
-      this.$emit("addPz", '2',audio);
+      this.$emit("addPz", '2', audio);
     },
   },
   mounted() { },

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.