<!--文件card组件-->
|
<wxs module="wxs" src="../../utils/wxs/util.wxs" />
|
|
<view
|
bindtouchend="_handleTouchend"
|
bindtouchstart="_handleTouchstart"
|
catchtap="_handleOpenFiles"
|
class="file"
|
data-item="{{ item }}"
|
style="{{ backgroundColor ? 'background-color: #ffffff' : '' }}"
|
wx:for="{{ fileInfoList || [] }}"
|
wx:key="index"
|
>
|
<view class="file-header">
|
<view>{{ item.name }}</view>
|
<view class="file-header-link">{{ linkName }}</view>
|
</view>
|
<view class="file-main">
|
<view>{{ wxs.fileType(item.cat) }}</view>
|
<view class="file-main-content">
|
<van-icon custom-style="padding-right:8rpx;" name="{{ imgUrl }}link.png" />
|
<view class="file-main-content-text">{{ item.trueName }}</view>
|
</view>
|
</view>
|
</view>
|