lrf402788946 5 years ago
parent
commit
6426bb3b14
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/info/detail.vue

+ 2 - 2
src/views/info/detail.vue

@@ -17,8 +17,8 @@
         发布时间:{{ info.meta && info.meta.createdAt ? new Date(info.meta.createdAt).toLocaleDateString() : '' || '' }}
         <!-- 点击人次:26125 -->
       </el-col>
-      <el-col :span="24">
-        <el-image :src="info.picurl" width="100%"></el-image>
+      <el-col :span="24" style="text-align:center">
+        <el-image :src="info.picurl" style="height:60%;width:60%"></el-image>
       </el-col>
       <el-col :span="24" style="padding-top: 1rem;" v-html="info.content"> </el-col>
     </el-row>