publisher.wxml 1.2 KB

123456789101112131415161718192021222324
  1. <!-- 为发布者具体页面 含component:itemPublisher;data:publisherInfoData.js mainData.js -->
  2. <view class="top">
  3. <view class="publisher block-background-color" >
  4. <view class="brief-info light-primary-color">
  5. <image class="publisher-avatar" src="{{publisherInfo.publisherAvatar}}" mode="aspectFill"/>
  6. <view class="brief-info-right">
  7. <view class="publisher-name default-primary-color-font">{{publisherInfo.publisherName}}</view>
  8. <view class="brief-info-right-below">
  9. <view class="publisher-attribute accent-color white-text-color">{{publisherInfo.publisherAttribute}}</view>
  10. <image wx:if="{{like != -1}}" class="like" src="/images/like/{{like ? 'heart' : 'hollowheart'}}.png" bindtap="toggleLike"/>
  11. </view>
  12. </view>
  13. </view>
  14. <view class="detailed-info">
  15. <view class="publisher-intro"><text class="b">简介:</text>{{publisherInfo.publisherIntro}}</view>
  16. <view class="publisher-contact">{{publisherInfo.publisherContact}}</view>
  17. </view>
  18. </view>
  19. </view>
  20. <view class="page">
  21. <view class="card" wx:for="{{mainDatas}}" wx:for-item="item" wx:for-index="index" wx:key="_id">
  22. <itemCard item="{{item}}"/>
  23. </view>
  24. </view>