11wqe1 11 月之前
父节点
当前提交
3bae6ba2d0
共有 1 个文件被更改,包括 22 次插入1 次删除
  1. 22 1
      src/components/pages/components/studentWorksDetail.vue

+ 22 - 1
src/components/pages/components/studentWorksDetail.vue

@@ -1416,7 +1416,15 @@
                               :content="item.value"
                               placement="top-start"
                             >
-                              <span>{{ item.value }}</span>
+                            <div class="RootImgBlock">
+                                <img
+                                  v-if="item.isai == 1"
+                                  class="RootImg"
+                                  src="../../../assets/icon/conSentences/Brootper.svg"
+                                  alt=""
+                                />
+                                {{ item.value }}
+                              </div>
                             </el-tooltip>
                             <el-rate
                               class="rate_size"
@@ -3980,6 +3988,7 @@ export default {
   margin-bottom: 15px;
   /* margin: 10px 0 0 30px; */
   margin: 10px 0;
+  position: relative;
 }
 .sd_score .score_box > span:nth-child(1) {
   margin-right: 20px;
@@ -5342,4 +5351,16 @@ ol {
   padding: 20px;
   box-sizing: border-box;
 }
+.RootImg{
+  position: absolute;
+  left: 0;
+  top: 50%;
+  transform: translate(-20px,-50%);
+}
+.RootImgBlock{
+    width: 50%;
+    white-space: nowrap;
+    overflow: hidden;
+    text-overflow: ellipsis;
+}
 </style>