|
@@ -688,6 +688,9 @@
|
|
:TaskModel="TaskModel"
|
|
:TaskModel="TaskModel"
|
|
:writeList="curQue.Bookanswer.writeModel"
|
|
:writeList="curQue.Bookanswer.writeModel"
|
|
@changeCurQue="changeCurQue"
|
|
@changeCurQue="changeCurQue"
|
|
|
|
+ :mp3Url="activeWord ? activeWord.newWordMp3 : ''"
|
|
|
|
+ :bg="activeWord ? activeWord.bg : null"
|
|
|
|
+ :ed="activeWord ? activeWord.ed : null"
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -778,7 +781,8 @@ export default {
|
|
sentIndex: -1,
|
|
sentIndex: -1,
|
|
highWords: null,
|
|
highWords: null,
|
|
highWordsArr: [],
|
|
highWordsArr: [],
|
|
- highIndex: 0
|
|
|
|
|
|
+ highIndex: 0,
|
|
|
|
+ activeWord: null
|
|
};
|
|
};
|
|
},
|
|
},
|
|
computed: {},
|
|
computed: {},
|
|
@@ -1216,6 +1220,7 @@ export default {
|
|
viewNotes(e, noteNum) {
|
|
viewNotes(e, noteNum) {
|
|
let _this = this;
|
|
let _this = this;
|
|
_this.clickType = "note";
|
|
_this.clickType = "note";
|
|
|
|
+ _this.activeWord = null;
|
|
let noteIndex = "";
|
|
let noteIndex = "";
|
|
if (_this.NumberList.indexOf(noteNum) > -1) {
|
|
if (_this.NumberList.indexOf(noteNum) > -1) {
|
|
for (let i = 0; i < _this.NumberList.length; i++) {
|
|
for (let i = 0; i < _this.NumberList.length; i++) {
|
|
@@ -1229,6 +1234,13 @@ export default {
|
|
if (this.newWordList.indexOf(noteNum) > -1) {
|
|
if (this.newWordList.indexOf(noteNum) > -1) {
|
|
if (_this.oldHz != noteNum) {
|
|
if (_this.oldHz != noteNum) {
|
|
this.isShow = false;
|
|
this.isShow = false;
|
|
|
|
+ _this.NNPENewWordList.forEach(item => {
|
|
|
|
+ item.forEach(items => {
|
|
|
|
+ if (items.new_word === noteNum) {
|
|
|
|
+ this.activeWord = items;
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ });
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
_this.hz = noteNum;
|
|
_this.hz = noteNum;
|
|
}, 50);
|
|
}, 50);
|