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.
19 lines
865 B
19 lines
865 B
<!--pages/classdetail/classdetail.wxml-->
|
|
<!--pages/changeuser/changeuser.wxml-->
|
|
<view class="container">
|
|
<text>课堂资源</text>
|
|
<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}}">
|
|
<!--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>
|