fix error

This commit is contained in:
邱博亞 2022-02-09 10:16:57 +08:00
parent 03b5ef810f
commit f81c56e515
1 changed files with 8 additions and 8 deletions

View File

@ -1,10 +1,10 @@
<div class="index-faqs index2"> <div class="index-faqs index2">
<h1 class="index-title"> <h3 class="index-title">
<span>{{page-title}}</span> <span>{{page-title}}</span>
</h1> </h3>
<ul class="list-unstyled" data-list="faqs" data-level="0"> <ul class="list-unstyled" data-list="faqs" data-level="0">
<li class="index-content"> <li class="index-content">
<h4> <h4 class="index-content-title-wrap">
<span class="index-content-title">{{question}}</span> <span class="index-content-title">{{question}}</span>
<span data-list="statuses" data-level="1"> <span data-list="statuses" data-level="1">
<span class="label status {{status-class}}">{{status}}</span> <span class="label status {{status-class}}">{{status}}</span>
@ -20,7 +20,7 @@
{{pagination_goes_here}} {{pagination_goes_here}}
<script> <script>
$('.index-faqs.index2 .index-content h4').click(function(){ $('.index-faqs.index2 .index-content .index-content-title-wrap').click(function(){
$('section.post').slideUp(200); $('section.post').slideUp(200);
$(this).removeClass('open'); $(this).removeClass('open');
if($("+section",this).css("display")=="none"){ if($("+section",this).css("display")=="none"){