feat 完善注释

This commit is contained in:
Ironsp
2026-10-01 17:24:57 +08:00
parent 2b59f68fd7
commit 9f4a5c7cda
183 changed files with 485 additions and 3615 deletions

View File

@@ -5,7 +5,6 @@ import { storeToRefs } from 'pinia'
import { RouterLink } from 'vue-router'
import { ElMessage } from 'element-plus'
import { PageHead } from '@/components'
// 页面容器:只做组件组合与事件中转,数据只经 store
import { useFinanceStore } from '@/stores/modules/finance'
import FinanceChart from './cpns/FinanceChart.vue'
import FinanceOverview from './cpns/FinanceOverview.vue'
@@ -75,28 +74,22 @@ onMounted(() => {
</template>
<style lang="less" scoped>
// 财务中心概览(设计 6cd4aa76,1920 画布 1:1)
// 页头区 (70,162) 1780×17 副标语 13/400 #6B7280(标题 22/700 由全站页头统一渲染)
// 概览行 y195 h135:左渐变卡 1093.84 宽、右白卡 672.16 宽(间距 14)
// 图表卡 (70,344) 1780×378,白底 + #F0F1F3 描边
.finance {
width: 100%;
// 顶部行:左渐变卡 + 右快捷卡,间距 14
&__top {
.flex(row, flex-start, stretch);
gap: 14px;
margin-top: -56px; // 页头白条通栏高 179,卡片按设计压在 y195
margin-top: -56px;
}
// 右侧快捷入口白卡 672.16×135
&__entries {
.flex(row, space-between, center);
flex: 0 0 672px;
height: 135px;
padding: 0 34px;
border: 1px solid @finance-card-line;
border-radius: @radius-base; // 设计无圆角?——卡面 8 以内,与全站一致
border-radius: @radius-base;
background: @white;
box-sizing: border-box;
}