mediaDetail.wxml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <view class="wrapper">
  2. <video
  3. src="{{videoConfig.video_url}}"
  4. object-fit="cover"
  5. poster="{{videoConfig.video_cover_url}}"
  6. show-mute-btn="{{true}}"
  7. play-btn-position="center"></video>
  8. <view class="main">
  9. <view class="title name-list-title">
  10. <text>出境人员</text>
  11. </view>
  12. <view class="name-list">{{videoConfig.video_auther}}</view>
  13. <view class="title video-title">
  14. <text>影片内容</text>
  15. </view>
  16. <view class="subtitle">{{videoConfig.video_name}}:</view>
  17. <view class="describe">{{videoConfig.video_introduce}}</view>
  18. </view>
  19. <view class="comment-list">
  20. <view class="title">
  21. <text>评论</text>
  22. </view>
  23. <view
  24. class="list"
  25. wx:for="{{listData}}"
  26. wx:key="id">
  27. <view class="portrait">
  28. <image src="{{item.user_head_img_url}}"></image>
  29. </view>
  30. <view class="box">
  31. <view class="name">{{item.user_nickname}}</view>
  32. <view class="create-at">{{item.created_at}}</view>
  33. <view class="content">{{item.video_comment}}</view>
  34. </view>
  35. </view>
  36. <view class="pullup-wrapper" wx:if="{{!isRefresh}}">
  37. <van-loading
  38. wx:if="{{!finished}}"
  39. size="24px"
  40. type="spinner">加载中...
  41. </van-loading>
  42. </view>
  43. </view>
  44. </view>
  45. <view
  46. class="footer-fixed-bottom"
  47. style="box-shadow: none;">
  48. <view>
  49. <view class="form-item">
  50. <image
  51. class="smile"
  52. src="../../image/common/smile.png"></image>
  53. <input
  54. placeholder-class="placeholder"
  55. value="{{form.comment}}"
  56. placeholder="说点什么吧..."
  57. bind:input="setComment"></input>
  58. <button
  59. class="btn-send"
  60. disabled="{{booLock}}"
  61. bind:tap="addVideoComment">发送
  62. </button>
  63. </view>
  64. <button
  65. class="btn-like"
  66. disabled="{{booLock}}"
  67. bind:tap="addvideoGood">
  68. <image src="../../image/common/like_1.png"></image>
  69. </button>
  70. <button
  71. class="btn-share"
  72. open-type="share">
  73. <image src="../../image/common/share_1.png"></image>
  74. </button>
  75. </view>
  76. </view>