12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <!--pages/details/details.wxml-->
- <view class="details">
- <view class="details-video">
- <video id="myVideo" src="{{playUrl}}" bindplay="addHistory" bindended="endplay" controls page-gesture objectFit="fill" autoplay></video>
- </view>
- <view class="menu">
- <view class="menu-item" style="width: 116rpx;" bindtap="favorites">
- <image src="{{favoritesFlag ? '../../static/image/Collection.png' : '../../static/image/no-Collection.png'}}"></image>
- </view>
- <view class="menu-item">
- <button open-type="share" plain><image src="../../static/image/share.png"></image></button>
- </view>
- <view class="menu-item" bindtap="commentAnthology">
- <image src="../../static/image/Anthology.png"></image>
- </view>
- <view class="menu-item" bindtap="commentDetails">
- <image src="../../static/image/details.png"></image>
- </view>
- </view>
- <scroll-view class="details-scroll" scroll-y>
- <view class="comment">
- <view class="anthology" hidden="{{anthologyHide}}">
- <view wx:for="{{courseWareList}}" wx:key="{{index}}" bindtap="Anthology" data-index="{{index}}" class="collection {{index === currentVideo ? 'current' : ''}}">
- {{index + 1}}
- </view>
- </view>
- <view class="comment-details" hidden="{{detailsHide}}">
- {{summary}}
- </view>
- <view class="pinglun" hidden="{{!hide}}" bindtap="pinglun">点击参与评论</view>
- <view class="input-box" hidden="{{hide}}">
- <input placeholder="在这里输入你想说的话" type='text' maxlength="-1" bindinput="focus" value="{{str}}"/>
- <view class="btn">
- <view class="no" bindtap="no">放弃</view>
- <view class="yes" bindtap="yes">发送</view>
- </view>
- </view>
- <view class="content-speak" wx:for="{{postsList}}" wx:key="{{index}}">
- <view class="information-item">
- <image class="head" src="{{item.user.avatar ? item.user.avatar : '../../static/image/default.png'}}"></image>
- <view class="name">
- <text>{{item.user.nickName}}</text>
- <text>{{dateArr[index]}}</text>
- </view>
- </view>
- <view class="language">
- {{item.detailDesc}}
- </view>
- </view>
- </view>
- </scroll-view>
- </view>
|