12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <scroll-view class="readingPage" lower-threshold="{{}}" scroll-y="true" bindscrolltolower="scrollToLower" bindscrolltoupper="scrollToUpper">
- <!-- <view class="videoSection" wx:if="{{!isIOS}}">
- <image wx:if="{{!videoLoad}}" class="videoIcon" src="{{iconImg}}" />
- </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}}" bindended="recordingVideoEnd"></video>
- <!-- bindwaiting="videoWaiting"
- bindplay="videoPlay" -->
- <!-- <audio name="123" author="123" src="{{recordSource}}" id="myAudio" controls loop></audio> -->
- <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>{{btnImgFlag ? '点击结束' : btnFlag ? '点击重录' : '开始朗读'}}</text>
- </view> -->
- <view class="btn_wrapper" bindtap="audioRecord">
- <view class="reading_btn">
- <image class="microphone" src="{{btnImgFlag ? recordingGif :microphonePng}}" />
- <text>{{btnImgFlag ? '点击结束' : btnFlag ? '点击重录' : '开始朗读'}}</text>
- </view>
- </view>
- <view class="shareBtn footerBtn" wx:if="{{btnFlag}}" bindtap="upload">
- <image src="../../../static/image/upload.png" />
- <text>上传</text>
- </view>
- </view>
- <scroll-view class="textSection" scroll-y="true">
- <!-- <view class="btn_wrapper" bindtap="audioRecord">
- <view class="reading_btn">
- <image src="../../../static/index/star.png" />
- <text>{{btnImgFlag ? '点击结束' : btnFlag ? '点击重录' : '开始朗读'}}</text>
- </view>
- </view> -->
- <text class="textContent">{{readingText}}</text>
- </scroll-view>
- <VideoSwiper wx:if="{{videoList.length > 0 && isVideoListShow}}" class="video-swiper" video-list="{{videoList}}" nextMargin="{{nextMargin}}" isSwiper="{{false}}" bindopenComment="openComment" bindheadTap="headTapHandler" bindgoToReading="goToReading" bindplay="onPlay"></VideoSwiper>
- </scroll-view>
- <view class="comment_section" catchtap="commentTap" data-type="blank" wx:if="{{commentShow}}">
- <Comment data-type="list" commentId="{{commentId}}" />
- </view>
|