itemmyLikeMessage.wxml 655 B

123456789101112
  1. <!-- 为消息-关注动态里消息的组件,数据来自data: newMessageData.js-->
  2. <view wx:if="{{show}}" class="card" catchtap="getMessageInfo">
  3. <view class="profile">
  4. <view class="publisher-name primary-text-color" catchtap="getPublisherInfo">
  5. <image class="publisher-avatar" src="{{item.publisher.avatar}}" mode="aspectFill" />
  6. <text style="font-weight: bold;">{{item.publisher.name}}</text>
  7. </view>
  8. <image class="like" src="/images/like/{{like ? 'heart' : 'hollowheart'}}.png" catchtap="toggleLike" />
  9. </view>
  10. <view class="title">{{item.name}}</view>
  11. <view class="sub-title">{{item.brief}}</view>
  12. </view>