|
|
@ -1,12 +1,13 @@ |
|
|
|
<template> |
|
|
|
<div class="dataOverview"> |
|
|
|
<van-nav-bar title="团队信息" left-text="返回" left-arrow @click-left="onClickLeft" /> |
|
|
|
<van-nav-bar title="团队信息" left-text="返回" left-arrow @click-left="onClickLeft" :fixed="true" /> |
|
|
|
<van-pull-refresh v-model="isLoading" @refresh="onRefresh"> |
|
|
|
<div class="top"> |
|
|
|
<p class="title">2021年总业绩</p> |
|
|
|
<p class="title">轻未来2021年总业绩</p> |
|
|
|
<p class="money">¥{{list.year_count | capitalize}}</p> |
|
|
|
<p class="monthMoney">本月业绩:{{list.month_count | capitalize}}</p> |
|
|
|
</div> |
|
|
|
<div class="providersSum"> |
|
|
|
<div class="providersSum aa"> |
|
|
|
<p class="title">服务商总数量</p> |
|
|
|
<p class="num">{{list.level_count | capitalize}}</p> |
|
|
|
<div class="list"> |
|
|
@ -126,22 +127,26 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</van-pull-refresh> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
<script> |
|
|
|
import data from "@/api/data.js"; |
|
|
|
import { |
|
|
|
NavBar |
|
|
|
NavBar, |
|
|
|
PullRefresh |
|
|
|
} from 'vant'; |
|
|
|
export default { |
|
|
|
name: "dataOverview", |
|
|
|
components: { |
|
|
|
"van-nav-bar": NavBar |
|
|
|
"van-nav-bar": NavBar, |
|
|
|
'van-pull-refresh': PullRefresh |
|
|
|
}, |
|
|
|
data() { |
|
|
|
return { |
|
|
|
list: {}, |
|
|
|
id: '', |
|
|
|
isLoading: false, |
|
|
|
} |
|
|
|
}, |
|
|
|
filters: { |
|
|
@ -158,6 +163,10 @@ |
|
|
|
this.getData() |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
onRefresh() { |
|
|
|
this.getData() |
|
|
|
this.isLoading = false; |
|
|
|
}, |
|
|
|
onClickLeft() { |
|
|
|
this.$router.go(-1) |
|
|
|
}, |
|
|
@ -185,21 +194,26 @@ |
|
|
|
.dataOverview { |
|
|
|
background: #3C3F50; |
|
|
|
|
|
|
|
::v-deep .van-nav-bar__content{ |
|
|
|
::v-deep .van-nav-bar__content { |
|
|
|
background: RGBA(63, 66, 88, 1); |
|
|
|
} |
|
|
|
::v-deep .van-nav-bar__title{ |
|
|
|
|
|
|
|
::v-deep .van-nav-bar__title { |
|
|
|
color: #fff; |
|
|
|
} |
|
|
|
::v-deep .van-nav-bar__text{ |
|
|
|
|
|
|
|
::v-deep .van-nav-bar__text { |
|
|
|
color: #fff; |
|
|
|
} |
|
|
|
::v-deep .van-icon-arrow-left::before{ |
|
|
|
|
|
|
|
::v-deep .van-icon-arrow-left::before { |
|
|
|
color: #fff; |
|
|
|
} |
|
|
|
::v-deep .van-hairline--bottom::after{ |
|
|
|
|
|
|
|
::v-deep .van-hairline--bottom::after { |
|
|
|
border: none; |
|
|
|
} |
|
|
|
|
|
|
|
.top { |
|
|
|
width: 750px; |
|
|
|
height: 334px; |
|
|
@ -209,6 +223,9 @@ |
|
|
|
padding: 0 70px; |
|
|
|
padding-top: 46px; |
|
|
|
margin-bottom: 50px; |
|
|
|
position: fixed; |
|
|
|
top: 85px; |
|
|
|
z-index: 999; |
|
|
|
|
|
|
|
.title { |
|
|
|
height: 40px; |
|
|
@ -245,6 +262,10 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.aa { |
|
|
|
padding-top: 58.53vw !important; |
|
|
|
} |
|
|
|
|
|
|
|
.providersSum { |
|
|
|
padding: 50px 70px; |
|
|
|
min-height: 580px; |
|
|
|