|
@@ -187,19 +187,19 @@
|
|
|
? 'listNoVedio'
|
|
|
: ''
|
|
|
" v-if="
|
|
|
- (vedio.length &&
|
|
|
- vedio[jdIndex][rwIndex] &&
|
|
|
- vedio[jdIndex][rwIndex].length > 0) ||
|
|
|
- (textList.length &&
|
|
|
- textList[jdIndex][rwIndex] &&
|
|
|
- textList[jdIndex][rwIndex].length > 0) ||
|
|
|
- (lineList.length &&
|
|
|
- lineList[jdIndex][rwIndex] &&
|
|
|
- lineList[jdIndex][rwIndex].length > 0) ||
|
|
|
- (file.length &&
|
|
|
- file[jdIndex][rwIndex] &&
|
|
|
- file[jdIndex][rwIndex].length > 0)
|
|
|
- ">
|
|
|
+ (vedio.length &&
|
|
|
+ vedio[jdIndex][rwIndex] &&
|
|
|
+ vedio[jdIndex][rwIndex].length > 0) ||
|
|
|
+ (textList.length &&
|
|
|
+ textList[jdIndex][rwIndex] &&
|
|
|
+ textList[jdIndex][rwIndex].length > 0) ||
|
|
|
+ (lineList.length &&
|
|
|
+ lineList[jdIndex][rwIndex] &&
|
|
|
+ lineList[jdIndex][rwIndex].length > 0) ||
|
|
|
+ (file.length &&
|
|
|
+ file[jdIndex][rwIndex] &&
|
|
|
+ file[jdIndex][rwIndex].length > 0)
|
|
|
+ ">
|
|
|
<div class="navTitile">内容列表:</div>
|
|
|
<div class="navBox">
|
|
|
<div v-show="
|
|
@@ -289,8 +289,8 @@
|
|
|
lineList.length &&
|
|
|
lineList[jdIndex][rwIndex] &&
|
|
|
lineList[jdIndex][rwIndex].length > 0
|
|
|
- " class="newNav" v-for="(lines, lineIndex) in lineList[jdIndex][rwIndex]"
|
|
|
- :key="lineIndex + '4'" @click="doUrl(lines.url)">
|
|
|
+ " class="newNav" v-for="(lines, lineIndex) in lineList[jdIndex][rwIndex]" :key="lineIndex + '4'"
|
|
|
+ @click="doUrl(lines.url)">
|
|
|
<!-- <div
|
|
|
class="vedioNav"
|
|
|
style="
|
|
@@ -2475,8 +2475,8 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
handleClose(done) {
|
|
|
- if(this.videoDetail.sources&&this.videoDetail.sources[0]){
|
|
|
- this.videoDetail.sources[0].src=''
|
|
|
+ if (this.videoDetail.sources && this.videoDetail.sources[0]) {
|
|
|
+ this.videoDetail.sources[0].src = ''
|
|
|
}
|
|
|
this.commentIndexJson = {};
|
|
|
done();
|
|
@@ -2815,6 +2815,10 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
addComment(wid, uid, t) {
|
|
|
+ if (this.commentText == '') {
|
|
|
+ this.$message.error("请输入对该学生的评价")
|
|
|
+ return
|
|
|
+ }
|
|
|
let params = [
|
|
|
{
|
|
|
wid: wid,
|
|
@@ -2966,8 +2970,8 @@ export default {
|
|
|
for (var l = 0; l < t.length; l++) {
|
|
|
//评论
|
|
|
if (t[l].workId == b[j].id) {
|
|
|
- commentCount++;
|
|
|
if (t[l].comment != "") {
|
|
|
+ commentCount++;
|
|
|
commentJson.push({
|
|
|
commentText: t[l].comment,
|
|
|
commentTime: t[l].commentTime,
|
|
@@ -6994,11 +6998,11 @@ export default {
|
|
|
border: none !important;
|
|
|
}
|
|
|
|
|
|
-.pzList .time{
|
|
|
+.pzList .time {
|
|
|
text-align: right;
|
|
|
- box-sizing: border-box;
|
|
|
- padding: 0 10px 10px 0px;
|
|
|
- color: #949494;
|
|
|
- font-size: 14px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ padding: 0 10px 10px 0px;
|
|
|
+ color: #949494;
|
|
|
+ font-size: 14px;
|
|
|
}
|
|
|
</style>
|