变更首页
This commit is contained in:
@@ -6,12 +6,12 @@
|
||||
<div class="content-left">
|
||||
<div class="summary-title">总订单数</div>
|
||||
<div class="summary-value">
|
||||
<strong>{{ dataInfo.totalOrders.toLocaleString() }}</strong>
|
||||
<strong>{{ dataInfo.totalOrderCount.toLocaleString() }}</strong>
|
||||
<span class="growth">
|
||||
<svg class="arrow-up" viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="#38c172" stroke-width="3" stroke-linecap="round" stroke-linejoin="round">
|
||||
<polyline points="6 15 12 9 18 15"></polyline>
|
||||
</svg>
|
||||
12.5%
|
||||
{{ dataInfo.totalOrderCountGrowthRate }}%
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -28,12 +28,12 @@
|
||||
<div class="content-left">
|
||||
<div class="summary-title">本月完成订单</div>
|
||||
<div class="summary-value">
|
||||
<strong>{{ dataInfo.completedThisMonth.toLocaleString() }}</strong>
|
||||
<strong>{{ dataInfo.monthFinishedOrderCount.toLocaleString() }}</strong>
|
||||
<span class="growth">
|
||||
<svg class="arrow-up" viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="#38c172" stroke-width="3" stroke-linecap="round" stroke-linejoin="round">
|
||||
<polyline points="6 15 12 9 18 15"></polyline>
|
||||
</svg>
|
||||
8.3%
|
||||
{{ dataInfo.monthFinishedOrderCountGrowthRate }}%
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -49,12 +49,12 @@
|
||||
<div class="content-left">
|
||||
<div class="summary-title">订单完成度</div>
|
||||
<div class="summary-value">
|
||||
<strong>{{ dataInfo.completionRate.toFixed(1) }}%</strong>
|
||||
<strong>{{ dataInfo.finishedRate.toFixed(1) }}%</strong>
|
||||
<span class="growth">
|
||||
<svg class="arrow-up" viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="#38c172" stroke-width="3" stroke-linecap="round" stroke-linejoin="round">
|
||||
<polyline points="6 15 12 9 18 15"></polyline>
|
||||
</svg>
|
||||
2.1%
|
||||
{{ dataInfo.finishedRateGrowthRate }}%
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -74,7 +74,14 @@ export default {
|
||||
dataInfo: {
|
||||
type: Object,
|
||||
required: true,
|
||||
default: () => ({ totalOrders: 0, completedThisMonth: 0, completionRate: 0 })
|
||||
default: () => ({
|
||||
totalOrderCount: 0,
|
||||
monthFinishedOrderCount: 0,
|
||||
finishedRate: 0,
|
||||
totalOrderCountGrowthRate: 0,
|
||||
monthFinishedOrderCountGrowthRate: 0,
|
||||
finishedRateGrowthRate: 0,
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user