|
|
@ -2,18 +2,19 @@
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<s-layout title="我的团队" :class="state.scrollTop ? 'team-wrap' : ''" navbar="inner">
|
|
|
|
<s-layout title="我的团队" :class="state.scrollTop ? 'team-wrap' : ''" navbar="inner">
|
|
|
|
<view class="promoter-list">
|
|
|
|
<view class="promoter-list">
|
|
|
|
<view
|
|
|
|
<view class="promoterHeader bg-color" style="backgroundcolor: #e93323 !important; height: 218rpx; color: #fff">
|
|
|
|
class="promoterHeader bg-color"
|
|
|
|
|
|
|
|
style="backgroundcolor: #e93323 !important; height: 218rpx; color: #fff"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<view class="headerCon acea-row row-between" style="padding: 28px 29px 0 29px">
|
|
|
|
<view class="headerCon acea-row row-between" style="padding: 28px 29px 0 29px">
|
|
|
|
<view>
|
|
|
|
<view>
|
|
|
|
<view class="name" style="color: #fff">推广人数</view>
|
|
|
|
<view class="name" style="color: #fff">推广人数</view>
|
|
|
|
<view>
|
|
|
|
<view>
|
|
|
|
<text class="num" style="color: #fff">
|
|
|
|
<text class="num" style="color: #fff">
|
|
|
|
{{
|
|
|
|
<!-- {{
|
|
|
|
state.summary.firstBrokerageUserCount + state.summary.secondBrokerageUserCount ||
|
|
|
|
state.summary.firstBrokerageUserCount + state.summary.secondBrokerageUserCount ||
|
|
|
|
0
|
|
|
|
0
|
|
|
|
|
|
|
|
}} -->
|
|
|
|
|
|
|
|
{{
|
|
|
|
|
|
|
|
state.summary.secondBrokerageUserCount ||
|
|
|
|
|
|
|
|
0
|
|
|
|
}}
|
|
|
|
}}
|
|
|
|
</text>
|
|
|
|
</text>
|
|
|
|
人
|
|
|
|
人
|
|
|
@ -31,42 +32,21 @@
|
|
|
|
我的团队({{ state.summary.secondBrokerageUserCount || 0 }})
|
|
|
|
我的团队({{ state.summary.secondBrokerageUserCount || 0 }})
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view
|
|
|
|
<view class="search acea-row row-between-wrapper" style="display: flex; height: 100rpx; align-items: center">
|
|
|
|
class="search acea-row row-between-wrapper"
|
|
|
|
|
|
|
|
style="display: flex; height: 100rpx; align-items: center"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<view class="input">
|
|
|
|
<view class="input">
|
|
|
|
<input
|
|
|
|
<input placeholder="点击搜索会员名称" v-model="state.nickname" confirm-type="search" name="search"
|
|
|
|
placeholder="点击搜索会员名称"
|
|
|
|
@confirm="submitForm" />
|
|
|
|
v-model="state.nickname"
|
|
|
|
</view>
|
|
|
|
confirm-type="search"
|
|
|
|
<image src="/static/images/search.png" mode="" style="width: 60rpx; height: 64rpx" @click="submitForm" />
|
|
|
|
name="search"
|
|
|
|
|
|
|
|
@confirm="submitForm"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<image
|
|
|
|
|
|
|
|
src="/static/images/search.png"
|
|
|
|
|
|
|
|
mode=""
|
|
|
|
|
|
|
|
style="width: 60rpx; height: 64rpx"
|
|
|
|
|
|
|
|
@click="submitForm"
|
|
|
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="list">
|
|
|
|
<view class="list">
|
|
|
|
<view class="sortNav acea-row row-middle" style="display: flex; align-items: center">
|
|
|
|
<view class="sortNav acea-row row-middle" style="display: flex; align-items: center">
|
|
|
|
<view
|
|
|
|
<view class="sortItem" @click="setSort('userCount', 'asc')" v-if="sort === 'userCountDESC'">
|
|
|
|
class="sortItem"
|
|
|
|
|
|
|
|
@click="setSort('userCount', 'asc')"
|
|
|
|
|
|
|
|
v-if="sort === 'userCountDESC'"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
团队排序
|
|
|
|
团队排序
|
|
|
|
<!-- TODO 芋艿:看看怎么从项目里拿出去 -->
|
|
|
|
<!-- TODO 芋艿:看看怎么从项目里拿出去 -->
|
|
|
|
<image src="/static/images/sort1.png" />
|
|
|
|
<image src="/static/images/sort1.png" />
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view
|
|
|
|
<view class="sortItem" @click="setSort('userCount', 'desc')" v-else-if="sort === 'userCountASC'">
|
|
|
|
class="sortItem"
|
|
|
|
|
|
|
|
@click="setSort('userCount', 'desc')"
|
|
|
|
|
|
|
|
v-else-if="sort === 'userCountASC'"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
团队排序
|
|
|
|
团队排序
|
|
|
|
<image src="/static/images/sort3.png" />
|
|
|
|
<image src="/static/images/sort3.png" />
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
@ -78,11 +58,7 @@
|
|
|
|
金额排序
|
|
|
|
金额排序
|
|
|
|
<image src="/static/images/sort1.png" />
|
|
|
|
<image src="/static/images/sort1.png" />
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view
|
|
|
|
<view class="sortItem" @click="setSort('price', 'desc')" v-else-if="sort === 'priceASC'">
|
|
|
|
class="sortItem"
|
|
|
|
|
|
|
|
@click="setSort('price', 'desc')"
|
|
|
|
|
|
|
|
v-else-if="sort === 'priceASC'"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
金额排序
|
|
|
|
金额排序
|
|
|
|
<image src="/static/images/sort3.png" />
|
|
|
|
<image src="/static/images/sort3.png" />
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
@ -90,19 +66,11 @@
|
|
|
|
金额排序
|
|
|
|
金额排序
|
|
|
|
<image src="/static/images/sort2.png" />
|
|
|
|
<image src="/static/images/sort2.png" />
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view
|
|
|
|
<view class="sortItem" @click="setSort('orderCount', 'asc')" v-if="sort === 'orderCountDESC'">
|
|
|
|
class="sortItem"
|
|
|
|
|
|
|
|
@click="setSort('orderCount', 'asc')"
|
|
|
|
|
|
|
|
v-if="sort === 'orderCountDESC'"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
订单排序
|
|
|
|
订单排序
|
|
|
|
<image src="/static/images/sort1.png" />
|
|
|
|
<image src="/static/images/sort1.png" />
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view
|
|
|
|
<view class="sortItem" @click="setSort('orderCount', 'desc')" v-else-if="sort === 'orderCountASC'">
|
|
|
|
class="sortItem"
|
|
|
|
|
|
|
|
@click="setSort('orderCount', 'desc')"
|
|
|
|
|
|
|
|
v-else-if="sort === 'orderCountASC'"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
订单排序
|
|
|
|
订单排序
|
|
|
|
<image src="/static/images/sort3.png" />
|
|
|
|
<image src="/static/images/sort3.png" />
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
@ -113,10 +81,7 @@
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<block v-for="(item, index) in state.pagination.list" :key="index">
|
|
|
|
<block v-for="(item, index) in state.pagination.list" :key="index">
|
|
|
|
<view class="item acea-row row-between-wrapper" style="display: flex">
|
|
|
|
<view class="item acea-row row-between-wrapper" style="display: flex">
|
|
|
|
<view
|
|
|
|
<view class="picTxt acea-row row-between-wrapper" style="display: flex; align-items: center">
|
|
|
|
class="picTxt acea-row row-between-wrapper"
|
|
|
|
|
|
|
|
style="display: flex; align-items: center"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<view class="pictrue">
|
|
|
|
<view class="pictrue">
|
|
|
|
<image :src="item.avatar" />
|
|
|
|
<image :src="item.avatar" />
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
@ -128,25 +93,20 @@
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view
|
|
|
|
<view class="right" style="
|
|
|
|
class="right"
|
|
|
|
|
|
|
|
style="
|
|
|
|
|
|
|
|
justify-content: center;
|
|
|
|
justify-content: center;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-direction: column;
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-left: auto;
|
|
|
|
"
|
|
|
|
">
|
|
|
|
>
|
|
|
|
|
|
|
|
<view>
|
|
|
|
<view>
|
|
|
|
<text class="num font-color">{{ item.brokerageUserCount || 0 }} </text>人
|
|
|
|
<text class="num font-color">{{ item.brokerageUserCount || 0 }} </text>人
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view>
|
|
|
|
<view>
|
|
|
|
<text class="num">{{ item.brokerageOrderCount || 0 }}</text
|
|
|
|
<text class="num">{{ item.brokerageOrderCount || 0 }}</text>单
|
|
|
|
>单</view
|
|
|
|
</view>
|
|
|
|
>
|
|
|
|
|
|
|
|
<view>
|
|
|
|
<view>
|
|
|
|
<text class="num">{{ Number(item.brokeragePrice|| 0 )/100 }}</text
|
|
|
|
<text class="num">{{ Number(item.brokeragePrice|| 0 )/100 }}</text>元
|
|
|
|
>元
|
|
|
|
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|