index.wxml 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. <navigationBar bind:reload='requestAgain'></navigationBar>
  2. <view class="recommend">
  3. <banner bannerList="{{bannerList}}" userInfo="{{userInfo}}" />
  4. <!-- 一级分类 -->
  5. <view class="firstClassify">
  6. <view class="classifyBox" wx:for="{{categoryList}}" wx:key="id" data-item='{{item}}'
  7. bindtap="jumpChildClassify">
  8. <image class="icon" src="{{item.icon}}" />
  9. </view>
  10. <view class="classifyBox">
  11. <image bindtap="showTips" class="icon" src="/static/future.png" />
  12. </view>
  13. <view class="searchBox" bindtap="jumpSearch">
  14. 查找课文
  15. <image src="/static/search-3.png" class="search-icon" />
  16. </view>
  17. </view>
  18. <!-- 资源 -->
  19. <view class="resourceBox">
  20. <authority wx:if="{{listOptions.sortList[0]=='recommendReadList'}}"
  21. worksList="{{listOptions.recommendReadList}}" />
  22. <authority wx:if="{{listOptions.sortList[1]=='recommendReadList'}}"
  23. worksList="{{listOptions.recommendReadList}}" />
  24. </view>
  25. <!-- 加桌提示 -->
  26. <view class=" desktopTips" wx:if="{{desktopTips}}" style="top:{{navBarHeight+3}}px" bindtap="closeDesktop">
  27. <view class="triangle"></view>
  28. <image src="http://reader-wx.ai160.com/images/reader/v3/desktop-android.png" class="tipsImg" />
  29. </view>
  30. </view>
  31. <view class="subscribe" wx:if="{{subscribeShow}}" bindtap="requestMessage"></view>
  32. <canvas id='share' type="2d"> </canvas>