123456789101112131415161718192021222324252627282930313233343536 |
- <view >
- <video
- id="myVideo"
- class="videoSection"
- src="{{videoUrl}}"
- show-fullscreen-btn="{{fullScreenBtn}}"
- show-play-btn="{{playBtn}}"
- show-center-play-btn="{{centerBtn}}"
- muted="{{muted}}"
- enable-progress-gesture="{{gesture}}"
- bindwaiting="{{videoWaiting}}"
- bindended="recordingVideoEnd"
- ></video>
- <!-- <audio name="123" author="123" src="{{recordSource}}" id="myAudio" controls loop></audio> -->
- <scroll-view class="textSection" scroll-y="true">
- <text class="textContent">
- {{readingText}}
- </text>
- </scroll-view>
- <view class="footSection">
- <image class="blackbord" src="../../../static/image/blackbord.png" />
- <view class="collectBtn footerBtn" wx:if="{{btnFlag}}" bindtap="audioPlay">
- <image src="../../../static/image/listen.png" />
- <text>试听</text>
- </view>
- <view class="readingBtn footerBtn" bindtap="audioRecord">
- <image class="microphone" src="{{btnImgFlag ? recordingGif :microphonePng}}" />
- <text>我要朗读</text>
- </view>
- <view class="shareBtn footerBtn" wx:if="{{btnFlag}}" bindtap="upload">
- <image src="../../../static/image/upload.png" />
- <text>上传</text>
- </view>
- </view>
- </view>
|