riku
2023-11-29 9b09d13712c0c005891450a3bf4b6d848ec0ff37
pages/mLearn/baseC/cLearnItem/cLearnItem.wxml
@@ -1,5 +1,11 @@
<view>
  <view wx:for="{{results}}" wx:key="index" wx:item="item" bindtap="openFile" data-index="{{index}}">
  <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" />
@@ -15,9 +21,15 @@
      </view>
    </view>
    <view wx:else class="fyui-panel fyui-panel_video">
      <view style="position: relative;">
        <image src="{{item.lrPicurl}}" class="video-poster" mode="aspectFit" />
        <mp-icon class="video-play" icon="play" color="white" size="50" type="filled"></mp-icon>
      <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">
@@ -28,5 +40,9 @@
      </view>
    </view>
  </view>
  <mp-loadingstatus loading="{{loading}}" needLoadMore="{{needLoadMore}}" nodata="{{results.length == 0}}"></mp-loadingstatus>
  <mp-loadingstatus
    loading="{{loading}}"
    needLoadMore="{{needLoadMore}}"
    nodata="{{results.length == 0}}"
  ></mp-loadingstatus>
</view>