<!--packageE/others/case_library/category/caseLibraryCategory.wxml-->
<headTemplate text="全部分类" choosed="category"></headTemplate>
<view id="case_category_mobile">
  <view class="category">
    <view class="left-ca">
      <view wx:for="{{firstCategory}}" wx:key="index" catchtap="changeFirstCategory" data-id="{{item.id}}"
        class="{{ first_id == item.id?'li-ca-selected':'' }} li-ca">
        {{ item.category_name }}
      </view>
    </view>
    <view class="right-ca">
      <view class="top">
        <span wx:for="{{ secondCategory }}" wx:key="index" catchtap="changeSecondCategory" data-id="{{item.id}}"
          class="{{item.id == second_id?'li-selected':''}} li">{{ item.category_name }}</span>
      </view>
      <view class="ul">
        <caseMobile datas="{{list}}" list-type="'category'"></caseMobile>
      </view>
    </view>
    <serviceTemplate></serviceTemplate>
  </view>
</view>