You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
86 lines
4.7 KiB
86 lines
4.7 KiB
<view class="group-box">
|
|
<!-- 循环 -->
|
|
<view class="left" wx:for="{{grounpList}}" wx:key="index" style="margin-top: {{index>0? '64rpx':''}}">
|
|
<view class="user-box">
|
|
<!-- 不是自己发布 -->
|
|
<view class="user" wx:if="{{item.selfPublishFlag=='0'}}">
|
|
<image src="{{item.userFace}}" class="user-image" wx:if="{{item.userFace!==''}}" />
|
|
<image src="https://epdc-yushan.elinkservice.cn/files-pro/20210610/bf46696b961a4fa680a824f60861bd0c.png" class="user-image" wx:if="{{item.userFace ==''}}" />
|
|
<view class="position" style="margin-right {{item.selfPublishFlag=='1'? '10rpx':''}}">
|
|
<text>{{item.nickName}}</text>
|
|
<text class="time">{{item.createTime}}</text>
|
|
</view>
|
|
</view>
|
|
<!-- 自己发布 -->
|
|
<view class="user right" wx:if="{{item.selfPublishFlag=='1'}}">
|
|
<view class="position" style="margin-right:10rpx;text-align: right;">
|
|
<text>{{item.nickName}}</text>
|
|
<text class="time">{{item.createTime}}</text>
|
|
</view>
|
|
<image src="{{item.userFace}}" class="user-image" wx:if="{{item.userFace!==''}}" />
|
|
<image src="https://epdc-yushan.elinkservice.cn/files-pro/20210610/bf46696b961a4fa680a824f60861bd0c.png" class="user-image" wx:if="{{item.userFace ==''}}" />
|
|
</view>
|
|
</view>
|
|
<view class="content" bind:tap="goTopicDetail" data-messageType="{{item.messageType}}" data-id="{{item.id}}">
|
|
<view class="top">
|
|
<image src="{{item.imgUrl}}" class="bac" wx:if="{{item.imgUrl !=='' && item.messageType=='1' }}"></image>
|
|
<image src="https://epdc-yushan.elinkservice.cn/files-pro/20210610/4a95639254c64daf97da2feaf8c526df.png" class="inform" wx:if="{{item.messageType=='2'}}"></image>
|
|
<image src="../../images/top.png" class="isTop" wx:if="{{item.topFlag=='1'}}" />
|
|
<image src="../../images/top2.png" class="isTop" wx:if="{{item.messageType=='2' && item.topFlag=='1'}}" />
|
|
</view>
|
|
<view class="content-center" wx:if="{{item.messageType=='1'}}">{{item.content}}</view>
|
|
<view class="content-center" wx:if="{{item.messageType=='2'}}">{{item.title}}</view>
|
|
<view class="content-bottom {{item.messageType=='2'? 'topic':''}}">
|
|
<!-- 话题 -->
|
|
<block wx:if="{{item.messageType=='1'}}">
|
|
<view>
|
|
<text>浏览</text>
|
|
<text class="num">{{item.browseTotal}}</text>
|
|
</view>
|
|
<view>
|
|
<text>评论</text>
|
|
<text class="num">{{item.commentTotal}}</text>
|
|
</view>
|
|
<view>
|
|
<image src="../../images/good.png" />
|
|
<text class="num">{{item.likesTotal}}</text>
|
|
</view>
|
|
<view>
|
|
<image src="../../images/nogood.png" />
|
|
<text class="num">{{item.opposeLTotal}}</text>
|
|
</view>
|
|
</block>
|
|
<!-- 通知 -->
|
|
<block wx:if="{{item.messageType=='2'}}">
|
|
<view catch:tap="goIsRead" data-id="{{item.id}}" data-type="read" hover-stop-propagation="{{true}}" class="read colorRed">
|
|
<text>已读</text>
|
|
<text class="num">{{item.readTotal}}</text>
|
|
</view>
|
|
<view class="line"></view>
|
|
<view catch:tap="goIsRead" data-id="{{item.id}}" data-type="noread" class="read colorRed">
|
|
<text>未读</text>
|
|
<text class="num">{{item.noReadtotal}}</text>
|
|
</view>
|
|
</block>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<load-more loadVisible="{{loadVisible}}" loadType="{{loadType}}"></load-more>
|
|
<view class="blank"></view>
|
|
<view class="fixed">
|
|
<view class="fixed-box">
|
|
<view class="punlish" bind:tap="goMyTalk" data-type="inform">
|
|
<image src="../../images/news.png" />
|
|
<text>发布通知</text>
|
|
</view>
|
|
<view class="punlish" bind:tap="goMyTalk" data-type="topic">
|
|
<image src="../../images/publish.png" />
|
|
<text>我有话说</text>
|
|
</view>
|
|
<view class="punlish" bind:tap="goGroupPeople">
|
|
<image src="../../images/group.png" />
|
|
<text>群成员</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|