|
|
@ -2,9 +2,9 @@
|
|
|
|
<el-card shadow="never">
|
|
|
|
<el-card shadow="never">
|
|
|
|
<template #header>
|
|
|
|
<template #header>
|
|
|
|
<div class="my--1.5 flex flex-row items-center justify-between">
|
|
|
|
<div class="my--1.5 flex flex-row items-center justify-between">
|
|
|
|
<CardTitle title="会员概览" />
|
|
|
|
<CardTitle title="换电站收入排行" />
|
|
|
|
<!-- 查询条件 -->
|
|
|
|
<!-- 查询条件 -->
|
|
|
|
<ShortcutDateRangePicker @change="handleTimeRangeChange" />
|
|
|
|
<!-- <ShortcutDateRangePicker @change="handleTimeRangeChange" /> -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<div class="min-w-225 py-1.75" v-loading="loading">
|
|
|
|
<div class="min-w-225 py-1.75" v-loading="loading">
|
|
|
@ -12,10 +12,10 @@
|
|
|
|
<div class="h-full w-75% bg-blue-50 <lg:w-35% <xl:w-55%">
|
|
|
|
<div class="h-full w-75% bg-blue-50 <lg:w-35% <xl:w-55%">
|
|
|
|
<div class="ml-15 h-full flex flex-col justify-center">
|
|
|
|
<div class="ml-15 h-full flex flex-col justify-center">
|
|
|
|
<div class="font-bold">
|
|
|
|
<div class="font-bold">
|
|
|
|
注册用户数量:{{ analyseData?.comparison?.value?.registerUserCount || 0 }}
|
|
|
|
内乡站:{{ analyseData?.comparison?.value?.registerUserCount || 32652 }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="mt-2 text-3.5">
|
|
|
|
<div class="mt-2 text-3.5">
|
|
|
|
环比增长率:{{
|
|
|
|
内乡智能换电站:{{
|
|
|
|
calculateRelativeRate(
|
|
|
|
calculateRelativeRate(
|
|
|
|
analyseData?.comparison?.value?.registerUserCount,
|
|
|
|
analyseData?.comparison?.value?.registerUserCount,
|
|
|
|
analyseData?.comparison?.reference?.registerUserCount
|
|
|
|
analyseData?.comparison?.reference?.registerUserCount
|
|
|
@ -27,18 +27,18 @@
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
class="trapezoid1 ml--38.5 mt-1.5 h-full w-77 flex flex-col items-center justify-center bg-blue-5 text-3.5 text-white"
|
|
|
|
class="trapezoid1 ml--38.5 mt-1.5 h-full w-77 flex flex-col items-center justify-center bg-blue-5 text-3.5 text-white"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<span class="text-6 font-bold">{{ analyseData?.visitUserCount || 0 }}</span>
|
|
|
|
<span class="text-6 font-bold">{{ analyseData?.visitUserCount || 32652 }}</span>
|
|
|
|
<span>访客</span>
|
|
|
|
<span>Number One</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="relative h-24 flex">
|
|
|
|
<div class="relative h-24 flex">
|
|
|
|
<div class="h-full w-75% flex bg-cyan-50 <lg:w-35% <xl:w-55%">
|
|
|
|
<div class="h-full w-75% flex bg-cyan-50 <lg:w-35% <xl:w-55%">
|
|
|
|
<div class="ml-15 h-full flex flex-col justify-center">
|
|
|
|
<div class="ml-15 h-full flex flex-col justify-center">
|
|
|
|
<div class="font-bold">
|
|
|
|
<div class="font-bold">
|
|
|
|
活跃用户数量:{{ analyseData?.comparison?.value?.visitUserCount || 0 }}
|
|
|
|
奇瑞站:{{ analyseData?.comparison?.value?.visitUserCount || 31502 }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="mt-2 text-3.5">
|
|
|
|
<div class="mt-2 text-3.5">
|
|
|
|
环比增长率:{{
|
|
|
|
奇瑞智能换电站:{{
|
|
|
|
calculateRelativeRate(
|
|
|
|
calculateRelativeRate(
|
|
|
|
analyseData?.comparison?.value?.visitUserCount,
|
|
|
|
analyseData?.comparison?.value?.visitUserCount,
|
|
|
|
analyseData?.comparison?.reference?.visitUserCount
|
|
|
|
analyseData?.comparison?.reference?.visitUserCount
|
|
|
@ -50,8 +50,8 @@
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
class="trapezoid2 ml--28 mt-1.7 h-25 w-56 flex flex-col items-center justify-center bg-cyan-5 text-3.5 text-white"
|
|
|
|
class="trapezoid2 ml--28 mt-1.7 h-25 w-56 flex flex-col items-center justify-center bg-cyan-5 text-3.5 text-white"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<span class="text-6 font-bold">{{ analyseData?.orderUserCount || 0 }}</span>
|
|
|
|
<span class="text-6 font-bold">{{ analyseData?.orderUserCount || 31502 }}</span>
|
|
|
|
<span>下单</span>
|
|
|
|
<span>Number Two</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="relative h-24 flex">
|
|
|
|
<div class="relative h-24 flex">
|
|
|
@ -59,10 +59,10 @@
|
|
|
|
<div class="ml-15 h-full flex flex-row gap-x-16">
|
|
|
|
<div class="ml-15 h-full flex flex-row gap-x-16">
|
|
|
|
<div class="flex flex-col justify-center">
|
|
|
|
<div class="flex flex-col justify-center">
|
|
|
|
<div class="font-bold">
|
|
|
|
<div class="font-bold">
|
|
|
|
充值用户数量:{{ analyseData?.comparison?.value?.rechargeUserCount || 0 }}
|
|
|
|
新世纪站:{{ analyseData?.comparison?.value?.rechargeUserCount || 29686 }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="mt-2 text-3.5">
|
|
|
|
<div class="mt-2 text-3.5">
|
|
|
|
环比增长率:{{
|
|
|
|
新世纪智能换电站:{{
|
|
|
|
calculateRelativeRate(
|
|
|
|
calculateRelativeRate(
|
|
|
|
analyseData?.comparison?.value?.rechargeUserCount,
|
|
|
|
analyseData?.comparison?.value?.rechargeUserCount,
|
|
|
|
analyseData?.comparison?.reference?.rechargeUserCount
|
|
|
|
analyseData?.comparison?.reference?.rechargeUserCount
|
|
|
@ -70,16 +70,13 @@
|
|
|
|
}}%
|
|
|
|
}}%
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="flex flex-col justify-center">
|
|
|
|
|
|
|
|
<div class="font-bold">客单价:{{ fenToYuan(analyseData?.atv || 0) }}</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
<div
|
|
|
|
class="trapezoid3 ml--18 mt-3.25 h-23 w-36 flex flex-col items-center justify-center bg-slate-5 text-3.5 text-white"
|
|
|
|
class="trapezoid3 ml--18 mt-3.25 h-23 w-36 flex flex-col items-center justify-center bg-slate-5 text-3.5 text-white"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<span class="text-6 font-bold">{{ analyseData?.payUserCount || 0 }}</span>
|
|
|
|
<span class="text-6 font-bold">{{ analyseData?.payUserCount || 29686 }}</span>
|
|
|
|
<span>成交用户</span>
|
|
|
|
<span>Number Three</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -95,7 +92,7 @@ import { CardTitle } from '@/components/Card'
|
|
|
|
/** 会员概览卡片 */
|
|
|
|
/** 会员概览卡片 */
|
|
|
|
defineOptions({ name: 'MemberFunnelCard' })
|
|
|
|
defineOptions({ name: 'MemberFunnelCard' })
|
|
|
|
|
|
|
|
|
|
|
|
const loading = ref(true) // 加载中
|
|
|
|
const loading = ref(false) // 加载中
|
|
|
|
const analyseData = ref<MemberAnalyseRespVO>() // 会员分析数据
|
|
|
|
const analyseData = ref<MemberAnalyseRespVO>() // 会员分析数据
|
|
|
|
|
|
|
|
|
|
|
|
/** 查询会员概览数据列表 */
|
|
|
|
/** 查询会员概览数据列表 */
|
|
|
|