84 lines
2.7 KiB
Plaintext
84 lines
2.7 KiB
Plaintext
<!--packageH/circleCommunity/circleChecklist/circleChecklist.wxml-->
|
|
|
|
<view class="tabs">
|
|
<view class="tabItem {{tabsIndex==0 ? 'active' : ''}}" bindtap="setTabsIndex" data-index="0">
|
|
成员审核
|
|
</view>
|
|
<view class="tabItem {{tabsIndex==1 ? 'active' : ''}}" bindtap="setTabsIndex" data-index="1">
|
|
发布审核
|
|
</view>
|
|
</view>
|
|
|
|
<view class="userList" wx:if="{{tabsIndex==0 && listData.length>0 && networkLoading}}">
|
|
<view class="userItem" wx:for="{{listData}}">
|
|
<view class="face">
|
|
<image src="{{item.header_img}}"></image>
|
|
</view>
|
|
<view class="desc">
|
|
<view class="name">{{item.name}}</view>
|
|
<view class="label">{{item.created_at}}</view>
|
|
</view>
|
|
<view class="btns">
|
|
<view class="btn status1" bindtap="memberReview" data-review="1" data-id="{{item.id}}" data-index="{{index}}">通过</view>
|
|
<view class="btn status2" bindtap="memberReview" data-review="2" data-id="{{item.id}}" data-index="{{index}}">驳回</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<view class="cards" wx:if="{{tabsIndex==1 && listData.length>0 && networkLoading}}">
|
|
<view class="card" wx:for="{{listData}}">
|
|
<view class="userInfo">
|
|
<view class="face">
|
|
<image src="{{item.avatar}}"></image>
|
|
</view>
|
|
<view class="right">
|
|
<view class="name">{{item.nickname}}</view>
|
|
<view class="time">{{item.created_at}}</view>
|
|
</view>
|
|
<view class="opet">
|
|
<view class="btn" bindtap="invitationReview" data-review="1" data-id="{{item.id}}" data-index="{{index}}">通过</view>
|
|
<view class="btn reject" bindtap="invitationReview" data-review="2" data-id="{{item.id}}" data-index="{{index}}">驳回</view>
|
|
</view>
|
|
</view>
|
|
<view class="title">{{item.title}}</view>
|
|
<view class="desc" wx:if="{{item.status==1}}">{{item.content}}</view>
|
|
<view class="contentImg" wx:if="{{item.status==1 && item.img!=null}}">
|
|
<image src="{{item.img[0]}}" mode="heightFix"></image>
|
|
</view>
|
|
<view class="contentImg" wx:if="{{item.status==2}}">
|
|
<image src="{{item.img}}" mode="heightFix"></image>
|
|
</view>
|
|
<view class="otherInfo" wx:if="{{false}}">
|
|
<view class="otherItem">
|
|
<icon style="font-size:20px;height:35rpx;margin-right:6rpx;" class="iconfont icon-fontclass-yulan"></icon>
|
|
<text>2</text>
|
|
</view>
|
|
<view class="otherItem">
|
|
<icon style="height:37rpx;margin-right:6rpx;" class="iconfont icon-fontclass-dianzan active"></icon>
|
|
<text>3</text>
|
|
</view>
|
|
<view class="otherItem">
|
|
<icon style="height:37rpx;margin-right:10rpx;" class="iconfont icon-fontclass-pinglun1"></icon>
|
|
<text>2</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
<view wx:if="{{listData.length==0 && networkLoading}}" class="blank">
|
|
<image src='https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png' mode='widthFix' />
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|