You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<!--pages/classdetail/classdetail.wxml-->
|
|
|
|
<!--pages/changeuser/changeuser.wxml-->
|
|
|
|
<view class="container">
|
|
|
|
<text>课堂资源</text>
|
|
|
|
<view class="no-file-view">
|
|
|
|
<image wx:if="{{files.length==0 && !loading}}" src="../../images/none2.png" class="no-file"></image>
|
|
|
|
</view>
|
|
|
|
<view class="file-list form-wrap">
|
|
|
|
<block wx:for="{{files}}" wx:for-item="file" wx:key="objectId">
|
|
|
|
<image wx:if="{{file.ispic}}" src="{{file.fileid}}" bindtap="preview_pic" data-fileid="{{file.fileid}}"></image>
|
|
|
|
<view class="file-item flex-wrap" bindtap="{{file.ispic?'preview_pic':'download'}}" data-fileid="{{file.fileid}}" data-id="{{file.objectId}}" bindlongpress="del_file">
|
|
|
|
<!--image wx:if="{{file.ispic}}" src="{{file.fileid}}"></image-->
|
|
|
|
<text>{{file.filename}}</text>
|
|
|
|
<text class="hint file-uploader">上传者:{{file.uploader_username}}</text>
|
|
|
|
</view>
|
|
|
|
</block>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="upload-file foot">
|
|
|
|
<button type="primary" bindtap="upload">上传文件资源</button>
|
|
|
|
</view>
|