|
@@ -24,7 +24,6 @@
|
|
|
</template>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
<el-collapse-transition>
|
|
|
<div
|
|
|
class="NPC-word-list"
|
|
@@ -40,7 +39,7 @@
|
|
|
"
|
|
|
>
|
|
|
<AudioLine
|
|
|
- audioId="SelectYinjieAudio"
|
|
|
+ :audioId="'SelectYinjieAudio'+ indexStr"
|
|
|
:mp3="curQue.mp3_list[0].id"
|
|
|
:getCurTime="getCurTime"
|
|
|
:themeColor="themeColor"
|
|
@@ -97,7 +96,7 @@
|
|
|
@click="palyAudio(sItem.sIndex)"
|
|
|
></span>
|
|
|
<audio
|
|
|
- :id="'word' + indexs + indexss + sItem.sIndex"
|
|
|
+ :id="'word' + indexStr+sItem.sIndex"
|
|
|
:src="sItem.mp3_list[0].id"
|
|
|
></audio>
|
|
|
</template>
|
|
@@ -240,7 +239,7 @@ export default {
|
|
|
WordPhraseDetail,
|
|
|
AudioLine,
|
|
|
},
|
|
|
- props: ["curQue", "themeColor", "currentTreeID", "indexs", "indexss"],
|
|
|
+ props: ["curQue", "themeColor", "currentTreeID", "indexs", "indexss","indexStr"],
|
|
|
data() {
|
|
|
//这里存放数据
|
|
|
return {
|
|
@@ -283,7 +282,7 @@ export default {
|
|
|
let _this = this;
|
|
|
_this.stopAudio();
|
|
|
let node = document.getElementById(
|
|
|
- "word" + _this.indexs + _this.indexss + sIndex
|
|
|
+ "word" + _this.indexStr+sIndex
|
|
|
);
|
|
|
let mp3 = node.src;
|
|
|
let audio = document.getElementsByTagName("audio");
|