|
|
@@ -1,24 +1,29 @@
|
|
|
<!-- 为发布者具体页面 含component:itemPublisher;data:publisherInfoData.js mainData.js -->
|
|
|
<view class="top">
|
|
|
- <view class="publisher block-background-color" >
|
|
|
- <view class="brief-info light-primary-color">
|
|
|
- <image class="publisher-avatar" src="{{publisherInfo.publisherAvatar}}" mode="aspectFill"/>
|
|
|
- <view class="brief-info-right">
|
|
|
- <view class="publisher-name default-primary-color-font">{{publisherInfo.publisherName}}</view>
|
|
|
- <view class="brief-info-right-below">
|
|
|
- <view class="publisher-attribute accent-color white-text-color">{{publisherInfo.publisherAttribute}}</view>
|
|
|
- <image wx:if="{{like != -1}}" class="like" src="/images/like/{{like ? 'heart' : 'hollowheart'}}.png" bindtap="toggleLike"/>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
+ <view class="brief-info">
|
|
|
+ <view class="brief-info-left">
|
|
|
+ <image class="publisher-avatar" src="{{publisherInfo.publisherAvatar}}" mode="aspectFill" />
|
|
|
+ <text class="publisher-name">{{publisherInfo.publisherName}}</text>
|
|
|
</view>
|
|
|
- <view class="detailed-info">
|
|
|
- <view class="publisher-intro"><text class="b">简介:</text>{{publisherInfo.publisherIntro}}</view>
|
|
|
- <view class="publisher-contact">{{publisherInfo.publisherContact}}</view>
|
|
|
+ <image wx:if="{{like != -1}}" class="like" src="/images/like/{{like ? 'heart' : 'hollowheart'}}.png"
|
|
|
+ bindtap="toggleLike" />
|
|
|
+ </view>
|
|
|
+
|
|
|
+
|
|
|
+ <view class="detailed-info">
|
|
|
+ <view class="publisher-intro secondary-text-color"><text
|
|
|
+ class="primary-text-color">简介:</text>{{publisherInfo.publisherIntro}}</view>
|
|
|
+ <view class="check">
|
|
|
+ <text class="check-text primary-text-color">查看详情</text>
|
|
|
+ <image class="arrow" src="/images/hollow_arrow.png" mode="aspectFill"></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-<view class="page">
|
|
|
- <view class="card" wx:for="{{mainDatas}}" wx:for-item="item" wx:for-index="index" wx:key="_id">
|
|
|
- <itemCard item="{{item}}"/>
|
|
|
- </view>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+<view class="card" wx:for="{{mainDatas}}" wx:for-item="item" wx:for-index="index" wx:key="_id">
|
|
|
+ <itemCard item="{{item}}" />
|
|
|
</view>
|