This commit is contained in:
aaron 2025-03-29 21:58:17 +08:00
parent 97028220d9
commit 6b563a428e
2 changed files with 5 additions and 27 deletions

View File

@ -6,6 +6,6 @@
<style scoped> <style scoped>
.page-container { .page-container {
padding: 24px; padding: 0px;
} }
</style> </style>

View File

@ -1,31 +1,9 @@
<template> <template>
<page-container> <page-container>
<div class="dashboard"> <div class="dashboard">
<a-row :gutter="24" class="data-overview"> <a-row :gutter="{ xs: 8, sm: 16, md: 24 }" class="data-overview">
<!-- 小区数据卡片 -->
<a-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6">
<a-card class="data-card community-card">
<template #title>
<span class="card-title">
<span class="icon-wrapper community-icon">
<svg class="icon" viewBox="0 0 1024 1024" width="20" height="20">
<path d="M946.5 505L560.1 118.8l-25.9-25.9c-12.3-12.2-32.1-12.2-44.4 0L77.5 505c-12.3 12.3-18.9 28.6-18.8 46 0.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8 12.1-12.1 18.7-28.2 18.7-45.3 0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204z m217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z" fill="currentColor"></path>
</svg>
</span>
开通小区
</span>
</template>
<a-statistic
title="开通小区数"
:value="dashboardData.total_community_count || 0"
class="main-stat"
:value-style="{ color: '#1890ff' }"
/>
</a-card>
</a-col>
<!-- 用户数据卡片 --> <!-- 用户数据卡片 -->
<a-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6"> <a-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8" class="data-card-col">
<a-card class="data-card user-card"> <a-card class="data-card user-card">
<template #title> <template #title>
<span class="card-title"> <span class="card-title">
@ -76,7 +54,7 @@
</a-col> </a-col>
<!-- 配送订单数据卡片 --> <!-- 配送订单数据卡片 -->
<a-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6"> <a-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8" class="data-card-col">
<a-card class="data-card order-card"> <a-card class="data-card order-card">
<template #title> <template #title>
<span class="card-title"> <span class="card-title">
@ -137,7 +115,7 @@
</a-col> </a-col>
<!-- 订单金额数据卡片 --> <!-- 订单金额数据卡片 -->
<a-col :xs="24" :sm="12" :md="12" :lg="6" :xl="6"> <a-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8" class="data-card-col">
<a-card class="data-card amount-card"> <a-card class="data-card amount-card">
<template #title> <template #title>
<span class="card-title"> <span class="card-title">