
<view class='page-want-buy'>
	<view class="swiper-tab {{categoryList.length > 5 ? 'categoryList' : ''}}">
		<view class="swiper-tab-item {{currentTab==item.id ? 'active' : ''}} " data-current="{{item.id}}" bindtap="clickTab" wx:for="{{categoryList}}" wx:key="{{index}}">
      {{item.name}}
      <view class="line" wx-if="{{currentTab==item.id}}"></view>
    </view>
	</view>
	<scroll-view scroll-y >
    <view class="main-content" wx:if="{{contentList.length > 0}}">
      <water-flow-layout type="2"  image-data="{{contentList}}" bind:updataLike="gotoLike" bind:_onTapShare="_onTapShare"/>
    </view>
    <view class="empty" wx:if="{{!contentList || contentList.length < 1}}">
      暂无内容哦~
    </view>
  </scroll-view>
</view>
<card-modal show-card-modal="{{showCardModal}}" card-title="{{cardTitle}}" card-url="{{cardUrl}}"/>
 




