index.wxml 1.5 KB

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