wuhongyu 5 年之前
父節點
當前提交
cf010765fe
共有 2 個文件被更改,包括 4 次插入2 次删除
  1. 1 1
      src/views/communication/parts/topicDetail.vue
  2. 3 1
      src/views/partisan/parts/newsDetail.vue

+ 1 - 1
src/views/communication/parts/topicDetail.vue

@@ -299,7 +299,7 @@ export default {
   padding: 20px;
 }
 .main .two .twoInfo .right .info p {
-  font-size: 17px;
+  font-size: 16px;
   overflow: hidden;
   height: 155px;
 }

+ 3 - 1
src/views/partisan/parts/newsDetail.vue

@@ -8,7 +8,9 @@
           <span>时间:{{ details.publish_time }}</span>
         </div>
         <el-col :span="24" class="image" v-if="details.img_url">
-          <el-image :src="details.img_url"></el-image>
+          <el-col :span="24" v-for="(item, index) in details.img_url" :key="index">
+            <el-image :src="item"></el-image>
+          </el-col>
         </el-col>
         <p v-html="details.content"></p>
       </el-col>