|
|
|
@ -13,22 +13,14 @@
|
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="nav acea-row row-around"> |
|
|
|
|
<view |
|
|
|
|
class="item" |
|
|
|
|
:class="screen.grade == 0 ? 'on' : ''" |
|
|
|
|
@click="checkGrade(0)" |
|
|
|
|
>一级({{ first||'0' }})</view> |
|
|
|
|
<view |
|
|
|
|
class="item" |
|
|
|
|
:class="screen.grade == 1 ? 'on' : ''" |
|
|
|
|
@click="checkGrade(1)" |
|
|
|
|
>二级({{ second||'0' }})</view> |
|
|
|
|
<view class="item" :class="screen.grade == 0 ? 'on' : ''" @click="checkGrade(0)">一级({{ first||'0' }})</view> |
|
|
|
|
<view class="item" :class="screen.grade == 1 ? 'on' : ''" @click="checkGrade(1)">二级({{ second||'0' }})</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="search acea-row row-between-wrapper"> |
|
|
|
|
<form @submit.prevent="submitForm"> |
|
|
|
|
<view class="input"> |
|
|
|
|
<input placeholder="点击搜索会员名称" v-model="screen.keyword" /> |
|
|
|
|
<text class="iconfont icon-guanbi"></text> |
|
|
|
|
<text class="iconfont icon-guanbi" @click="screen.keyword=''"></text> |
|
|
|
|
</view> |
|
|
|
|
</form> |
|
|
|
|
<view class="iconfont icon-sousuo2"></view> |
|
|
|
@ -56,11 +48,8 @@
|
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view :class="fixedState === true ? 'sortList' : ''"> |
|
|
|
|
<view |
|
|
|
|
class="item acea-row row-between-wrapper" |
|
|
|
|
v-for="(val, spreadListIndex) in spreadList" |
|
|
|
|
:key="spreadListIndex" |
|
|
|
|
> |
|
|
|
|
<view class="item acea-row row-between-wrapper" v-for="(val, spreadListIndex) in spreadList" |
|
|
|
|
:key="spreadListIndex"> |
|
|
|
|
<view class="picTxt acea-row row-between-wrapper"> |
|
|
|
|
<view class="pictrue"> |
|
|
|
|
<image :src="val.avatar" /> |
|
|
|
@ -84,7 +73,9 @@
|
|
|
|
|
</view> |
|
|
|
|
</template> |
|
|
|
|
<script> |
|
|
|
|
import { getSpreadUser } from "@/api/user"; |
|
|
|
|
import { |
|
|
|
|
getSpreadUser |
|
|
|
|
} from "@/api/user"; |
|
|
|
|
import Loading from "@/components/Loading"; |
|
|
|
|
export default { |
|
|
|
|
name: "PromoterList", |
|
|
|
@ -163,8 +154,7 @@ export default {
|
|
|
|
|
}, |
|
|
|
|
err => { |
|
|
|
|
uni.showToast({ |
|
|
|
|
title: |
|
|
|
|
err.msg || err.response.data.msg || err.response.data.message, |
|
|
|
|
title: err.msg || err.response.data.msg || err.response.data.message, |
|
|
|
|
icon: "none", |
|
|
|
|
duration: 2000 |
|
|
|
|
}); |
|
|
|
|