riku
2026-01-22 f14ea940fb32105de8b592992e3f53c62f31d84d
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<view>
  <view
    wx:for="{{results}}"
    wx:key="index"
    wx:item="item"
    bindtap="openFile"
    data-index="{{index}}"
  >
    <view wx:if="{{item.lrResourcefiletype != 4}}" class="fyui-box fyui-panel">
      <view class="fyui-box__hd">
        <image src="{{item.lrPicurl}}" class="" mode="aspectFill" />
      </view>
      <view class="fyui-box__bd">
        <view class="fyui-box__content">{{item.lrResourcetitle}}</view>
        <view class="fyui-box__tag">
          <view>{{item.lrPublishdate}}</view>
          <view class="flex-h">
            <image src="/res/icons/view.png" class="icon"></image>{{item.views}}
          </view>
        </view>
      </view>
    </view>
    <view wx:else class="fyui-panel fyui-panel_video">
      <view style="position: relative">
        <image src="{{item.lrPicurl}}" class="video-poster" mode="aspectFill" />
        <mp-icon
          class="video-play"
          icon="play"
          color="white"
          size="50"
          type="filled"
        ></mp-icon>
      </view>
      <view class="video-title">{{item.lrResourcetitle}}</view>
      <view class="tag">
        <view>{{item.lrPublishdate}}</view>
        <view class="flex-h">
          <image src="/res/icons/view.png" class="icon"></image>{{item.views}}
        </view>
      </view>
    </view>
  </view>
  <mp-loadingstatus
    loading="{{loading}}"
    needLoadMore="{{needLoadMore}}"
    nodata="{{results.length == 0}}"
  ></mp-loadingstatus>
</view>