1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <view class="content">
- <view class="user-info">
- <van-image width="70rpx" height="70rpx" round src="{{newData.picUrl}}" fit="cover" class="user-avater"/>
- <view class='user-des'>
- <view class="user-name">{{newData.stuName}}</view>
- </view>
- </view>
- <view class="other-info">
- <view class="info" wx:if='{{newData.lessonType}}'>
- <view class="key">课程类型:</view>
- <view class="value">{{newData.lessonType}}</view>
- </view>
- <view class="info" wx:if='{{newData.trainForm}}'>
- <view class="key">培训形式:</view>
- <view class="value">{{newData.trainForm}}</view>
- </view>
- <view class="info" wx:if='{{newData.trainDirect}}'>
- <view class="key">培训方向:</view>
- <view class="value">{{newData.trainDirect}}</view>
- </view>
- <view class="info" wx:if='{{newData.trainTime}}'>
- <view class="key">培训时长:</view>
- <view class="value">{{newData.trainTime}}天</view>
- </view>
- <view class="info" wx:if='{{newData.trainRate}}'>
- <view class="key">培训频率:</view>
- <view class="value">{{newData.trainRate}}次/年</view>
- </view>
- <view class="info" wx:if='{{newData.contentTitle}}'>
- <view class="key">类型分类:</view>
- <view class="value">{{newData.contentTitle}}</view>
- </view>
- </view>
- <view class="message">
- {{newData.imgDesc || newData.issues || ""}}
- </view>
- <view class="res">
- <van-uploader
- wx-if="{{newData.attachmentType==uploadResTypesEnum.IMAGE && newData.attachmentUrlList.length > 0}}"
- file-list="{{ newData.attachmentUrlList }}"
- preview-size="160rpx" accept="{{accept}}" deletable="{{ false }}"
- max-count="{{newData.attachmentUrlList.length}}">
- </van-uploader>
- <view wx-if="{{newData.attachmentType==uploadResTypesEnum.VIDEO && newData.attachmentUrlList.length > 0}}">
- <video id="myVideo" enable-play-gesture
- src="{{newData.attachmentUrlList[0]}}" show-play-btn="ture"
- show-mute-btn controls>
- </video>
- </view>
- </view>
- <view class="time">
- <view class="time-text">{{newData.createTime}}</view>
- </view>
- <edu-loadmore emptyTxt="空空如也,快去评论吧!" isEmpty="{{rows.length == 0}}" isRefresh="{{isRefresh}}"
- isLoading="{{isLoading}}" isComplete="{{noMore}}">
- <message-card id="list{{index}}" bind:play="play" wx:for="{{rows}}" wx:key="index" item="{{item}}"
- index='{{index}}'></message-card>
- <edu-safe-area/>
- </edu-loadmore>
- <view style="height:100rpx"></view>
- </view>
- <bottom-reply class="bottom-reply" bind:message="reply" wx:if="{{isPre == logicStatusEnum.NO}}"/>
|