File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -76,10 +76,16 @@ const items = ref([
7676 :title =" page.faq.title"
7777 :description =" page.faq.description"
7878 >
79- <UPageAccordion
79+ <UAccordion
8080 :items =" page.faq.items"
81- multiple
82- class =" max-w-4xl mx-auto"
81+ :unmount-on-hide =" false"
82+ :default-value =" ['0']"
83+ type =" multiple"
84+ class =" max-w-3xl mx-auto"
85+ :ui =" {
86+ trigger: 'text-base text-highlighted',
87+ body: 'text-base text-muted'
88+ }"
8389 />
8490 </UPageSection >
8591 </div >
Original file line number Diff line number Diff line change @@ -102,8 +102,7 @@ export const collections = {
102102 items : z . array (
103103 z . object ( {
104104 label : z . string ( ) . nonempty ( ) ,
105- content : z . string ( ) . nonempty ( ) ,
106- defaultOpen : z . boolean ( ) . optional ( )
105+ content : z . string ( ) . nonempty ( )
107106 } )
108107 )
109108 } )
Original file line number Diff line number Diff line change 7070 items :
7171 - label : Is this a secure service?
7272 content : Qui sunt nostrud aliquip reprehenderit enim proident veniam magna aliquip velit occaecat eiusmod nisi deserunt sunt.
73- defaultOpen : true
7473 - label : How can I cancel my subscription?
7574 content : Consectetur irure Lorem nostrud adipisicing aliqua mollit Lorem sit officia magna eiusmod cupidatat.
7675 - label : How does the free trial work?
You can’t perform that action at this time.
0 commit comments