publisher.wxml 1.1 KB

1234567891011121314151617181920212223242526272829
  1. <!-- 为发布者具体页面 含component:itemPublisher;data:publisherInfoData.js mainData.js -->
  2. <view class="top">
  3. <view class="brief-info">
  4. <view class="brief-info-left">
  5. <image class="publisher-avatar" src="{{publisherInfo.publisherAvatar}}" mode="aspectFill" />
  6. <text class="publisher-name">{{publisherInfo.publisherName}}</text>
  7. </view>
  8. <image wx:if="{{like != -1}}" class="like" src="/images/like/{{like ? 'heart' : 'hollowheart'}}.png"
  9. bindtap="toggleLike" />
  10. </view>
  11. <view class="detailed-info">
  12. <view class="publisher-intro secondary-text-color"><text
  13. class="primary-text-color">简介:</text>{{publisherInfo.publisherIntro}}</view>
  14. <view class="check">
  15. <text class="check-text primary-text-color" bindtap="detail">查看详情</text>
  16. <image class="arrow" src="/images/hollow_arrow.png" mode="aspectFill"></image>
  17. </view>
  18. </view>
  19. </view>
  20. <view class="card" wx:for="{{mainDatas}}" wx:for-item="item" wx:for-index="index" wx:key="_id">
  21. <itemCard item="{{item}}" />
  22. </view>