|
@@ -1066,7 +1066,8 @@
|
|
" v-for="(w, wIndex) in worksStudent[toolIndex]" :key="wIndex"
|
|
" v-for="(w, wIndex) in worksStudent[toolIndex]" :key="wIndex"
|
|
:class="w.type == 1 ? 'isTypeOne' : ''">
|
|
:class="w.type == 1 ? 'isTypeOne' : ''">
|
|
<div class="workImg" v-if="w.type == 0">
|
|
<div class="workImg" v-if="w.type == 0">
|
|
- <img :src="w.works" @click="commentOther(w, toolIndex, wIndex)" alt />
|
|
|
|
|
|
+ <!-- @click="commentOther(w, toolIndex, wIndex)" -->
|
|
|
|
+ <img :src="w.works" @click="previewImg(w.works)" alt />
|
|
<div class="answerScore" v-if="w.score" @click.stop="openScore(w)"
|
|
<div class="answerScore" v-if="w.score" @click.stop="openScore(w)"
|
|
:class="{ rightW: w.userid == userid || tType == 1 || tType == 4 || w.ateacher == userid }">
|
|
:class="{ rightW: w.userid == userid || tType == 1 || tType == 4 || w.ateacher == userid }">
|
|
{{ JSON.parse(w.score).wScore }}分
|
|
{{ JSON.parse(w.score).wScore }}分
|
|
@@ -1420,9 +1421,9 @@
|
|
border-radius: 15px;
|
|
border-radius: 15px;
|
|
box-shadow: 0 0 6px 1px #dfdada;
|
|
box-shadow: 0 0 6px 1px #dfdada;
|
|
" v-for="(w, wIndex) in worksStudent[toolIndex]" :key="wIndex">
|
|
" v-for="(w, wIndex) in worksStudent[toolIndex]" :key="wIndex">
|
|
- <!-- @click="previewImg(w.works)" -->
|
|
|
|
|
|
+ <!-- @click="previewImg(w.works)" @click="commentOther(w, toolIndex, wIndex)"-->
|
|
<div class="workImg">
|
|
<div class="workImg">
|
|
- <img :src="w.works" @click="commentOther(w, toolIndex, wIndex)" alt />
|
|
|
|
|
|
+ <img :src="w.works" @click="previewImg(w.works)" alt />
|
|
<div class="answerScore" v-if="w.score" @click.stop="openScore(w)"
|
|
<div class="answerScore" v-if="w.score" @click.stop="openScore(w)"
|
|
:class="{ rightW: w.userid == userid || tType == 1 || tType == 4 }">
|
|
:class="{ rightW: w.userid == userid || tType == 1 || tType == 4 }">
|
|
{{ JSON.parse(w.score).wScore }}分
|
|
{{ JSON.parse(w.score).wScore }}分
|
|
@@ -1492,7 +1493,7 @@
|
|
" v-for="(w, wIndex) in worksStudent[toolIndex]" :key="wIndex">
|
|
" v-for="(w, wIndex) in worksStudent[toolIndex]" :key="wIndex">
|
|
<!-- @click="previewImg(w.works)" -->
|
|
<!-- @click="previewImg(w.works)" -->
|
|
<div class="workImg">
|
|
<div class="workImg">
|
|
- <img :src="w.works" @click="commentOther(w, toolIndex, wIndex)" alt />
|
|
|
|
|
|
+ <img :src="w.works" @click="previewImg(w.works)" alt />
|
|
<div class="answerScore" v-if="w.score" @click.stop="openScore(w)"
|
|
<div class="answerScore" v-if="w.score" @click.stop="openScore(w)"
|
|
:class="{ rightW: w.userid == userid || tType == 1 || tType == 4 }">
|
|
:class="{ rightW: w.userid == userid || tType == 1 || tType == 4 }">
|
|
{{ JSON.parse(w.score).wScore }}分
|
|
{{ JSON.parse(w.score).wScore }}分
|
|
@@ -1562,7 +1563,7 @@
|
|
" v-for="(w, wIndex) in worksStudent[toolIndex]" :key="wIndex">
|
|
" v-for="(w, wIndex) in worksStudent[toolIndex]" :key="wIndex">
|
|
<!-- @click="previewImg(w.works)" -->
|
|
<!-- @click="previewImg(w.works)" -->
|
|
<div class="workImg">
|
|
<div class="workImg">
|
|
- <img :src="w.works" @click="commentOther(w, toolIndex, wIndex)" alt />
|
|
|
|
|
|
+ <img :src="w.works" @click="previewImg(w.works)" alt />
|
|
<div class="answerScore" v-if="w.score" @click.stop="openScore(w)"
|
|
<div class="answerScore" v-if="w.score" @click.stop="openScore(w)"
|
|
:class="{ rightW: w.userid == userid || tType == 1 || tType == 4 }">
|
|
:class="{ rightW: w.userid == userid || tType == 1 || tType == 4 }">
|
|
{{ JSON.parse(w.score).wScore }}分
|
|
{{ JSON.parse(w.score).wScore }}分
|
|
@@ -1632,7 +1633,7 @@
|
|
" v-for="(w, wIndex) in worksStudent[toolIndex]" :key="wIndex">
|
|
" v-for="(w, wIndex) in worksStudent[toolIndex]" :key="wIndex">
|
|
<!-- @click="previewImg(w.works)" -->
|
|
<!-- @click="previewImg(w.works)" -->
|
|
<div class="workImg">
|
|
<div class="workImg">
|
|
- <img :src="w.works" @click="commentOther(w, toolIndex, wIndex)" alt />
|
|
|
|
|
|
+ <img :src="w.works" @click="previewImg(w.works)" alt />
|
|
<div class="answerScore" v-if="w.score" @click.stop="openScore(w)"
|
|
<div class="answerScore" v-if="w.score" @click.stop="openScore(w)"
|
|
:class="{ rightW: w.userid == userid || tType == 1 || tType == 4 }">
|
|
:class="{ rightW: w.userid == userid || tType == 1 || tType == 4 }">
|
|
{{ JSON.parse(w.score).wScore }}分
|
|
{{ JSON.parse(w.score).wScore }}分
|
|
@@ -2150,7 +2151,7 @@
|
|
" v-for="(w, wIndex) in worksStudent[toolIndex][gindex]" :key="wIndex"
|
|
" v-for="(w, wIndex) in worksStudent[toolIndex][gindex]" :key="wIndex"
|
|
:class="w.type == 1 ? 'isTypeOne' : ''">
|
|
:class="w.type == 1 ? 'isTypeOne' : ''">
|
|
<div class="workImg" v-if="w.type == 0">
|
|
<div class="workImg" v-if="w.type == 0">
|
|
- <img :src="w.works" @click="commentOther(w, toolIndex, wIndex, gindex)" alt />
|
|
|
|
|
|
+ <img :src="w.works" @click="previewImg(w.works)" alt />
|
|
<div class="answerScore" v-if="w.score" @click.stop="openScore(w)"
|
|
<div class="answerScore" v-if="w.score" @click.stop="openScore(w)"
|
|
:class="{ rightW: w.userid == userid || tType == 1 || tType == 4 || w.ateacher == userid }">
|
|
:class="{ rightW: w.userid == userid || tType == 1 || tType == 4 || w.ateacher == userid }">
|
|
{{ JSON.parse(w.score).wScore }}分
|
|
{{ JSON.parse(w.score).wScore }}分
|
|
@@ -9228,6 +9229,7 @@ export default {
|
|
flex-wrap: nowrap;
|
|
flex-wrap: nowrap;
|
|
align-items: center;
|
|
align-items: center;
|
|
position: relative;
|
|
position: relative;
|
|
|
|
+ justify-content: center;
|
|
}
|
|
}
|
|
|
|
|
|
.answerBg>div:nth-child(1) {
|
|
.answerBg>div:nth-child(1) {
|
|
@@ -9237,13 +9239,13 @@ export default {
|
|
|
|
|
|
.answerContent {
|
|
.answerContent {
|
|
width: 215px;
|
|
width: 215px;
|
|
- height: 60px;
|
|
|
|
|
|
+ max-height: 60px;
|
|
word-break: break-all;
|
|
word-break: break-all;
|
|
text-align: center;
|
|
text-align: center;
|
|
/* white-space: nowrap; */
|
|
/* white-space: nowrap; */
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
text-overflow: ellipsis;
|
|
- padding: 23px 0 0;
|
|
|
|
|
|
+ /* padding: 23px 0 0; */
|
|
-webkit-line-clamp: 3;
|
|
-webkit-line-clamp: 3;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-box-orient: vertical;
|
|
display: -webkit-box;
|
|
display: -webkit-box;
|