|
@@ -1,43 +1,579 @@
|
|
|
|
|
+<script lang="ts" setup>
|
|
|
|
|
+import * as echarts from 'echarts'
|
|
|
|
|
+
|
|
|
|
|
+defineOptions({ name: 'HomeIndex' })
|
|
|
|
|
+
|
|
|
|
|
+type SummaryCard = {
|
|
|
|
|
+ title: string
|
|
|
|
|
+ value: string | number
|
|
|
|
|
+ change: string
|
|
|
|
|
+ color: string
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+type ProgressItem = {
|
|
|
|
|
+ label: string
|
|
|
|
|
+ value: number
|
|
|
|
|
+ color: string
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+const dateText = '2026-08-06'
|
|
|
|
|
+const period = ref<'month' | 'quarter' | 'year'>('month')
|
|
|
|
|
+
|
|
|
|
|
+const summaryCards: SummaryCard[] = [
|
|
|
|
|
+ { title: '专家数量', value: 150, change: '1.0%', color: '#5d7dff' },
|
|
|
|
|
+ { title: '科研项目数量', value: 10, change: '0.0%', color: '#47d39b' },
|
|
|
|
|
+ { title: '核心技术', value: 8, change: '0.0%', color: '#ffb84d' },
|
|
|
|
|
+ { title: '专利', value: 18, change: '150.0%', color: '#4d96ff' },
|
|
|
|
|
+ { title: '论文', value: 28, change: '17.0%', color: '#a88cff' },
|
|
|
|
|
+ { title: '荣誉', value: 38, change: '100.0%', color: '#ff93dd' },
|
|
|
|
|
+ { title: '资料库', value: 3800, change: '100.0%', color: '#4bc7ff' }
|
|
|
|
|
+]
|
|
|
|
|
+
|
|
|
|
|
+const projectProgress: ProgressItem[] = [
|
|
|
|
|
+ { label: '审批中', value: 7, color: '#2e9f8c' },
|
|
|
|
|
+ { label: '生效中', value: 18, color: '#208d78' },
|
|
|
|
|
+ { label: '已验收', value: 12, color: '#2b6aa8' },
|
|
|
|
|
+ { label: '已终止', value: 2, color: '#9da8a1' },
|
|
|
|
|
+ { label: '延期', value: 5, color: '#cf4a4a' }
|
|
|
|
|
+]
|
|
|
|
|
+
|
|
|
|
|
+const projectDonutData = [
|
|
|
|
|
+ { name: '完工', value: 54, color: '#f35e5c' },
|
|
|
|
|
+ { name: '闲置', value: 28, color: '#8dd46c' },
|
|
|
|
|
+ { name: '施工', value: 5, color: '#5578d4' },
|
|
|
|
|
+ { name: '对接', value: 7, color: '#8f7cff' },
|
|
|
|
|
+ { name: '待修缮', value: 0, color: '#f2c04e' },
|
|
|
|
|
+ { name: '待分布', value: 2, color: '#4cc2c8' },
|
|
|
|
|
+ { name: '现场待命', value: 2, color: '#f08ac7' },
|
|
|
|
|
+ { name: '待管', value: 2, color: '#5fb96f' },
|
|
|
|
|
+ { name: '待建', value: 0, color: '#607ad8' }
|
|
|
|
|
+]
|
|
|
|
|
+
|
|
|
|
|
+const expertSeries = [
|
|
|
|
|
+ { name: '技术', value: 195 },
|
|
|
|
|
+ { name: '经营', value: 116 },
|
|
|
|
|
+ { name: '商务', value: 86 },
|
|
|
|
|
+ { name: '安全', value: 61 },
|
|
|
|
|
+ { name: '法务', value: 50 },
|
|
|
|
|
+ { name: '研发', value: 34 },
|
|
|
|
|
+ { name: '质量', value: 23 },
|
|
|
|
|
+ { name: '综合', value: 8 },
|
|
|
|
|
+ { name: '其他', value: 6 }
|
|
|
|
|
+]
|
|
|
|
|
+
|
|
|
|
|
+const budgetSeries = {
|
|
|
|
|
+ month: [
|
|
|
|
|
+ { date: '07-31', value: 61 },
|
|
|
|
|
+ { date: '08-01', value: 64 },
|
|
|
|
|
+ { date: '08-02', value: 63 },
|
|
|
|
|
+ { date: '08-03', value: 62 },
|
|
|
|
|
+ { date: '08-04', value: 60 },
|
|
|
|
|
+ { date: '08-05', value: 62 },
|
|
|
|
|
+ { date: '08-06', value: 62 }
|
|
|
|
|
+ ],
|
|
|
|
|
+ quarter: [
|
|
|
|
|
+ { date: '06-30', value: 58 },
|
|
|
|
|
+ { date: '07-15', value: 60 },
|
|
|
|
|
+ { date: '07-31', value: 61 },
|
|
|
|
|
+ { date: '08-10', value: 62 },
|
|
|
|
|
+ { date: '08-20', value: 63 },
|
|
|
|
|
+ { date: '08-30', value: 64 },
|
|
|
|
|
+ { date: '09-10', value: 63 }
|
|
|
|
|
+ ],
|
|
|
|
|
+ year: [
|
|
|
|
|
+ { date: '01', value: 57 },
|
|
|
|
|
+ { date: '03', value: 58 },
|
|
|
|
|
+ { date: '05', value: 59 },
|
|
|
|
|
+ { date: '07', value: 61 },
|
|
|
|
|
+ { date: '09', value: 62 },
|
|
|
|
|
+ { date: '11', value: 63 },
|
|
|
|
|
+ { date: '12', value: 64 }
|
|
|
|
|
+ ]
|
|
|
|
|
+} as const
|
|
|
|
|
+
|
|
|
|
|
+const donutRef = ref<HTMLDivElement | null>(null)
|
|
|
|
|
+const barRef = ref<HTMLDivElement | null>(null)
|
|
|
|
|
+const lineRef = ref<HTMLDivElement | null>(null)
|
|
|
|
|
+
|
|
|
|
|
+let donutChart: echarts.ECharts | null = null
|
|
|
|
|
+let barChart: echarts.ECharts | null = null
|
|
|
|
|
+let lineChart: echarts.ECharts | null = null
|
|
|
|
|
+
|
|
|
|
|
+function createDonutOption(): echarts.EChartsOption {
|
|
|
|
|
+ return {
|
|
|
|
|
+ grid: { left: 0, right: 0, top: 0, bottom: 0 },
|
|
|
|
|
+ tooltip: { trigger: 'item' },
|
|
|
|
|
+ legend: {
|
|
|
|
|
+ bottom: 0,
|
|
|
|
|
+ icon: 'rect',
|
|
|
|
|
+ itemWidth: 10,
|
|
|
|
|
+ itemHeight: 10,
|
|
|
|
|
+ textStyle: { color: '#5f6f88', fontSize: 12 }
|
|
|
|
|
+ },
|
|
|
|
|
+ series: [
|
|
|
|
|
+ {
|
|
|
|
|
+ type: 'pie',
|
|
|
|
|
+ radius: ['48%', '72%'],
|
|
|
|
|
+ center: ['50%', '48%'],
|
|
|
|
|
+ avoidLabelOverlap: false,
|
|
|
|
|
+ itemStyle: { borderRadius: 8, borderColor: 'transparent', borderWidth: 4 },
|
|
|
|
|
+ label: {
|
|
|
|
|
+ formatter: '{b|{b}} {c|{d}%}',
|
|
|
|
|
+ rich: {
|
|
|
|
|
+ b: { color: '#3e5575', fontWeight: 700, fontSize: 12 },
|
|
|
|
|
+ c: { color: '#3e5575', fontWeight: 700, fontSize: 12 }
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ labelLine: { length: 16, length2: 22 },
|
|
|
|
|
+ data: projectDonutData.map((item) => ({
|
|
|
|
|
+ value: item.value,
|
|
|
|
|
+ name: item.name,
|
|
|
|
|
+ itemStyle: { color: item.color }
|
|
|
|
|
+ }))
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+function createBarOption(): echarts.EChartsOption {
|
|
|
|
|
+ return {
|
|
|
|
|
+ grid: { left: 80, right: 20, top: 24, bottom: 10, containLabel: true },
|
|
|
|
|
+ tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } },
|
|
|
|
|
+ xAxis: {
|
|
|
|
|
+ type: 'value',
|
|
|
|
|
+ max: 200,
|
|
|
|
|
+ splitLine: { lineStyle: { color: 'rgba(127,153,200,0.2)' } },
|
|
|
|
|
+ axisLine: { show: false },
|
|
|
|
|
+ axisTick: { show: false },
|
|
|
|
|
+ axisLabel: { color: '#51637f' }
|
|
|
|
|
+ },
|
|
|
|
|
+ yAxis: {
|
|
|
|
|
+ type: 'category',
|
|
|
|
|
+ data: expertSeries.map((item) => item.name),
|
|
|
|
|
+ axisLine: { show: false },
|
|
|
|
|
+ axisTick: { show: false },
|
|
|
|
|
+ axisLabel: { color: '#e02828', fontWeight: 700 }
|
|
|
|
|
+ },
|
|
|
|
|
+ series: [
|
|
|
|
|
+ {
|
|
|
|
|
+ type: 'bar',
|
|
|
|
|
+ data: expertSeries.map((item) => item.value),
|
|
|
|
|
+ barWidth: 16,
|
|
|
|
|
+ itemStyle: {
|
|
|
|
|
+ borderRadius: [0, 12, 12, 0],
|
|
|
|
|
+ color: new echarts.graphic.LinearGradient(1, 0, 0, 0, [
|
|
|
|
|
+ { offset: 0, color: '#2f74e8' },
|
|
|
|
|
+ { offset: 1, color: '#7bb2ff' }
|
|
|
|
|
+ ])
|
|
|
|
|
+ },
|
|
|
|
|
+ label: {
|
|
|
|
|
+ show: true,
|
|
|
|
|
+ position: 'right',
|
|
|
|
|
+ color: '#2f74e8',
|
|
|
|
|
+ fontWeight: 700
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+function createLineOption(): echarts.EChartsOption {
|
|
|
|
|
+ const series = budgetSeries[period.value]
|
|
|
|
|
+ return {
|
|
|
|
|
+ grid: { left: 50, right: 24, top: 30, bottom: 30, containLabel: true },
|
|
|
|
|
+ tooltip: { trigger: 'axis' },
|
|
|
|
|
+ xAxis: {
|
|
|
|
|
+ type: 'category',
|
|
|
|
|
+ boundaryGap: false,
|
|
|
|
|
+ data: series.map((item) => item.date),
|
|
|
|
|
+ axisLine: { lineStyle: { color: 'rgba(127,153,200,0.4)' } },
|
|
|
|
|
+ axisTick: { show: false },
|
|
|
|
|
+ axisLabel: { color: '#5a6e89' }
|
|
|
|
|
+ },
|
|
|
|
|
+ yAxis: {
|
|
|
|
|
+ type: 'value',
|
|
|
|
|
+ min: 0,
|
|
|
|
|
+ max: 100,
|
|
|
|
|
+ splitLine: { lineStyle: { color: 'rgba(127,153,200,0.2)' } },
|
|
|
|
|
+ axisLabel: { color: '#5a6e89' }
|
|
|
|
|
+ },
|
|
|
|
|
+ series: [
|
|
|
|
|
+ {
|
|
|
|
|
+ type: 'line',
|
|
|
|
|
+ smooth: true,
|
|
|
|
|
+ symbol: 'circle',
|
|
|
|
|
+ symbolSize: 8,
|
|
|
|
|
+ lineStyle: { color: '#2e9e5f', width: 3 },
|
|
|
|
|
+ itemStyle: { color: '#2e9e5f' },
|
|
|
|
|
+ areaStyle: { color: 'rgba(46,158,95,0.14)' },
|
|
|
|
|
+ data: series.map((item) => item.value),
|
|
|
|
|
+ label: {
|
|
|
|
|
+ show: true,
|
|
|
|
|
+ position: 'top',
|
|
|
|
|
+ color: '#2e9e5f',
|
|
|
|
|
+ formatter: '{c}.00%'
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+function resizeCharts() {
|
|
|
|
|
+ donutChart?.resize()
|
|
|
|
|
+ barChart?.resize()
|
|
|
|
|
+ lineChart?.resize()
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+function initCharts() {
|
|
|
|
|
+ if (donutRef.value) {
|
|
|
|
|
+ donutChart?.dispose()
|
|
|
|
|
+ donutChart = echarts.init(donutRef.value)
|
|
|
|
|
+ donutChart.setOption(createDonutOption())
|
|
|
|
|
+ }
|
|
|
|
|
+ if (barRef.value) {
|
|
|
|
|
+ barChart?.dispose()
|
|
|
|
|
+ barChart = echarts.init(barRef.value)
|
|
|
|
|
+ barChart.setOption(createBarOption())
|
|
|
|
|
+ }
|
|
|
|
|
+ if (lineRef.value) {
|
|
|
|
|
+ lineChart?.dispose()
|
|
|
|
|
+ lineChart = echarts.init(lineRef.value)
|
|
|
|
|
+ lineChart.setOption(createLineOption())
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+watch(period, () => {
|
|
|
|
|
+ nextTick(() => {
|
|
|
|
|
+ lineChart?.setOption(createLineOption(), true)
|
|
|
|
|
+ })
|
|
|
|
|
+})
|
|
|
|
|
+
|
|
|
|
|
+onMounted(() => {
|
|
|
|
|
+ initCharts()
|
|
|
|
|
+ window.addEventListener('resize', resizeCharts)
|
|
|
|
|
+})
|
|
|
|
|
+
|
|
|
|
|
+onBeforeUnmount(() => {
|
|
|
|
|
+ window.removeEventListener('resize', resizeCharts)
|
|
|
|
|
+ donutChart?.dispose()
|
|
|
|
|
+ barChart?.dispose()
|
|
|
|
|
+ lineChart?.dispose()
|
|
|
|
|
+})
|
|
|
|
|
+</script>
|
|
|
|
|
+
|
|
|
<template>
|
|
<template>
|
|
|
- <div class="home-background">
|
|
|
|
|
- <div class="welcome-text"> 欢迎来到 </div>
|
|
|
|
|
|
|
+ <div class="research-board">
|
|
|
|
|
+ <div class="research-board__topbar">
|
|
|
|
|
+ <div class="research-board__title">技术研发</div>
|
|
|
|
|
+ <div class="research-board__tools">
|
|
|
|
|
+ <span>日期:</span>
|
|
|
|
|
+ <strong>{{ dateText }}</strong>
|
|
|
|
|
+ <button
|
|
|
|
|
+ class="tool-btn"
|
|
|
|
|
+ :class="{ 'is-active': period === 'month' }"
|
|
|
|
|
+ @click="period = 'month'"
|
|
|
|
|
+ >月度</button
|
|
|
|
|
+ >
|
|
|
|
|
+ <button
|
|
|
|
|
+ class="tool-btn"
|
|
|
|
|
+ :class="{ 'is-active': period === 'quarter' }"
|
|
|
|
|
+ @click="period = 'quarter'"
|
|
|
|
|
+ >季度</button
|
|
|
|
|
+ >
|
|
|
|
|
+ <button
|
|
|
|
|
+ class="tool-btn"
|
|
|
|
|
+ :class="{ 'is-active': period === 'year' }"
|
|
|
|
|
+ @click="period = 'year'"
|
|
|
|
|
+ >年度</button
|
|
|
|
|
+ >
|
|
|
|
|
+ <button class="tool-btn" @click="period = 'month'">初始化</button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <section class="panel summary-panel">
|
|
|
|
|
+ <div class="panel__head">
|
|
|
|
|
+ <h2><span>技术研发</span>概况</h2>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="summary-grid">
|
|
|
|
|
+ <div v-for="card in summaryCards" :key="card.title" class="summary-card">
|
|
|
|
|
+ <div class="summary-card__bar" :style="{ background: card.color }"></div>
|
|
|
|
|
+ <div class="summary-card__title">{{ card.title }}</div>
|
|
|
|
|
+ <div class="summary-card__row">
|
|
|
|
|
+ <span>月度累计:</span>
|
|
|
|
|
+ <strong>{{ card.value }}</strong>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="summary-card__row">
|
|
|
|
|
+ <span>环比变化:</span>
|
|
|
|
|
+ <strong>{{ card.change }} ↑</strong>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </section>
|
|
|
|
|
+
|
|
|
|
|
+ <section class="board-grid">
|
|
|
|
|
+ <div class="panel chart-panel">
|
|
|
|
|
+ <div class="panel__head"><h2>项目进度统计</h2></div>
|
|
|
|
|
+ <div ref="donutRef" class="chart-box"></div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <div class="panel chart-panel">
|
|
|
|
|
+ <div class="panel__head">
|
|
|
|
|
+ <h2>专家序列统计</h2>
|
|
|
|
|
+ <div class="tab-switch">
|
|
|
|
|
+ <span>梯队</span>
|
|
|
|
|
+ <span class="is-active">序列</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div ref="barRef" class="chart-box"></div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <div class="panel chart-panel">
|
|
|
|
|
+ <div class="panel__head">
|
|
|
|
|
+ <h2>预算费用</h2>
|
|
|
|
|
+ <div class="tab-switch">
|
|
|
|
|
+ <span :class="{ 'is-active': period === 'month' }" @click="period = 'month'"
|
|
|
|
|
+ >近一周</span
|
|
|
|
|
+ >
|
|
|
|
|
+ <span :class="{ 'is-active': period === 'quarter' }" @click="period = 'quarter'"
|
|
|
|
|
+ >近六个月</span
|
|
|
|
|
+ >
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div ref="lineRef" class="chart-box"></div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </section>
|
|
|
|
|
+
|
|
|
|
|
+ <section class="panel progress-panel">
|
|
|
|
|
+ <div class="panel__head">
|
|
|
|
|
+ <h2>项目组合进展</h2>
|
|
|
|
|
+ <button class="filter-btn">按部门筛选</button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="progress-list">
|
|
|
|
|
+ <div v-for="item in projectProgress" :key="item.label" class="progress-item">
|
|
|
|
|
+ <span class="progress-item__label">{{ item.label }}</span>
|
|
|
|
|
+ <div class="progress-item__track">
|
|
|
|
|
+ <div
|
|
|
|
|
+ class="progress-item__bar"
|
|
|
|
|
+ :style="{ width: `${item.value * 5}%`, background: item.color }"
|
|
|
|
|
+ ></div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <span class="progress-item__value">{{ item.value }}</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </section>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
-<script lang="ts" setup></script>
|
|
|
|
|
-<style scoped>
|
|
|
|
|
-.home-background {
|
|
|
|
|
- background-image: url('../../assets//imgs/bg.jpg'); /* 假设图片放在 assets 目录下 */
|
|
|
|
|
- background-size: cover;
|
|
|
|
|
- background-position: center;
|
|
|
|
|
- background-repeat: no-repeat;
|
|
|
|
|
- height: 100vh;
|
|
|
|
|
- display: flex;
|
|
|
|
|
- /* align-items: center;
|
|
|
|
|
- justify-content: center; */
|
|
|
|
|
- color: white;
|
|
|
|
|
- font-size: 2rem;
|
|
|
|
|
- font-weight: bold;
|
|
|
|
|
- text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
|
|
|
|
|
|
|
+
|
|
|
|
|
+<style scoped lang="scss">
|
|
|
|
|
+.research-board {
|
|
|
|
|
+ min-height: 100vh;
|
|
|
|
|
+ padding: 14px 18px 20px;
|
|
|
|
|
+ background: radial-gradient(
|
|
|
|
|
+ circle at top,
|
|
|
|
|
+ rgba(255, 255, 255, 0.8),
|
|
|
|
|
+ rgba(193, 219, 255, 0.22) 38%,
|
|
|
|
|
+ rgba(176, 205, 244, 0.1) 70%
|
|
|
|
|
+ ),
|
|
|
|
|
+ linear-gradient(180deg, #d8e8fb 0%, #edf4fd 100%);
|
|
|
|
|
+ color: #28415f;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.research-board__topbar {
|
|
|
position: relative;
|
|
position: relative;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ padding: 0 8px 14px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.research-board__title {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ max-width: 420px;
|
|
|
|
|
+ margin: 0 auto;
|
|
|
|
|
+ padding: 10px 28px;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ font-size: 28px;
|
|
|
|
|
+ font-weight: 800;
|
|
|
|
|
+ color: #c31b1b;
|
|
|
|
|
+ background: linear-gradient(180deg, #f6fbff, #8cb9f5 55%, #4f88d7);
|
|
|
|
|
+ border-radius: 0 0 30px 30px;
|
|
|
|
|
+ box-shadow: 0 8px 20px rgba(65, 109, 176, 0.22);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.home-background::before {
|
|
|
|
|
- content: '';
|
|
|
|
|
|
|
+.research-board__tools {
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
- top: 0;
|
|
|
|
|
- left: 0;
|
|
|
|
|
- right: 0;
|
|
|
|
|
- bottom: 0;
|
|
|
|
|
|
|
+ right: 28px;
|
|
|
|
|
+ top: 24px;
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 10px;
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ font-weight: 600;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.tool-btn,
|
|
|
|
|
+.filter-btn,
|
|
|
|
|
+.tab-switch span {
|
|
|
|
|
+ border: 1px solid rgba(132, 167, 224, 0.45);
|
|
|
|
|
+ background: rgba(255, 255, 255, 0.8);
|
|
|
|
|
+ color: #405a7b;
|
|
|
|
|
+ border-radius: 18px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.tool-btn {
|
|
|
|
|
+ padding: 6px 14px;
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.panel {
|
|
|
|
|
+ background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(225, 236, 250, 0.78));
|
|
|
|
|
+ border: 1px solid rgba(255, 255, 255, 0.9);
|
|
|
|
|
+ border-radius: 18px;
|
|
|
|
|
+ box-shadow:
|
|
|
|
|
+ inset 0 1px 0 rgba(255, 255, 255, 0.8),
|
|
|
|
|
+ 0 10px 24px rgba(86, 118, 170, 0.12);
|
|
|
|
|
+}
|
|
|
|
|
|
|
|
- z-index: 1;
|
|
|
|
|
|
|
+.summary-panel,
|
|
|
|
|
+.progress-panel {
|
|
|
|
|
+ margin-top: 10px;
|
|
|
|
|
+ padding: 14px 16px 18px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-.home-background .welcome-text {
|
|
|
|
|
|
|
+.panel__head {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ padding: 0 2px 12px;
|
|
|
|
|
+ border-bottom: 1px solid rgba(109, 139, 190, 0.26);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.panel__head h2 {
|
|
|
|
|
+ margin: 0;
|
|
|
|
|
+ font-size: 22px;
|
|
|
|
|
+ font-weight: 800;
|
|
|
|
|
+ color: #1c4d93;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.panel__head h2 span {
|
|
|
|
|
+ color: #ef1f1f;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.summary-grid {
|
|
|
|
|
+ display: grid;
|
|
|
|
|
+ grid-template-columns: repeat(7, minmax(0, 1fr));
|
|
|
|
|
+ gap: 12px;
|
|
|
|
|
+ margin-top: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.summary-card {
|
|
|
position: relative;
|
|
position: relative;
|
|
|
- z-index: 2;
|
|
|
|
|
- text-align: center;
|
|
|
|
|
- color: #00195f;
|
|
|
|
|
- margin-top: 40vh;
|
|
|
|
|
- margin-left: 50%;
|
|
|
|
|
|
|
+ padding: 18px 16px 16px 22px;
|
|
|
|
|
+ min-height: 130px;
|
|
|
|
|
+ border-radius: 18px;
|
|
|
|
|
+ background: rgba(255, 255, 255, 0.4);
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.summary-card__bar {
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ left: 12px;
|
|
|
|
|
+ top: 18px;
|
|
|
|
|
+ width: 4px;
|
|
|
|
|
+ height: 46px;
|
|
|
|
|
+ border-radius: 3px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.summary-card__title {
|
|
|
|
|
+ color: #f32b1f;
|
|
|
|
|
+ font-size: 18px;
|
|
|
|
|
+ font-weight: 800;
|
|
|
|
|
+ margin-left: 10px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.summary-card__row {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: space-between;
|
|
|
|
|
+ margin-top: 14px;
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+ color: #18314f;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.summary-card__row strong {
|
|
|
|
|
+ color: #f23022;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.board-grid {
|
|
|
|
|
+ display: grid;
|
|
|
|
|
+ grid-template-columns: 1fr 1.15fr 1fr;
|
|
|
|
|
+ gap: 12px;
|
|
|
|
|
+ margin-top: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.chart-panel {
|
|
|
|
|
+ padding: 14px 14px 10px;
|
|
|
|
|
+ min-height: 420px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.chart-box {
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ height: 350px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.tab-switch {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ gap: 8px;
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.tab-switch span {
|
|
|
|
|
+ padding: 5px 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.tab-switch .is-active {
|
|
|
|
|
+ background: #fff;
|
|
|
|
|
+ color: #1c5cc0;
|
|
|
|
|
+ box-shadow: inset 0 -3px 0 #1c5cc0;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.progress-panel {
|
|
|
|
|
+ margin-top: 12px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.filter-btn {
|
|
|
|
|
+ padding: 8px 18px;
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.progress-list {
|
|
|
|
|
+ padding: 22px 6px 6px;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.progress-item {
|
|
|
|
|
+ display: grid;
|
|
|
|
|
+ grid-template-columns: 100px 1fr 36px;
|
|
|
|
|
+ align-items: center;
|
|
|
|
|
+ gap: 14px;
|
|
|
|
|
+ margin-bottom: 16px;
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ font-weight: 700;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.progress-item__track {
|
|
|
|
|
+ height: 10px;
|
|
|
|
|
+ border-radius: 999px;
|
|
|
|
|
+ background: #e4ece7;
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.progress-item__bar {
|
|
|
|
|
+ height: 100%;
|
|
|
|
|
+ border-radius: inherit;
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+.progress-item__value {
|
|
|
|
|
+ text-align: right;
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|