Browse Source

添加二级标题

asd123a20 1 year ago
parent
commit
22d08f3c9c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/views/details.vue

+ 1 - 0
src/views/details.vue

@@ -3,6 +3,7 @@
     <breadcrumb ref="breadcrumb"></breadcrumb>
     <div ref="detailsHome" class="detailsHome" v-if="contentsItem">
       <img class="thumbnail" v-if="isshow" :src="contentsItem.thumbnail">
+      <h4 class="title" v-if="contentsItem && contentsItem.twoTitle">{{ contentsItem.twoTitle }}</h4>
       <h2 class="title">{{ contentsItem.title }}</h2>
       <h4 class="title" v-if="contentsItem && contentsItem.curtTitle">{{ contentsItem.curtTitle }}</h4>
       <!-- <span class="describe">{{ contentsItem.describe }}</span> -->