Browse Source

文章全屏

natasha 1 year ago
parent
commit
49c0d57987

+ 1 - 1
src/components/Adult/preview/ArticleViewChs/Practicechs.vue

@@ -1,7 +1,7 @@
 <!--  -->
 <template>
   <div class="NNPE-ArticleView" v-if="curQue">
-    <a class="ArticleView-full" @click="fullScreen">全屏模式</a>
+    <!-- <a class="ArticleView-full" @click="fullScreen">全屏模式</a> -->
     <div
       class="aduioLine-box aduioLine-practice-npc"
       v-if="

+ 338 - 3
src/components/Adult/preview/ArticleViewChs/index.vue

@@ -2,6 +2,7 @@
 <template>
   <div class="NPC-ArticleView NPC-ArticleView-container">
     <div class="ArticleView-header">
+      <a class="ArticleView-full" @click="fullScreen">全屏模式</a>
       <template v-if="curQue.checkList.indexOf(1) > -1">
         <el-switch
           style="display: block"
@@ -80,6 +81,7 @@
         :TaskModel="TaskModel"
         :NNPEAnnotationList="NNPEAnnotationList"
         :colLength="colLength"
+        :NpcNewWordMp3="NpcNewWordMp3"
       />
       <Practice
         :curQue="curQue"
@@ -94,6 +96,8 @@
         @changeConfig="changeConfig"
         :TaskModel="TaskModel"
         :colLength="colLength"
+        :NpcNewWordMp3="NpcNewWordMp3"
+        :isFull="isFull"
       />
       <WordModel
         :curQue="curQue"
@@ -112,6 +116,30 @@
         :colLength="colLength"
       />
     </div>
+    <div class="voice-full-screen" :id="'screen-' + mathNum">
+      <Voicefullscreen
+        v-if="isFull && resObj"
+        :themeColor="themeColor"
+        :curQue="curQue"
+        :sentList="resObj.sentList"
+        :sentIndex="0"
+        :mp3="
+          curQue.mp3_list && curQue.mp3_list[0] ? curQue.mp3_list[0].id : ''
+        "
+        :noFont="noFont"
+        :NNPENewWordList="NNPENewWordList"
+        :currentTreeID="currentTreeID"
+        :isFull="isFull"
+        :config="config"
+        :TaskModel="TaskModel"
+        @handleWav="handleWav"
+        @changePinyin="changePinyins"
+        @changeEN="changeENs"
+        @exitFullscreen="exitFullscreen"
+        @changeIsFull="changeIsFull"
+        :NpcNewWordMp3="NpcNewWordMp3"
+      />
+    </div>
   </div>
 </template>
 
@@ -120,6 +148,7 @@ import PhraseModel from "./PhraseModelChs.vue";
 import NormalModelChs from "./NormalModelChs.vue";
 import Practice from "./Practicechs.vue"; // 语音练习模式
 import WordModel from "./WordModelChs.vue"; // 语音练习模式
+import Voicefullscreen from "../Voicefullscreen.vue";
 
 export default {
   name: "ArticleViewChs",
@@ -133,7 +162,13 @@ export default {
     "colLength",
     "NpcNewWordMp3"
   ],
-  components: { NormalModelChs, Practice, WordModel, PhraseModel },
+  components: {
+    NormalModelChs,
+    Practice,
+    WordModel,
+    PhraseModel,
+    Voicefullscreen
+  },
   data() {
     return {
       showPreview: true, // 全文预览
@@ -158,7 +193,17 @@ export default {
         },
         writeModel: {}, //生词/取词模式
         practiceModel: {} //练习模式
-      }
+      },
+      mathNum: Math.random()
+        .toString(36)
+        .substr(2),
+      isFull: false,
+      resObj: null,
+      chsFhList: [",", "。", "”", ":", "》", "?", "!", ";"],
+      highWords: null,
+      highWordsArr: [],
+      highIndex: 0,
+      newWordList: []
     };
   },
   computed: {
@@ -191,6 +236,21 @@ export default {
     changeConfig(obj) {
       this.config[obj] = !this.config[obj];
     },
+    changeIsFull() {
+      this.isFull = false;
+    },
+    //拼音的显示和隐藏
+    changePinyins() {
+      if (this.config.isHasPY) {
+        this.changeConfig("isShowPY");
+      }
+    },
+    // 英文的显示和隐藏
+    changeENs() {
+      if (this.config.isHasEN) {
+        this.changeConfig("isShowEN");
+      }
+    },
     // 处理字体大小
     handleFontsize(symbol) {
       if (symbol == "+") {
@@ -219,10 +279,244 @@ export default {
         });
       });
       return pinyin;
+    },
+    //语音全屏
+    fullScreen() {
+      this.pauseAudio();
+      this.pauseVideo();
+      this.isFull = true;
+      this.goFullscreen();
+    },
+    pauseAudio() {
+      let audio = document.getElementsByTagName("audio");
+      if (
+        audio &&
+        audio.length > 0 &&
+        window.location.href.indexOf("GCLS-Learn") == -1
+      ) {
+        audio.forEach(item => {
+          item.pause();
+        });
+      }
+    },
+    pauseVideo() {
+      let video = document.getElementsByTagName("video");
+      if (
+        video &&
+        video.length > 0 &&
+        window.location.href.indexOf("GCLS-Learn") == -1
+      ) {
+        video.forEach(item => {
+          item.pause();
+        });
+      }
+    },
+    goFullscreen() {
+      let id = "screen-" + this.mathNum;
+      var element = document.getElementById(id);
+      if (element.requestFullscreen) {
+        element.requestFullscreen();
+      } else if (element.msRequestFullscreen) {
+        element.msRequestFullscreen();
+      } else if (element.mozRequestFullScreen) {
+        element.mozRequestFullScreen();
+      } else if (element.webkitRequestFullscreen) {
+        element.webkitRequestFullscreen();
+      }
+    },
+    exitFullscreen() {
+      this.isFull = false;
+      if (document.exitFullscreen) {
+        document.exitFullscreen();
+      } else if (document.msExitFullscreen) {
+        document.msExitFullscreen();
+      } else if (document.mozCancelFullScreen) {
+        document.mozCancelFullScreen();
+      } else if (document.webkitExitFullscreen) {
+        document.webkitExitFullscreen();
+      }
+    },
+    handleData() {
+      let resArr = [],
+        sentArrTotal = [],
+        timeArr = [];
+      let curQue = JSON.parse(JSON.stringify(this.curQue));
+      let wordTimeList = curQue.wordTime;
+      let dhaspinyin = false; // 每段是否有拼音
+      let dhaspinyinArr = [];
+      curQue.detail.forEach((dItem, dIndex) => {
+        dhaspinyin = false;
+        dItem.wordsList.forEach((sItem, sIndex) => {
+          let sentArr = [];
+          let sentence = dItem.sentences[sIndex];
+          sItem.forEach((wItem, wIndex) => {
+            let startIndex =
+              wIndex == 0
+                ? 0
+                : sentArr[wIndex - 1].startIndex +
+                  sentArr[wIndex - 1].chs.length;
+            let endIndex =
+              wIndex == 0
+                ? wItem.chs.length
+                : sentArr[wIndex - 1].endIndex + wItem.chs.length;
+            // this.judgePad(sItem, wItem, wIndex);
+            this.mergeWordSymbol(wItem);
+            let words = "";
+            if (this.newWordList.length > 0) {
+              if (!this.highWords) {
+                this.findLightWord(wItem, wIndex, sentence, sItem);
+                words = this.highWords ? this.highWords.words : "";
+              } else {
+                if (wIndex > this.highWords.endIndex - 1) {
+                  this.highWords = null;
+                  this.findLightWord(wItem, wIndex, sentence, sItem);
+                  words = this.highWords ? this.highWords.words : "";
+                } else {
+                  words = this.highWords ? this.highWords.words : "";
+                }
+              }
+            }
+            let obj = {
+              paraIndex: dIndex, //段落索引
+              sentIndex: sIndex, //在段落中句子索引
+              wordIndex: wIndex, //单词的索引
+              pinyin: wItem.pinyin,
+              chs: wItem.chs,
+              padding: true,
+              className: wItem.className,
+              isShow: wItem.isShow,
+              startIndex: startIndex,
+              endIndex: endIndex,
+              leg: wItem.chs.length,
+              timeList: [],
+              words: words
+            };
+            sentArr.push(obj);
+            if (wItem.pinyin) dhaspinyin = true;
+          });
+          let objs = {
+            sentArr: sentArr,
+            enwords:
+              dItem.sentencesEn &&
+              dItem.sentencesEn[sIndex] &&
+              dItem.sentencesEn[sIndex].replace(/\'/g, "’")
+          };
+          sentArrTotal.push(sentArr);
+          resArr.push(objs);
+        });
+        timeArr.push(dItem.timeList);
+        dhaspinyinArr.push(dhaspinyin);
+      });
+      if (wordTimeList && wordTimeList.length > 0) {
+        this.mergeWordTime(sentArrTotal, wordTimeList);
+      }
+      let timeList = [];
+      timeArr.forEach(item => {
+        item.forEach(aItem => {
+          if (timeList.indexOf(aItem) < 0) {
+            timeList.push(aItem);
+          }
+        });
+      });
+      this.resObj = {
+        sentList: resArr,
+        timeList: timeList,
+        dhaspinyinArr: dhaspinyinArr
+      };
+    },
+    mergeWordTime(resArr, wordTimeList) {
+      resArr.forEach((item, index) => {
+        let wordsResultList = wordTimeList[index].wordsResultList;
+        item.forEach(wItem => {
+          let startIndex = wItem.startIndex;
+          let endIndex = wItem.endIndex;
+          wItem.timeList = wordsResultList.slice(startIndex, endIndex);
+        });
+      });
+    },
+    findLightWord(wItem, startIndex, sentence, sItem) {
+      let words = "",
+        endIndex = 0;
+      this.newWordList.forEach(item => {
+        if (item.length == 1) {
+          if (item == wItem.chs && !wItem.banLight) {
+            words = wItem.chs;
+            endIndex = startIndex + 1;
+          }
+        } else {
+          if (item[0] == wItem.chs && sentence.indexOf(item) > -1) {
+            let index = null;
+            let chsStr = "";
+            for (let i = startIndex; i < sItem.length + 1; i++) {
+              index = i;
+              if (chsStr.length == item.length) {
+                break;
+              } else {
+                chsStr += sItem[i] ? sItem[i].chs : "";
+              }
+            }
+            if (chsStr == item && !wItem.banLight) {
+              words = item;
+              endIndex = index;
+            }
+          } else if (
+            wItem.new_word &&
+            wItem.new_word == item &&
+            !wItem.banLight
+          ) {
+            words = item;
+            endIndex = startIndex + 1;
+          }
+        }
+      });
+      if (words) {
+        this.highWords = { words: words, endIndex: endIndex };
+      } else {
+        this.highWords = null;
+      }
+    },
+    //词和标点合一起
+    mergeWordSymbol(wItem) {
+      if (this.chsFhList.indexOf(wItem.chs) > -1) {
+        wItem.isShow = false;
+      } else {
+        wItem.isShow = true;
+      }
+    },
+    handleWav(list, tmIndex) {
+      tmIndex = tmIndex ? tmIndex : 0;
+      this.curQue.Bookanswer.practiceModel[tmIndex] = {
+        recordList: []
+      };
+      this.$set(
+        this.curQue.Bookanswer.practiceModel[tmIndex],
+        "recordList",
+        list
+      );
+    },
+    handleNewword() {
+      let NewWordList = [];
+      this.NNPENewWordList.forEach(item => {
+        item.forEach(wItem => {
+          if (wItem.new_word) {
+            NewWordList.push(wItem.new_word);
+          } else if (wItem.detail && wItem.detail.sentence) {
+            NewWordList.push(wItem.detail.sentence);
+          }
+        });
+      });
+      this.newWordList = JSON.parse(JSON.stringify(NewWordList));
     }
   },
   //生命周期 - 创建完成(可以访问当前this实例)
-  created() {},
+  created() {
+    if (this.NNPENewWordList && this.NNPENewWordList.length > 0) {
+      this.handleNewword();
+    }
+    if (this.curQue) {
+      this.handleData();
+    }
+  },
   //生命周期 - 挂载完成(可以访问DOM元素)
   mounted() {
     let _this = this;
@@ -267,11 +561,26 @@ export default {
   &.NPC-ArticleView-container {
     margin-bottom: 24px;
   }
+  .ArticleView-full {
+    position: absolute;
+    top: 0;
+    background: url("../../../../assets/NPC/full-screen-red.png") left center
+      no-repeat;
+    background-size: 16px 16px;
+    padding-left: 24px;
+    color: #000000;
+    font-size: 14px;
+    line-height: 24px;
+    font-weight: bold;
+    left: 0;
+    z-index: 1;
+  }
   .ArticleView-header {
     display: flex;
     justify-content: flex-end;
     align-items: center;
     margin-bottom: 16px;
+    position: relative;
     .setting-fontsize {
       display: flex;
       margin-left: 24px;
@@ -341,4 +650,30 @@ export default {
     width: 100%;
   }
 }
+.NPC-Big-Book-preview-green {
+  .ArticleView-full {
+    background: url("../../../../assets/NPC/full-screen-green.png") left center
+      no-repeat !important;
+    background-size: 16px 16px !important;
+  }
+  .Soundrecord-content {
+    .full-screen-icon {
+      background: url("../../../../assets/NPC/full-screen-green.png") left
+        center no-repeat;
+      background-size: 16px 16px;
+    }
+  }
+}
+.NPC-Big-Book-preview-brown {
+  .ArticleView-full {
+    background: url("../../../../assets/NPC/full-screen-brown.png") left center
+      no-repeat !important;
+    background-size: 16px 16px !important;
+  }
+  .full-screen-icon {
+    background: url("../../../../assets/NPC/full-screen-brown.png") left center
+      no-repeat;
+    background-size: 16px 16px;
+  }
+}
 </style>

+ 49 - 33
src/components/Adult/preview/AudioLineSentence.vue

@@ -8,7 +8,7 @@
       <div
         class="play"
         :class="[
-          audio.loading ? 'loadBtn' : audio.playing ? 'playBtn' : 'pauseBtn',
+          audio.loading ? 'loadBtn' : audio.playing ? 'playBtn' : 'pauseBtn'
         ]"
       />
     </div>
@@ -81,7 +81,7 @@ export default {
     "bgIndex",
     "wordPlay",
     "isAuto",
-    "curTime",
+    "curTime"
   ],
   data() {
     // 这里存放数据
@@ -95,14 +95,14 @@ export default {
         // 音频最大播放时长
         maxTime: 0,
         isPlaying: false,
-        loading: false,
+        loading: false
       },
       playTime: parseInt(this.maxTime),
       audioAllTime: null, // 展示总时间
       duioCurrentTime: null, // 剩余时间
       count: 0,
       loading: null,
-      playcount: 0,
+      playcount: 0
     };
   },
   // 计算属性 类似于data概念
@@ -115,7 +115,7 @@ export default {
         width = 662;
       }
       return width;
-    },
+    }
   },
   // 监控data中数据变化
   watch: {
@@ -128,14 +128,14 @@ export default {
         }
       },
       // 深度观察监听
-      deep: true,
+      deep: true
     },
     "audio.playing": {
       handler(val) {
         this.$emit("playChange", val);
         if (val) this.$emit("handleChangeStopAudio");
-      },
-    },
+      }
+    }
   },
   // 生命周期 - 创建完成(可以访问当前this实例)
   created() {},
@@ -152,12 +152,12 @@ export default {
     });
 
     let audioId = _this.audioId;
-    _this.$refs[audioId].addEventListener("loadstart", function () {});
-    _this.$refs[audioId].addEventListener("play", function () {
+    _this.$refs[audioId].addEventListener("loadstart", function() {});
+    _this.$refs[audioId].addEventListener("play", function() {
       _this.audio.playing = true;
       _this.audio.loading = false;
     });
-    _this.$refs[audioId].addEventListener("pause", function () {
+    _this.$refs[audioId].addEventListener("pause", function() {
       _this.audio.playing = false;
       if (_this.audio.currentTime * 1000 + 500 > _this.ed) {
         // _this.$emit("sentPause", true);
@@ -169,19 +169,23 @@ export default {
         _this.audio.isPlaying = false;
       }
     });
-    _this.$refs[audioId].addEventListener("ended", function () {
+    _this.$refs[audioId].addEventListener("ended", function() {
       _this.audio.playing = false;
       _this.audio.isPlaying = false;
       _this.$emit("handleListenRead", false);
     });
 
     this.$nextTick(() => {
-      document
-        .getElementsByClassName("el-slider__button-wrapper")[0]
-        .addEventListener("mousedown", function () {
-          _this.$refs[audioId].pause();
-          _this.audio.playing = false;
-        });
+      if (
+        document.getElementsByClassName("el-slider__button-wrapper").length > 0
+      ) {
+        document
+          .getElementsByClassName("el-slider__button-wrapper")[0]
+          .addEventListener("mousedown", function() {
+            _this.$refs[audioId].pause();
+            _this.audio.playing = false;
+          });
+      }
     });
   },
   // 生命周期-挂载之前
@@ -195,21 +199,29 @@ export default {
     PlayAudio() {
       let audioId = this.audioId;
       let audio = document.getElementsByTagName("audio");
-      if(audio&&audio.length>0&&window.location.href.indexOf('GCLS-Learn')==-1){
-        audio.forEach((item) => {
-            if (item.src == this.mp3) {
+      if (
+        audio &&
+        audio.length > 0 &&
+        window.location.href.indexOf("GCLS-Learn") == -1
+      ) {
+        audio.forEach(item => {
+          if (item.src == this.mp3) {
             if (item.id !== audioId) {
-                item.pause();
+              item.pause();
             }
-            } else {
+          } else {
             item.pause();
-            }
+          }
         });
       }
       let video = document.getElementsByTagName("video");
-      if(video&&video.length>0&&window.location.href.indexOf('GCLS-Learn')==-1){
-        video.forEach((vItem) => {
-            vItem.pause();
+      if (
+        video &&
+        video.length > 0 &&
+        window.location.href.indexOf("GCLS-Learn") == -1
+      ) {
+        video.forEach(vItem => {
+          vItem.pause();
         });
       }
       this.$set(this.audio, "isPlaying", true);
@@ -293,12 +305,16 @@ export default {
       this.playValue = (time / this.audio.maxTime) * 100;
       if (playFlag) {
         let audio = document.getElementsByTagName("audio");
-        if(audio&&audio.length>0&&window.location.href.indexOf('GCLS-Learn')==-1){
-            audio.forEach((item) => {
+        if (
+          audio &&
+          audio.length > 0 &&
+          window.location.href.indexOf("GCLS-Learn") == -1
+        ) {
+          audio.forEach(item => {
             if (item.id !== audioId) {
-                item.pause();
+              item.pause();
             }
-            });
+          });
         }
         this.$refs[audioId].play();
       }
@@ -337,7 +353,7 @@ export default {
         // result = "00:" + result;
       }
       return result;
-    },
+    }
   },
   // 生命周期-创建之前
   beforeCreated() {},
@@ -346,7 +362,7 @@ export default {
   // 生命周期-销毁之前
   beforeDestory() {},
   // 生命周期-销毁完成
-  destoryed() {},
+  destoryed() {}
 };
 </script>
 <style lang="scss" scoped>

+ 4 - 4
src/components/Adult/preview/DialogueArticleViewChs/index.vue

@@ -772,8 +772,8 @@ export default {
 .NPC-Big-Book-preview-green {
   .ArticleView-full {
     background: url("../../../../assets/NPC/full-screen-green.png") left center
-      no-repeat;
-    background-size: 16px 16px;
+      no-repeat !important;
+    background-size: 16px 16px !important;
   }
   .Soundrecord-content {
     .full-screen-icon {
@@ -786,8 +786,8 @@ export default {
 .NPC-Big-Book-preview-brown {
   .ArticleView-full {
     background: url("../../../../assets/NPC/full-screen-brown.png") left center
-      no-repeat;
-    background-size: 16px 16px;
+      no-repeat !important;
+    background-size: 16px 16px !important;
   }
   .full-screen-icon {
     background: url("../../../../assets/NPC/full-screen-brown.png") left center

+ 8 - 2
src/components/Adult/preview/Voicefullscreen-ly.vue

@@ -2369,8 +2369,14 @@ export default {
         this.isCollArr.push(false);
       });
 
-      _this.bg = _this.curQue.wordTime[_this.curSentIndex].bg;
-      _this.ed = _this.curQue.wordTime[_this.curSentIndex].ed;
+      _this.bg =
+        _this.curQue.wordTime && _this.curQue.wordTime[_this.curSentIndex]
+          ? _this.curQue.wordTime[_this.curSentIndex].bg
+          : 0;
+      _this.ed =
+        _this.curQue.wordTime && _this.curQue.wordTime[_this.curSentIndex]
+          ? _this.curQue.wordTime[_this.curSentIndex].ed
+          : 0;
       let maxTime = (_this.ed - _this.bg) / 1000;
       if (maxTime < 1) {
         _this.maxTime = 1;

+ 8 - 2
src/components/Adult/preview/Voicefullscreen.vue

@@ -1063,8 +1063,14 @@ export default {
       _this.sentList.forEach(item => {
         this.isCollArr.push(false);
       });
-      _this.bg = _this.curQue.wordTime[_this.curSentIndex].bg;
-      _this.ed = _this.curQue.wordTime[_this.curSentIndex].ed;
+      _this.bg =
+        _this.curQue.wordTime && _this.curQue.wordTime[_this.curSentIndex]
+          ? _this.curQue.wordTime[_this.curSentIndex].bg
+          : 0;
+      _this.ed =
+        _this.curQue.wordTime && _this.curQue.wordTime[_this.curSentIndex]
+          ? _this.curQue.wordTime[_this.curSentIndex].ed
+          : 0;
       let maxTime = (_this.ed - _this.bg) / 1000;
       if (maxTime < 1) {
         _this.maxTime = 1;

+ 0 - 4
src/components/Adult/preview/components/WordPhraseDetail.vue

@@ -459,7 +459,6 @@ export default {
           cutArea.append(canvas);
           // 将操作完成的画布转化为 base64 编码的文件
           dataURL = canvas.toDataURL("image/png");
-          console.log(dataURL);
           // 将文件设置到下载区, 点击就能下载了
           const a = document.createElement("a");
           a.download = "例句.png";
@@ -585,7 +584,6 @@ export default {
           };
           this.loading1 = false;
           this.list1 = res;
-          console.log(this.list1);
           if (res.sentence_list.length > 0) {
             this.list1.sentence_list = this.handleExample(res.sentence_list);
             this.list1.sentence_list_sort_left = this.handleExample(
@@ -615,7 +613,6 @@ export default {
               this.list1.sentence_list_sort_right
             );
           }
-          console.log(this.list1);
           getContent(Mname, {
             courseware_id: this.currentTreeID, // 课件id
             word: this.data.new_word, //生词
@@ -696,7 +693,6 @@ export default {
                   this.CurrentList = JSON.parse(
                     JSON.stringify(this.allList.sentence_list)
                   );
-                  console.log(this.allList);
                   this.loading3 = false;
                 })
                 .catch(err => {

+ 17 - 5
src/components/Adult/preview/components/Wordcard.vue

@@ -67,7 +67,7 @@
             "
             class="collect-icon"
             v-if="word.detail.new_word.length > 1"
-            @click="writeWord(conItem)"
+            @click="writeWord(conItem, '', word.detail.new_word.length)"
           />
           <div
             class="bwc-line"
@@ -148,7 +148,13 @@
         </button>
         <button
           class="bwc-btn bwc-btn2"
-          @click="writeWord(word.detail.new_word, word.detail.pinyin)"
+          @click="
+            writeWord(
+              word.detail.new_word,
+              word.detail.pinyin,
+              word.detail.new_word.length
+            )
+          "
           v-if="word.detail.new_word.length == 1"
         >
           <img
@@ -172,7 +178,7 @@
           :cur="curData"
           :themeColor="themeColor"
           :currentTreeID="currentTreeID"
-          :mp3Url="mp3Url"
+          :mp3Url="praMp3"
           :TaskModel="TaskModel"
           :writeList="writeList"
           @changeCurQue="changeCurQue"
@@ -236,7 +242,8 @@ export default {
       dataDetail: null,
       defChsArr: [],
       defEnArr: [],
-      collFlag: false
+      collFlag: false,
+      praMp3: ""
     };
   },
   computed: {},
@@ -319,7 +326,7 @@ export default {
         this.collFlag = res.is_collection == "true" ? true : false;
       });
     },
-    async writeWord(words, pinyin) {
+    async writeWord(words, pinyin, length) {
       const MethodName = "tool-ChineseSCConvert";
       const data = {
         text: words,
@@ -336,6 +343,11 @@ export default {
           }
         ]
       };
+      if (length === 1) {
+        this.praMp3 = this.mp3Url;
+      } else {
+        this.praMp3 = "";
+      }
       this.isPraShow = true;
     },
     changePraShow(answer) {