소스 검색

添加二级标题

asd123a20 2 년 전
부모
커밋
22d08f3c9c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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> -->