details.wxml 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <!--
  2. title和背景
  3. 注:这部分的背景色还没有处理好
  4. -->
  5. <view class="hmly-top-title-bar">
  6. <!-- 背景虚化层 -->
  7. <view class="hmly-bg" style="background:url({{imgurl}}); background-size: 100% 100%; background-repeat: no-repeat;"></view>
  8. <!-- 内容 -->
  9. <view class="hmly-bar-item" wx:for="{{performanceInfo}}" wx:key="index">
  10. <view class="hmly-bar-item-top">
  11. <view class="hmly-theme-bg-img" style="background:url({{item.imgurl}}); background-size:100% 100%"></view>
  12. <view class="hmly-theme-info">
  13. <view class="hmly-theme-title">{{item.title}}</view>
  14. <view class="hmly-theme-author">
  15. <!-- <image class="" src="" mode="widthFix"></image> -->
  16. {{item.author}} <text class="icon-right"></text>
  17. </view>
  18. <view class="hmly-view-info">
  19. <view class="hmly-view-info-left">{{item.num1}}人收藏</view>
  20. <text class="hmly-viewhmly-info-mid">|</text>
  21. <view class="hmly-view-info-right">已更新{{item.num2}}期</view>
  22. </view>
  23. </view>
  24. </view>
  25. <view class="hmly-bar-item-bottom">
  26. <button class="hmly-share-but"><text class="icon-share"></text> 分享</button>
  27. <button class="hmly-collection"><text class="icon-add"></text> 收藏</button>
  28. </view>
  29. </view>
  30. </view>
  31. <!-- 顶部选项 -->
  32. <view class="hmly-performance">
  33. <view class="hmly-selectbar">
  34. <view class="hmly-detail">详情</view>
  35. <view class="hmly-list hmly-active">节目<text>152</text>
  36. </view>
  37. </view>
  38. <!-- 播放选项 -->
  39. <view class="hmly-play">
  40. <view class="hmly-play-all">
  41. <text class="icon-video"></text> 播放全部
  42. </view>
  43. <view class="hmly-play-select">
  44. <view style="margin-right:20rpx"><text class="icon-order"></text> 正序</view>
  45. <view><text class="icon-list"></text> 选集</view>
  46. </view>
  47. </view>
  48. <!-- 节目列表 -->
  49. <view class="hmly-performance-content" wx:for="{{performance}}" wx:key="index">
  50. <!-- 序号 -->
  51. <view class="hmly-performance-index">{{index+1}}</view>
  52. <!-- 节目标题 -->
  53. <view class="hmly-performance-info">
  54. <view class="hmly-performance-info-top">
  55. <view style="font-size:33rpx">{{item.name}}</view>
  56. <view style="color:#aaaaaa">{{item.year}}</view>
  57. </view>
  58. <!-- 播放次数和时间 -->
  59. <view class="hmly-performance-info-bottom">
  60. <view><text class="icon-video"></text>{{item.count}}</view>
  61. <view style="margin-left:20rpx"><text class="icon-time"></text>{{item.time}}</view>
  62. </view>
  63. </view>
  64. </view>
  65. </view>