소스 검색

added description in accordion, default opened

bach 4 년 전
부모
커밋
e4b4a967a0
2개의 변경된 파일9개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 0
      web/themes/custom/materiotheme/assets/dist/main.js
  2. 9 1
      web/themes/custom/materiotheme/vuejs/components/Content/ModalCard.vue

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
web/themes/custom/materiotheme/assets/dist/main.js


+ 9 - 1
web/themes/custom/materiotheme/vuejs/components/Content/ModalCard.vue

@@ -85,8 +85,16 @@
           </div>
         </section> -->
       </nav>
-      <section class="body" v-html="material.body"/>
       <vsa-list>
+        <vsa-item :initActive="true">
+          <vsa-heading>
+            <span class="label">Description</span>
+          </vsa-heading>
+          <vsa-content>
+            <section class="body" v-html="material.body"/>
+          </vsa-content>
+        </vsa-item>
+
         <vsa-item v-if="material.linked_materials">
           <vsa-heading>
             <span class="label">{{ $t("materio.Linked materials") }}</span>

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.