guhongwei 3 年之前
父节点
当前提交
97e742a6df
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      src/layout/innovate/achieve/list.vue

+ 4 - 3
src/layout/innovate/achieve/list.vue

@@ -6,9 +6,7 @@
           {{ item.name }}
         </van-col>
         <van-col span="24" class="other">
-          <van-col span="24" class="otherInfo">
-            重要成果:<span>{{ item.content || '暂无' }}</span>
-          </van-col>
+          <van-col span="24" class="otherInfo"> 重要成果:<span v-html="item.content"></span> </van-col>
         </van-col>
       </van-col>
     </van-col>
@@ -51,6 +49,9 @@ export default {
         span {
           color: #000;
         }
+        /deep/p {
+          display: inline-block;
+        }
       }
     }
     .btn {