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="/static/icon(1)/{{index+1}}.png" />
  9. <!-- <image class="icon" src="{{item.icon}}" /> -->
  10. </view>
  11. <view class="classifyBox">
  12. <image bindtap="showTips" class="icon" src="/static/future.png" />
  13. </view>
  14. <view class="searchBox" bindtap="jumpSearch">
  15. 内容搜索
  16. <image src="/static/search-3.png" class="search-icon" />
  17. </view>
  18. </view>
  19. <!-- 资源 -->
  20. <view class="resourceBox">
  21. <authority wx:if="{{listOptions.sortList[0]=='recommendReadList'}}"
  22. worksList="{{listOptions.recommendReadList}}" />
  23. <authority wx:if="{{listOptions.sortList[1]=='recommendReadList'}}"
  24. worksList="{{listOptions.recommendReadList}}" />
  25. </view>
  26. <!-- 加桌提示 -->
  27. <view class=" desktopTips" wx:if="{{desktopTips}}" style="top:{{navBarHeight+3}}px" bindtap="closeDesktop">
  28. <view class="triangle"></view>
  29. <image src="http://reader-wx.ai160.com/images/reader/v3/desktop-android.png" class="tipsImg" />
  30. </view>
  31. </view>
  32. <canvas id='share' type="2d"> </canvas>