1234567891011121314151617181920212223242526272829303132333435363738 |
- <wxs src="../../commonWxs/format.wxs" module="format" />
- <view class='my-read'>
- <view class='read-article' wx:for="{{ wareCards }}" wx:key="{{ index }}" bindtap='toWork' data-lessonId='{{ item.id }}' data-title='{{ item.title }}'>
- <view class='user-info'>
- <view class='avatar-box'>
- <image class='avatar-image' src="{{ user.user.avatar }}" />
- </view>
- <view class="avatar-name">
- <view>{{ user.user.wechatName }}</view>
- <view>{{ format.formatDate(item.gmtCreated) }}</view>
- </view>
- </view>
- <view class='video-preview'>
- <image src='{{ item.iconImg }}'></image>
- </view>
- <view class='content-title'>
- {{ item.title }}
- </view>
- <view class='content-detail'>
- <view class='left'>{{ item.summary }}</view>
- <view class='right'>
- <view class='right-detail'>
- <view class='play-img'>
- <image src='../../../static/image/hotPlays.png'></image>
- </view>
- <view class='count-add'>{{ item.playAmount || 0 }}</view>
- </view>
- <view class='right-details'>
- <view class='point-img'>
- <image src='../../../static/image/like.png'></image>
- </view>
- <view class='count-add'>{{ item.likeAmount || 0 }}</view>
- </view>
- </view>
- </view>
- </view>
- <myPlacerholder line1="{{line1}}" line2="{{line2}}" wx:if="{{wareCards.length <= 0}}" />
- </view>
|