reading.wxml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <view >
  2. <video
  3. id="myVideo"
  4. class="videoSection"
  5. src="{{videoUrl}}"
  6. show-fullscreen-btn="{{fullScreenBtn}}"
  7. show-play-btn="{{playBtn}}"
  8. show-center-play-btn="{{centerBtn}}"
  9. muted="{{muted}}"
  10. enable-progress-gesture="{{gesture}}"
  11. bindwaiting="{{videoWaiting}}"
  12. bindended="{{videoCtr}}"
  13. bindplay="{{videoPlay}}"
  14. ></video>
  15. <!-- <audio name="123" author="123" src="{{recordSource}}" id="myAudio" controls loop></audio> -->
  16. <scroll-view class="textSection" scroll-y="true">
  17. <text class="textContent">
  18. {{readingText}}
  19. </text>
  20. </scroll-view>
  21. <view class="footSection">
  22. <image class="blackbord" src="../../../static/image/blackbord.png" />
  23. <view class="collectBtn footerBtn" wx:if="{{btnFlag}}" bindtap="audioPlay">
  24. <image src="../../../static/image/listen.png" />
  25. <text>试听</text>
  26. </view>
  27. <view class="readingBtn footerBtn" bindtap="audioRecord">
  28. <image class="microphone" src="{{recordFlag === 1 ? recordingGif :microphonePng}}" />
  29. <text>我要朗读</text>
  30. </view>
  31. <view class="shareBtn footerBtn" wx:if="{{btnFlag}}">
  32. <image src="../../../static/image/upload.png" />
  33. <text>上传</text>
  34. </view>
  35. </view>
  36. </view>