|
@@ -18,6 +18,10 @@
|
|
|
发布时间:{{contentList.publish_time}}
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
+ <el-col :span="24" class="image">
|
|
|
+ <el-image :src="contentList.pic" v-if="contentList.pic"></el-image>
|
|
|
+ <el-col :span="24" v-else></el-col>
|
|
|
+ </el-col>
|
|
|
<el-col :span="24" class="content" v-html="contentList.content">
|
|
|
</el-col>
|
|
|
</el-col>
|
|
@@ -67,6 +71,9 @@ export default {
|
|
|
padding: 0 0 15px 0;
|
|
|
font-size: 20px;
|
|
|
}
|
|
|
+.info .image {
|
|
|
+ text-align: center;
|
|
|
+}
|
|
|
.info .content {
|
|
|
font-size: 21px;
|
|
|
color: #333;
|