<navigationBar bind:reload='requestAgain'></navigationBar>
<view class="recommend">
    <banner bannerList="{{bannerList}}" userInfo="{{userInfo}}" />
    <!-- 一级分类 -->
    <view class="firstClassify">
        <view class="classifyBox" wx:for="{{categoryList}}" wx:key="id" data-item='{{item}}'
            bindtap="jumpChildClassify">
            <image class="icon" src="{{item.icon}}" />
        </view>
        <view class="classifyBox">
            <image bindtap="showTips" class="icon" src="/static/future.png" />
        </view>
        <view class="searchBox" bindtap="jumpSearch">
            查找课文
            <image src="/static/search-3.png" class="search-icon" />
        </view>
    </view>
    <!-- 资源 -->
    <view class="resourceBox">
        <authority wx:if="{{listOptions.sortList[0]=='recommendReadList'}}"
            worksList="{{listOptions.recommendReadList}}" />
        <authority wx:if="{{listOptions.sortList[1]=='recommendReadList'}}"
            worksList="{{listOptions.recommendReadList}}" />
    </view>
    <!-- 加桌提示 -->
    <view class=" desktopTips" wx:if="{{desktopTips}}" style="top:{{navBarHeight+3}}px" bindtap="closeDesktop">
        <view class="triangle"></view>
        <image src="http://reader-wx.ai160.com/images/reader/v3/desktop-android.png" class="tipsImg" />
    </view>
</view>
<view class="subscribe" wx:if="{{subscribeShow}}" bindtap="requestMessage"></view>
<canvas id='share' type="2d"> </canvas>