1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <wxs src="../../commonWxs/format.wxs" module="format" />
- <view class='my-read'>
- <view class='worksCard' 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 class="topData">
- <view class="worksLeft">
- <image class="authorAvatar" lazy-load="true" src="{{user.user.avatar}}" />
- <view class="profession" wx:if="{{item.profession}}">{{user.user.profession}}</view>
- <view class="worksInfo">
- <view class="authorName">{{user.user.wechatName}}</view>
- <view class="time">{{format.formatDate(item.gmtCreated)}}</view>
- </view>
- </view>
- <view class="numberInfo">
- <view class="wareCardPlays">
- <image class="wareCardPlaysImg" lazy-load="true" src="../../../static/image/hotPlays.png" />
- <text>{{item.playAmount || 0}}</text>
- </view>
- <view class="wareCardLikes">
- <image class="wareCardLikesImg" lazy-load="true" src="../../../static/image/flower_small_pink.png" />
- <text>{{item.likeAmount || 0}}</text>
- </view>
- </view>
- </view>
- <image class="wareCardImg" src="{{item.iconImg}}" />
- <view class="titleSummary">
- <text class="wareCardTitle">{{item.title}}</text>
- <text class="wareCardTip">{{item.summary}}</text>
- </view>
- <!-- </view> -->
- </view>
- <myPlacerholder line1="{{line1}}" line2="{{line2}}" wx:if="{{wareCards.length <= 0}}" />
- </view>
|