xusd
7 days ago 998218675eb243d43912c203174a6b72b299c0f8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<!--文件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>