index.wxml 1.3 KB

123456789101112131415161718192021222324252627282930
  1. <wxs src="../../utils/filter.wxs" module="filters" />
  2. <view class="authority">
  3. <view class="module" wx:for="{{worksList}}" wx:key="index">
  4. <view class="topic">{{item.title}}</view>
  5. <view class="explain">{{item.intro}}</view>
  6. <view class="works">
  7. <view class="work" wx:for="{{item.userReadList}}" wx:for-item='work' wx:key="index" bindtap="jumpReading"
  8. data-id='{{work.userRead.id}}'>
  9. <view class="content">
  10. <image src="{{work.userRead.coverImg}}" class="cover" lazy-load
  11. wx:if="{{work.userReadExtend.resourcesType==0}}" />
  12. <view class="audioBox" wx:else>
  13. <image src="{{work.userReadExtend.backgroundVirtualImg}}" lazy-load class="cover" />
  14. <view class="audioPlay">
  15. <image src="/static/audioBg.png" class="audioPlayBg" />
  16. <image src="/static/zhen.png" class="audioPlayZhen" />
  17. <image src="{{work.userRead.coverImg}}" lazy-load class="cover" />
  18. </view>
  19. </view>
  20. <view class="mask">
  21. <image src="/static/fb.png" class="fb" />
  22. <view class="fb-num">{{filters.numFilter(work.userRead.playAmount)}}</view>
  23. </view>
  24. </view>
  25. <view class="textOver title">{{work.userRead.title}}</view>
  26. </view>
  27. </view>
  28. </view>
  29. </view>