details.wxml 2.3 KB

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