|
@@ -328,7 +328,9 @@
|
|
|
class="vedioTimeBox"
|
|
|
v-for="(media, vedioIndex) in vedio[jdIndex][rwIndex]"
|
|
|
:key="vedioIndex + '1'"
|
|
|
- @click="lookVedio(media.url, jdIndex, rwIndex,vedioIndex)"
|
|
|
+ @click="
|
|
|
+ lookVedio(media.url, jdIndex, rwIndex, vedioIndex)
|
|
|
+ "
|
|
|
>
|
|
|
<div
|
|
|
class="media"
|
|
@@ -353,7 +355,17 @@
|
|
|
{{ vedioTime[jdIndex][rwIndex][vedioIndex] }}
|
|
|
</div> -->
|
|
|
</div>
|
|
|
- <div class="vedioName" :class="isClickNavOne[jdIndex][rwIndex][vedioIndex] == vedioIndex ? 'isClickNavOne' : '' ">{{ media.name }}</div>
|
|
|
+ <div
|
|
|
+ class="vedioName"
|
|
|
+ :class="
|
|
|
+ isClickNavOne[jdIndex][rwIndex][vedioIndex] ==
|
|
|
+ 'video' + vedioIndex
|
|
|
+ ? 'isClickNavOne'
|
|
|
+ : ''
|
|
|
+ "
|
|
|
+ >
|
|
|
+ {{ media.name }}
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div
|
|
@@ -381,7 +393,15 @@
|
|
|
文档
|
|
|
</div> -->
|
|
|
<div style="width: calc(100% - 115px)">
|
|
|
- <div class="navText" :class="isClickNavOne[jdIndex][rwIndex][textIndex] == textIndex ? 'isClickNavOne' : ''">
|
|
|
+ <div
|
|
|
+ class="navText"
|
|
|
+ :class="
|
|
|
+ isClickNavOne[jdIndex][rwIndex][textIndex] ==
|
|
|
+ 'text' + textIndex
|
|
|
+ ? 'isClickNavOne'
|
|
|
+ : ''
|
|
|
+ "
|
|
|
+ >
|
|
|
{{
|
|
|
textList[jdIndex][rwIndex].length > 0
|
|
|
? text.name
|
|
@@ -449,7 +469,15 @@
|
|
|
文档
|
|
|
</div> -->
|
|
|
<div style="width: calc(100% - 115px)">
|
|
|
- <div class="navText" :class="isClickNavOne[jdIndex][rwIndex][fileIndex] == fileIndex ? 'isClickNavOne' : ''">
|
|
|
+ <div
|
|
|
+ class="navText"
|
|
|
+ :class="
|
|
|
+ isClickNavOne[jdIndex][rwIndex][fileIndex] ==
|
|
|
+ 'word' + fileIndex
|
|
|
+ ? 'isClickNavOne'
|
|
|
+ : ''
|
|
|
+ "
|
|
|
+ >
|
|
|
{{ f.name }}
|
|
|
</div>
|
|
|
</div>
|
|
@@ -2185,7 +2213,7 @@ export default {
|
|
|
answerDialogVisible: false,
|
|
|
timeDialogVisible: false,
|
|
|
radio: [],
|
|
|
- isClickNavOne:[],
|
|
|
+ isClickNavOne: [],
|
|
|
isAsk: false,
|
|
|
askJson: {
|
|
|
askCount: 1,
|
|
@@ -3107,6 +3135,7 @@ export default {
|
|
|
) {
|
|
|
this.showType[i][j] = 3;
|
|
|
this.pptImgUrl1[i][j] = _url;
|
|
|
+ this.isClickNavOne[i][j][0] = "word0";
|
|
|
} else if (
|
|
|
this.isAssetTypeAnImage(
|
|
|
_url
|
|
@@ -3116,15 +3145,18 @@ export default {
|
|
|
) {
|
|
|
this.showType[i][j] = 4;
|
|
|
this.pptImgUrl1[i][j] = _url;
|
|
|
+ this.isClickNavOne[i][j][0] = "word0";
|
|
|
} else {
|
|
|
this.showType[i][j] = 2;
|
|
|
this.pptImgUrl1[i][j] =
|
|
|
"https://view.officeapps.live.com/op/view.aspx?src=" +
|
|
|
_url;
|
|
|
+ this.isClickNavOne[i][j][0] = "word0";
|
|
|
}
|
|
|
} else if (f[j].chapterData[0].type == 6) {
|
|
|
this.showType[i][j] = 1;
|
|
|
this.text = this.textList[i][j][0];
|
|
|
+ this.isClickNavOne[i][j][0] = "text0";
|
|
|
}
|
|
|
} else {
|
|
|
for (var y = 0; y < f[j].chapterData.length; y++) {
|
|
@@ -3140,6 +3172,7 @@ export default {
|
|
|
) {
|
|
|
this.showType[i][j] = 3;
|
|
|
this.pptImgUrl1[i][j] = _url;
|
|
|
+ this.isClickNavOne[i][j][0] = "word0";
|
|
|
} else if (
|
|
|
this.isAssetTypeAnImage(
|
|
|
_url
|
|
@@ -3149,20 +3182,25 @@ export default {
|
|
|
) {
|
|
|
this.showType[i][j] = 4;
|
|
|
this.pptImgUrl1[i][j] = _url;
|
|
|
+ this.isClickNavOne[i][j][0] = "word0";
|
|
|
} else {
|
|
|
this.showType[i][j] = 2;
|
|
|
this.pptImgUrl1[i][j] =
|
|
|
"https://view.officeapps.live.com/op/view.aspx?src=" +
|
|
|
_url;
|
|
|
+ this.isClickNavOne[i][j][0] = "word0";
|
|
|
}
|
|
|
} else if (f[j].chapterData[y].type == 6) {
|
|
|
this.showType[i][j] = 1;
|
|
|
this.text = this.textList[i][j][0];
|
|
|
+ this.isClickNavOne[i][j][0] = "text0";
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ } else {
|
|
|
+ this.isClickNavOne[i][j][0] = "video0";
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -3268,20 +3306,20 @@ export default {
|
|
|
// this.playerO = this.playerOptions;
|
|
|
// },
|
|
|
// onPlayerPlay() {},
|
|
|
- lookVedio(u, i, j,v) {
|
|
|
+ lookVedio(u, i, j, v) {
|
|
|
this.isClickNavOne[i][j] = [];
|
|
|
var e = JSON.parse(JSON.stringify(this.playerOptions));
|
|
|
e.sources[0].src = u;
|
|
|
this.playerO[i][j] = e;
|
|
|
this.showType[i][j] = 0;
|
|
|
- this.isClickNavOne[i][j][v] = v;
|
|
|
+ this.isClickNavOne[i][j][v] = "video" + v;
|
|
|
},
|
|
|
lookText(i, j, t) {
|
|
|
this.isClickNavOne[i][j] = [];
|
|
|
// this.textList[i][j][t] = this.textList[i][j][t];
|
|
|
// this.dialogVisible1 = true;
|
|
|
this.showType[i][j] = 1;
|
|
|
- this.isClickNavOne[i][j][t] = t;
|
|
|
+ this.isClickNavOne[i][j][t] = "text" + t;
|
|
|
},
|
|
|
lookTools(i, t) {
|
|
|
this.chapTools = this.chapToolList[i][t];
|
|
@@ -3336,7 +3374,7 @@ export default {
|
|
|
} else {
|
|
|
window.open(this.file[i].url);
|
|
|
}
|
|
|
- this.isClickNavOne[j][k][i] = i;
|
|
|
+ this.isClickNavOne[j][k][i] = "word" + i;
|
|
|
},
|
|
|
downFileList(i) {
|
|
|
window.open(this.noImgList[i].url);
|