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.
87 lines
3.1 KiB
87 lines
3.1 KiB
<view>
|
|
<loading id="loading"></loading>
|
|
|
|
<view wx:if="{{ iniLoaded }}">
|
|
<view class="m-list">
|
|
<view class="item"
|
|
wx:key="*this"
|
|
wx:for="{{ list.data }}"
|
|
data-id="{{ item.groupId }}"
|
|
bind:tap="handleTapItem">
|
|
<view class="item-top"
|
|
wx:if="{{type=='customer'}}"
|
|
>
|
|
<view class="grid">{{item.gridNamePath}}</view>
|
|
</view>
|
|
<view class="item-cnt">
|
|
<view class="no"
|
|
wx:if="{{type=='grid' || type=='customer'}}"
|
|
>
|
|
<image mode="aspectFit"
|
|
class="arrow"
|
|
wx:if="{{item.ranking<4}}"
|
|
src="/assets/images/group/no/{{item.ranking}}.png" />
|
|
<view class="no-text" wx:else>{{item.ranking}}.</view>
|
|
</view>
|
|
<view class="avatar">
|
|
<image mode="aspectFill"
|
|
class="group-avatar"
|
|
data-gid="{{item.groupId}}"
|
|
src="{{item.groupHeadPhoto}}"
|
|
data-src="{{item.groupHeadPhoto}}"
|
|
catchtap="previewImage" />
|
|
<view class="group-tag" wx:if="{{item.groupType=='branch'}}">
|
|
<text>支部</text>
|
|
</view>
|
|
</view>
|
|
<view class="title">
|
|
<view class="name">
|
|
{{item.groupName}}
|
|
<text class="name-tag" wx:if="{{item.groupLeaderFlag=='leader'}}">我创建的</text>
|
|
</view>
|
|
|
|
<view class="title-point"
|
|
wx:if="{{type=='mine'}}"
|
|
>成就积分:{{item.point}}</view>
|
|
</view>
|
|
<view class="ranking"
|
|
wx:if="{{type=='mine' && item.gridRanking}}"
|
|
>
|
|
<view class="ranking-no">
|
|
<image mode="aspectFit"
|
|
wx:if="{{item.gridRanking<4}}"
|
|
src="/assets/images/group/no/{{item.gridRanking}}.png" />
|
|
<text wx:else>{{item.gridRanking}}</text>
|
|
</view>
|
|
<view class="ranking-field">网格排名</view>
|
|
</view>
|
|
<view class="ranking"
|
|
wx:if="{{type=='mine' && item.customerRanking}}"
|
|
>
|
|
<view class="ranking-no">
|
|
<image mode="aspectFit"
|
|
wx:if="{{item.customerRanking<4}}"
|
|
src="/assets/images/group/no/{{item.customerRanking}}.png" />
|
|
<text wx:else>{{item.customerRanking}}</text>
|
|
</view>
|
|
<view class="ranking-field">总排名</view>
|
|
</view>
|
|
<view class="point"
|
|
wx:if="{{type!=='mine'}}"
|
|
>
|
|
<view class="point-no">{{item.point}}</view>
|
|
<view class="point-field">成就积分</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="m-more" wx:if="{{ moreListHint && moreListHint!='暂无内容' }}">
|
|
{{ moreListHint }}
|
|
</view>
|
|
|
|
<view class="m-nothing" wx:else>
|
|
<image mode="aspectFill" class="arrow" src="/assets/images/group/nodata.png" />
|
|
</view>
|
|
</view>
|
|
</view>
|