|
@@ -2,33 +2,31 @@
|
|
|
<navigationBar></navigationBar>
|
|
|
<import src="./index.skeleton" />
|
|
|
<view class="messagePage">
|
|
|
- <view class="input" bindtap="setSearch">
|
|
|
+ <!-- <view class="input" bindtap="setSearch">
|
|
|
查找朋友(昵称/学号/手机号)
|
|
|
<view class="searchBtn">
|
|
|
<image src="/static/search-2.png" class="img" />
|
|
|
</view>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
<view class="messageList">
|
|
|
<view class="fixed">
|
|
|
- <view class="authority" bindtap="jump" data-url='friend'>
|
|
|
- <image src="/static/concern.png" class="avatar" />
|
|
|
- <view class="name">朋友</view>
|
|
|
- <view class="unread" wx:if="{{authorityMsg.newFansCount>0}}">{{authorityMsg.newFansCount}}</view>
|
|
|
- </view>
|
|
|
- <view class="authority" bindtap="jump" data-url='like'>
|
|
|
- <image src="/static/zan.png" class="avatar" />
|
|
|
- <view class="name">赞</view>
|
|
|
- <view class="unread" wx:if="{{authorityMsg.likeCount>0}}">{{authorityMsg.likeCount}}</view>
|
|
|
- </view>
|
|
|
- <view class="authority" bindtap="jump" data-url='comment'>
|
|
|
- <image src="/static/message3.png" class="avatar" />
|
|
|
- <view class="name">评论</view>
|
|
|
- <view class="unread" wx:if="{{authorityMsg.postsCount>0}}">{{authorityMsg.postsCount}}</view>
|
|
|
- </view>
|
|
|
- <view class="authority" bindtap="jump" data-url='notice'>
|
|
|
- <image src="/static/notice.png" class="avatar" />
|
|
|
- <view class="name">通知</view>
|
|
|
- <view class="unread" wx:if="{{authorityMsg.messageCount>0}}">{{authorityMsg.messageCount}}</view>
|
|
|
+ <view class="inletBox">
|
|
|
+ <view class="authority" bindtap="jump" data-url='friend'>
|
|
|
+ <image src="/static/concern.png" class="avatar" />
|
|
|
+ <view class="unread" wx:if="{{authorityMsg.newFansCount>0}}">{{authorityMsg.newFansCount}}</view>
|
|
|
+ </view>
|
|
|
+ <view class="authority" bindtap="jump" data-url='like'>
|
|
|
+ <image src="/static/zan.png" class="avatar" />
|
|
|
+ <view class="unread" wx:if="{{authorityMsg.likeCount>0}}">{{authorityMsg.likeCount}}</view>
|
|
|
+ </view>
|
|
|
+ <view class="authority" bindtap="jump" data-url='comment'>
|
|
|
+ <image src="/static/message3.png" class="avatar" />
|
|
|
+ <view class="unread" wx:if="{{authorityMsg.postsCount>0}}">{{authorityMsg.postsCount}}</view>
|
|
|
+ </view>
|
|
|
+ <view class="authority" bindtap="jump" data-url='notice'>
|
|
|
+ <image src="/static/notice.png" class="avatar" />
|
|
|
+ <view class="unread" wx:if="{{authorityMsg.messageCount>0}}">{{authorityMsg.messageCount}}</view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="base user" wx:for="{{authorityMsg.topList}}" wx:key="index" data-item='{{item}}'
|
|
@@ -52,15 +50,17 @@
|
|
|
<view class="base user" wx:for="{{list}}" wx:key="index" data-item='{{item}}' data-top="{{false}}"
|
|
|
bind:longpress="onLongPress" hover-class='pressHover' bindtap="jumpChat">
|
|
|
<image src="{{item.user.avatar}}" class="avatar" />
|
|
|
- <view class="body">
|
|
|
- <view class="name textOver">{{item.user.nickName||item.user.eid}}</view>
|
|
|
- <view class="info textOver">
|
|
|
- {{item.content}}
|
|
|
+ <view class="infoBox">
|
|
|
+ <view class="body">
|
|
|
+ <view class="name textOver">{{item.user.nickName||item.user.eid}}</view>
|
|
|
+ <view class="info textOver">
|
|
|
+ {{item.content}}
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="right">
|
|
|
+ <view class="date">{{filters.formatDate(item.gmtModified,5)}}</view>
|
|
|
+ <view class="unread" wx:if="{{item.unReadCount>0}}">{{item.unReadCount}}</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class="right">
|
|
|
- <view class="date">{{filters.formatDate(item.gmtModified,5)}}</view>
|
|
|
- <view class="unread" wx:if="{{item.unReadCount>0}}">{{item.unReadCount}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</block>
|