<view>
<view class="desc" a:if='{{fileView.remark}}'>
{{fileView.remark}}
</view>
<view class="file-list {{customClass}}" a:for="{{fileList}}">
<view class="file-box {{isCanDelete ? 'file-box-close': ''}}" catchTap="preview" data-file="{{item}}">
<view a:if="{{item.platform === 'oss'}}" class="file-icon {{item.fileType}}"></view>
<view a:else class="file-icon {{item.mimeType}}"></view>
<view class="file-title">
<text>{{item.name.slice(0, item.name.length - 5)}}</text>
<text>{{item.name.slice(-5)}}</text>
</view>
<view class="file-size">{{item.sizeShow}} {{showName ? item.userDetail.name : ''}}</view>
<view a:if="{{item.platform === 'dingTalk'}}" class=" color4 file-showName">来自钉盘</view>
<view a:if="{{isCanDelete}}" class="iconfont iconicon_noAgreed1" catchTap="removeFile" data-id="{{item.fileId}}"></view>
</view>
</view>
<!-- && (organizer === currentPeople ? true : currentPeople === fileView.creatorId) -->
<!--<view class="btns-pop" a:if="{{fileView.commentId == logId}}"><view class="edit" catchTap="updateFile" data-fileView="{{fileView}}">
编辑</view><view catchTap="deleteFile" data-id="{{fileView.commentId}}">
删除</view><view class="triangle"></view></view> -->
</view>