|
@@ -3,10 +3,12 @@
|
|
|
<img src="../../../assets/ztjytop.jpg" class="topimg" />
|
|
|
<div class="listBox">
|
|
|
<div class="listtitle" v-if="menu.name">{{ menu.name }}</div>
|
|
|
+ <h4 class="title2" :class="{ top: !menu.name }" v-if="contentsItem && contentsItem.twoTitle" v-html="contentsItem.twoTitle"></h4>
|
|
|
<div class="title" :class="{ top: !menu.name }" v-html="contentsItem && contentsItem.title"></div>
|
|
|
+ <h4 class="title2" v-if="contentsItem && contentsItem.curtTitle" v-html="contentsItem.curtTitle"></h4>
|
|
|
<div class="timeBox">
|
|
|
<div class="times">
|
|
|
- <span class="time">时间:{{ contentsItem && contentsItem.createAt | dates }}</span>
|
|
|
+ <span class="time">发表时间:{{ contentsItem && contentsItem.createAt | dates }}</span>
|
|
|
<span class="time2" v-if="contentsItem && contentsItem.source">来源:{{ contentsItem && contentsItem.source }}</span>
|
|
|
<span class="time2" v-if="contentsItem && contentsItem.author">作者:{{ contentsItem && contentsItem.author }}</span>
|
|
|
<span class="time2">访问量: {{ contentsItem && contentsItem.visit }}</span>
|
|
@@ -128,4 +130,8 @@ export default {
|
|
|
.top {
|
|
|
margin-top: 3%;
|
|
|
}
|
|
|
+.title2 {
|
|
|
+ width: 100%;
|
|
|
+ text-align: center;
|
|
|
+}
|
|
|
</style>
|