reading.wxml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  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="recordingVideoEnd"
  13. ></video>
  14. <!-- <audio name="123" author="123" src="{{recordSource}}" id="myAudio" controls loop></audio> -->
  15. <scroll-view class="textSection" scroll-y="true">
  16. <text class="textContent">
  17. {{readingText}}
  18. </text>
  19. </scroll-view>
  20. <view class="footSection">
  21. <image class="blackbord" src="../../../static/image/blackbord.png" />
  22. <view class="collectBtn footerBtn" wx:if="{{btnFlag}}" bindtap="audioPlay">
  23. <image src="../../../static/image/listen.png" />
  24. <text>试听</text>
  25. </view>
  26. <view class="readingBtn footerBtn" bindtap="audioRecord">
  27. <image class="microphone" src="{{btnImgFlag ? recordingGif :microphonePng}}" />
  28. <text>我要朗读</text>
  29. </view>
  30. <view class="shareBtn footerBtn" wx:if="{{btnFlag}}" bindtap="upload">
  31. <image src="../../../static/image/upload.png" />
  32. <text>上传</text>
  33. </view>
  34. </view>
  35. </view>