|
@@ -7,6 +7,9 @@
|
|
<span>文章来源:{{ details.publish_unit }}</span>
|
|
<span>文章来源:{{ details.publish_unit }}</span>
|
|
<span>时间:{{ details.publish_time }}</span>
|
|
<span>时间:{{ details.publish_time }}</span>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div class="detailimage" v-if="details.img_url">
|
|
|
|
+ <img :src="details.img_url" class="detailimg" />
|
|
|
|
+ </div>
|
|
<p v-html="details.content"></p>
|
|
<p v-html="details.content"></p>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
@@ -57,4 +60,14 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+.detailimage {
|
|
|
|
+ text-align: center;
|
|
|
|
+ padding: 20px 0 0 0;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.detailimg {
|
|
|
|
+ width: 300px;
|
|
|
|
+ height: 300px;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|