<!--温馨提示-->

<view class="container">
    <van-tabs wx:if="{{mList.length}}" active="{{tabActiveName}}" sticky swipeable line-width="40rpx" color="#0BC3AA"
        title-active-color="#0BC3AA" title-inactive-color="#666666" custom-class="custom-class" tab-class="tab-class">


        <van-tab wx:for="{{mList}}" wx:for-item="item" wx:for-index="index" wx:key="big{{index}}" name="{{item.name}}"
            title="{{item.classificationName}}" custom-class="custom-item-class">

            <view class="swipe-page">
                <view class="swipe-content">
                    <van-collapse border="false" value="{{ item.activeNames }}" data-item="{{item}}"
                        data-index="{{index}}" bind:change="onCollapseChange">
                        <van-collapse-item wx:for="{{item.subList}}" wx:for-item="subItem" wx:for-index="subIndex"
                            wx:key="sub{{subIndex}}" name="{{subItem.name}}">
                            <view slot="title" class="title-view">
                                <image class="title-icon" src="/subpages/icons/ic_wen.svg">
                                </image>
                                <text>{{subItem.title}}</text>
                            </view>
                            <view class="answer-view">
                                <image class="answer-view-icon" src="/subpages/icons/ic_da.svg">
                                </image>
                                <text>{{subItem.desc}}</text>
                            </view>
                        </van-collapse-item>
                    </van-collapse>
                </view>
            </view>
        </van-tab>
    </van-tabs>

</view>