<view class='top'>
  <view class='page_row' bindtap="suo">  
    <view class="search">  
      <view class="df search_arr" bindtap='search'>  
        <image class='search-icon' src='../../images/search.png'></image>
        <input class="" disabled style='font-size:26rpx' placeholder-style='placText' placeholder="请输入事项名称" value="{{searchValue}}"/> 
        <image class='record' src='../../images/record.png'></image>
      </view>  
    </view>  
  </view>
</view>
<view class='t'>
  <view class='tab'>
    <view class='tab_card'>
      <view class="{{tabindex==0?'select1':''}}" catchtap='tab' data-index='0'>个人办事</view>
      <view class="{{tabindex==1?'select1':''}}" catchtap='tab' data-index='1'>法人办事</view>
    </view>
    <view class='tab_card tab_content'>
      <block wx:for='{{sxType==1?tab.content:tab.content1}}' wx:key='{{index}}'>
        <view class="{{index==indexOf?'select2':''}}" data-index='{{index}}' catchtap='tabClick'>{{item}}</view>
      </block>
    </view>
  </view>
</view>
<swiper current='{{current}}' style="height: {{clientHeight?clientHeight+'px':'auto'}}" bindchange='change'>
  <swiper-item>
    <scroll-view scroll-y="{{true}}" style="height: {{clientHeight?clientHeight+'px':'auto'}}" bindscrolltolower="scrollbot">
      <view class='server'>
        <block wx:for='{{sxType==1?PERSON_ZT:ENTERPRISE_ZT}}' wx:key='{{item.id}}'>
          <navigator url='details/index?flag={{sxType}}&preService={{fileNme}}&code={{item.dictValueCode}}&titleName={{item.dictValueName}}'>
            <view class='server_content'>
              <view><image src='{{item.imgurl}}'></image></view>
              <text>{{item.dictValueName}}</text>
            </view>
          </navigator>
        </block>
      </view>
    </scroll-view>
  </swiper-item>
  <swiper-item>
    <scroll-view scroll-y="{{true}}" style="height: {{clientHeight?clientHeight+'px':'auto'}}" bindscrolltolower="scrollbot">
      <view class='server'>
        <block wx:for='{{sxType==1?PERSON_RSSJ:ENTERPRISE_TDDX}}' wx:key='{{item.id}}'>
          <navigator url='details/index?flag={{sxType}}&preService={{fileNme}}&code={{item.dictValueCode}}&titleName={{item.dictValueName}}'>
            <view class='server_content'>
              <view><image src='{{item.imgurl}}'></image></view>
              <text>{{item.dictValueName}}</text>
            </view>
          </navigator>
        </block>
      </view>
    </scroll-view>
  </swiper-item>
  <swiper-item>
    <scroll-view scroll-y="{{true}}" style="height: {{clientHeight?clientHeight+'px':'auto'}}" bindscrolltolower="scrollbot">
      <view class='server'>
        <block wx:for='{{sxType==1?PERSON_TDRQ:ENTERPRISE_JYHD}}' wx:key='{{item.id}}'>
          <navigator url='details/index?flag={{sxType}}&preService={{fileNme}}&code={{item.dictValueCode}}&titleName={{item.dictValueName}}'>
            <view class='server_content'>
              <view><image src='{{item.imgurl}}'></image></view>
              <text>{{item.dictValueName}}</text>
            </view>
          </navigator>
        </block>
      </view>
    </scroll-view>
  </swiper-item>
  <swiper-item>
    <scroll-view scroll-y="{{true}}" style="height: {{clientHeight?clientHeight+'px':'auto'}}" bindscrolltolower="scrollbot">
      <view class="flexCol col4">
          <block wx:for="{{list}}" wx:key="id">
            <view  bindtap='details' data-id='{{item.deptUnid}}' class='flexRow   flex0 item {{list.length==1+index&&"last"||""}}'>
              <!-- <image src='{{item.iconStorageUrl}}' mode='widthFix'></image> -->
              <view class='h100'>
                <image src='../../images/section.png' style='width:26rpx;height:26rpx;'></image>
                <text class='itemTitle'>{{item.deptName}}</text>
                <!-- <text class='desc'>{{item.remark}}</text> -->
              </view>
                <image src='/images/jiantou.png' mode='widthFix' class='jiantou'></image>
            </view>
          </block>
        </view>
    </scroll-view>
  </swiper-item>
</swiper>