index.wxml 1.4 KB

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