mediaDetail.wxml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. <!-- 无数据 -->
  37. <view class="list-bitmap" wx:if="{{finished && listData.length < 1}}">
  38. <image src="../../image/common/bitmap.png"></image>
  39. <text>暂无数据</text>
  40. </view>
  41. <view class="pullup-wrapper" wx:if="{{!isRefresh}}">
  42. <van-loading
  43. wx:if="{{!finished}}"
  44. size="24px"
  45. type="spinner">加载中...
  46. </van-loading>
  47. </view>
  48. </view>
  49. </view>
  50. <view
  51. class="footer-fixed-bottom"
  52. style="box-shadow: none;{{inputBoxStyle}}">
  53. <view>
  54. <view class="form-item">
  55. <image
  56. class="smile"
  57. src="../../image/common/smile.png"></image>
  58. <input
  59. placeholder-class="placeholder"
  60. value="{{form.comment}}"
  61. placeholder="说点什么吧..."
  62. adjust-position="{{false}}"
  63. bind:focus="handleFocus"
  64. bind:blur="handleBlur"
  65. bind:input="setComment"></input>
  66. <button
  67. class="btn-send"
  68. disabled="{{booLock}}"
  69. bind:tap="addVideoComment">发送
  70. </button>
  71. </view>
  72. <button
  73. class="btn-like"
  74. disabled="{{booLock}}"
  75. bind:tap="addvideoGood">
  76. <image src="../../image/common/like_1.png"></image>
  77. </button>
  78. <button
  79. class="btn-share"
  80. open-type="share">
  81. <image src="../../image/common/share_1.png"></image>
  82. </button>
  83. </view>
  84. </view>