- 新增OperationDashboard.vue全屏大屏组件 - 添加6个核心KPI指标卡片: 进水总量/出水总量/产销差率/营收额/平均水质/报警次数 - 实现6个ECharts图表: 供水趋势/水质分布/报警统计/管网空间/设备状态/营收分析 - 创建静态HTML版本operation-dashboard.html,使用CDN加载Vue3/ECharts/Element Plus - 更新路由配置,添加/operation路径支持 - 修复nextTick导入问题,优化build脚本 🚧 开发者: bot_dev1 📝 任务: #38 [BI] 运营仪表盘 + 供水专题大屏
84 lines
1.5 KiB
SCSS
84 lines
1.5 KiB
SCSS
@use 'mixins/mixins' as *;
|
|
@use 'common/var' as *;
|
|
|
|
@include b(skeleton) {
|
|
@include css-var-from-global(('skeleton', 'circle-size'), ('avatar', 'size'));
|
|
}
|
|
|
|
@mixin circle-size($size) {
|
|
width: $size;
|
|
height: $size;
|
|
line-height: $size;
|
|
}
|
|
|
|
@include b(skeleton) {
|
|
@include e(item) {
|
|
background: getCssVar('skeleton-color');
|
|
display: inline-block;
|
|
height: 16px;
|
|
border-radius: getCssVar('border-radius-base');
|
|
width: 100%;
|
|
}
|
|
|
|
@include e(circle) {
|
|
border-radius: 50%;
|
|
|
|
width: getCssVar('skeleton-circle-size');
|
|
height: getCssVar('skeleton-circle-size');
|
|
line-height: getCssVar('skeleton-circle-size');
|
|
}
|
|
|
|
@include e(button) {
|
|
height: 40px;
|
|
width: 64px;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
@include e(p) {
|
|
width: 100%;
|
|
@include when(last) {
|
|
width: 61%;
|
|
}
|
|
|
|
@include when(first) {
|
|
width: 33%;
|
|
}
|
|
}
|
|
|
|
@include e(text) {
|
|
width: 100%;
|
|
height: getCssVar('font-size-small');
|
|
}
|
|
|
|
@include e(caption) {
|
|
height: getCssVar('font-size-extra-small');
|
|
}
|
|
|
|
@include e(h1) {
|
|
height: getCssVar('font-size-extra-large');
|
|
}
|
|
|
|
@include e(h3) {
|
|
height: getCssVar('font-size-large');
|
|
}
|
|
|
|
@include e(h5) {
|
|
height: getCssVar('font-size-medium');
|
|
}
|
|
|
|
@include e(image) {
|
|
width: unset;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 0;
|
|
|
|
svg {
|
|
color: getCssVar('svg-monochrome-grey');
|
|
fill: currentColor;
|
|
width: 22%;
|
|
height: 22%;
|
|
}
|
|
}
|
|
}
|