2024-05-26 17:33:51 +08:00

42 lines
1.0 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<div class="data-box">
<div class="sell-histogram">
<div>
<span class="data-title">销售额趋势</span>
<span class="data-subtext">单位</span>
</div>
<HistogramChart />
</div>
<div class="monthly-analysis">
<div>
<span class="data-title">现金分析</span>
<span class="data-subtext">单位</span>
</div>
<AnalysisChart />
</div>
</div>
</template>
<script setup lang="ts">
import HistogramChart from "@/views/home/components/histogram-chart.vue";
import AnalysisChart from "@/views/home/components/analysis-chart.vue";
</script>
<style lang="scss" scoped>
.data-box {
margin-top: calc($padding * 2);
display: flex;
justify-content: space-between;
flex-wrap: wrap;
.data-title {
font-size: $font-size-body-3;
color: $color-text-1;
}
.data-subtext {
font-size: $font-size-body-2;
color: $color-text-2;
margin-left: $margin-text;
}
}
</style>