|
|
@@ -1,11 +1,8 @@
|
|
|
<!-- 为消息-我的消息里通知的组件,组件中数据来自data:newNewsData.js -->
|
|
|
-<view class="card" catchtap="getPublisherInfo">
|
|
|
- <view class="profile">
|
|
|
- <view class="publisher-name primary-text-color">
|
|
|
- <image class="publisher-avatar" src="{{item.publisherAvatar}}" mode="aspectFill" data-publisher-id="{{item.publisherID}}" />
|
|
|
- <text style="font-weight:900">{{item.publisherName}}</text>
|
|
|
- </view>
|
|
|
- <image class="like" src="/images/like/{{like ? 'heart' : 'hollowheart'}}.png" catchtap="toggleLike" />
|
|
|
+<view class="block" catchtap="getPublisherInfo">
|
|
|
+ <view class="left">
|
|
|
+ <image class="btn-icon" src="{{item.publisherAvatar}}" mode="aspectFill" data-publisher-id="{{item.publisherID}}" />
|
|
|
+ <text>{{item.publisherName}}</text>
|
|
|
</view>
|
|
|
- <view class="line divider-color"></view>
|
|
|
+ <image class="like" src="/images/like/{{like ? 'heart' : 'hollowheart'}}.png" catchtap="toggleLike" />
|
|
|
</view>
|