itemmyNews.wxml 979 B

123456789101112131415161718
  1. <!-- 为消息-我的消息里通知的组件,组件中数据来自data:newNewsData.js -->
  2. <view class="card">
  3. <view class="top">
  4. <view class="profile" wx:if="{{item.publishType == '回复'}}">
  5. <text class="primary-text-color" style="font-size: 24rpx;"><text class="publisher-name"
  6. style="color: #000000;">{{item.publisherName}}</text> 对您的评论进行了回复</text>
  7. </view>
  8. <view class="profile" wx:if="{{item.publishType == '动态'}}">
  9. <text class="primary-text-color" style="font-size: 24rpx;">您收藏的信息 <text class="publisher-name"
  10. style="color: #000000;">{{item.publisherName}}</text> 有新动态</text>
  11. </view>
  12. <text class="primary-text-color detail">查看</text>
  13. </view>
  14. <view class="bottom">
  15. <view class="title secondary-text-color">{{item.title}}</view>
  16. <text class="primary-text-color detail" wx:if="{{item.publishType == '回复'}}">回复</text>
  17. </view>
  18. </view>