2024-04-26 09:10:09 +00:00
|
|
|
<template>
|
|
|
|
<div class="big-screen">
|
|
|
|
<header class="item item1">
|
|
|
|
<h1>云舒心理健康云平台</h1>
|
|
|
|
<div class="showTime">{{ showTime }}</div>
|
|
|
|
</header>
|
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
<div class="main-box">
|
|
|
|
<div class="item-left">
|
|
|
|
<div class="item-left-1 boxall">
|
2024-05-09 06:01:15 +00:00
|
|
|
<div class="alltitle">量表使用统计</div>
|
2024-05-06 07:06:48 +00:00
|
|
|
<div class="boxnav">
|
|
|
|
<v-chart :option="leftBar1Option" autoresize />
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-04-26 09:10:09 +00:00
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
<div class="item-left-2 boxall">
|
2024-05-09 06:01:15 +00:00
|
|
|
<div class="alltitle">年级统计</div>
|
2024-05-06 07:06:48 +00:00
|
|
|
<div class="boxnav">
|
|
|
|
<v-chart :option="leftBar2Option" autoresize />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-04-26 09:10:09 +00:00
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
<div class="item-center">
|
|
|
|
<div class="item-center-1 boxall">
|
|
|
|
<div class="alltitle">数据统计</div>
|
|
|
|
<div class="no">
|
|
|
|
<div class="no-hd">
|
|
|
|
<ul>
|
2024-05-09 06:01:15 +00:00
|
|
|
<li>{{ userNum }}</li>
|
|
|
|
<li>{{ evaluationNum }}</li>
|
|
|
|
<li>{{ warnNum }}</li>
|
|
|
|
<li>{{ interveneNum }}</li>
|
2024-05-06 07:06:48 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="no-bd">
|
|
|
|
<ul>
|
2024-05-09 06:01:15 +00:00
|
|
|
<li>总用户数</li>
|
|
|
|
<li>总测评数</li>
|
|
|
|
<li>总预警数</li>
|
|
|
|
<li>总干预数</li>
|
2024-05-06 07:06:48 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-04-26 09:10:09 +00:00
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
<div class="item-center-2 boxall">
|
2024-05-10 01:35:59 +00:00
|
|
|
<div class="alltitle">风险统计</div>
|
2024-05-06 07:06:48 +00:00
|
|
|
<div class="boxnav">
|
|
|
|
<v-chart :option="centerBar1Option" autoresize />
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-04-26 09:10:09 +00:00
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
<div class="item-center-2 boxall">
|
2024-05-10 01:35:59 +00:00
|
|
|
<div class="alltitle">近12月测评数统计</div>
|
2024-05-06 07:06:48 +00:00
|
|
|
<div class="boxnav">
|
|
|
|
<v-chart :option="centerLine2Option" autoresize />
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-04-29 03:04:56 +00:00
|
|
|
</div>
|
2024-04-26 09:10:09 +00:00
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
<div class="item-right">
|
|
|
|
<div class="item-right-2 boxall">
|
2024-05-10 01:35:59 +00:00
|
|
|
<div class="alltitle">最新测评数据</div>
|
2024-05-06 07:06:48 +00:00
|
|
|
<div class="boxnav">
|
2024-05-08 06:00:09 +00:00
|
|
|
<div class="item-th">
|
2024-05-10 01:35:59 +00:00
|
|
|
<span>场次名称</span>
|
|
|
|
<span>完成数量</span>
|
|
|
|
<span>时间</span>
|
2024-05-08 06:00:09 +00:00
|
|
|
</div>
|
|
|
|
<vue3-seamless-scroll :list="list" class="scroll">
|
|
|
|
<div class="item" v-for="(item, index) in list" :key="index">
|
2024-05-10 01:35:59 +00:00
|
|
|
<span>{{ item.sessionName }}</span>
|
|
|
|
<span>{{ item.value }} / {{ item.total }}</span>
|
|
|
|
<span>{{ item.expireTime }}</span>
|
2024-05-08 06:00:09 +00:00
|
|
|
</div>
|
|
|
|
</vue3-seamless-scroll>
|
|
|
|
<!-- <table border="0" cellspacing="0">
|
2024-05-06 07:06:48 +00:00
|
|
|
<tr>
|
2024-05-08 06:00:09 +00:00
|
|
|
<th>字段</th>
|
2024-05-06 07:06:48 +00:00
|
|
|
<th>字段</th>
|
|
|
|
<th>字段</th>
|
|
|
|
<th>字段</th>
|
|
|
|
<th>字段</th>
|
2024-04-26 09:10:09 +00:00
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>字段</th>
|
|
|
|
<td>8098</td>
|
|
|
|
<td>19.80%</td>
|
|
|
|
<td>22</td>
|
|
|
|
<td>368</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>字段</th>
|
|
|
|
<td>7506</td>
|
|
|
|
<td>6.70%</td>
|
|
|
|
<td>22</td>
|
|
|
|
<td>339</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>字段</th>
|
|
|
|
<td>3261</td>
|
|
|
|
<td>32.30%</td>
|
|
|
|
<td>10</td>
|
|
|
|
<td>325.7</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>字段</th>
|
|
|
|
<td>1993</td>
|
|
|
|
<td> 201%</td>
|
|
|
|
<td>10</td>
|
|
|
|
<td> 199</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>字段</th>
|
|
|
|
<td>1993</td>
|
|
|
|
<td> 201%</td>
|
|
|
|
<td>10</td>
|
|
|
|
<td> 199</td>
|
|
|
|
</tr>
|
2024-05-08 06:00:09 +00:00
|
|
|
</table> -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="item-right-1 boxall">
|
2024-05-10 01:35:59 +00:00
|
|
|
<div class="alltitle">预警干预统计</div>
|
2024-05-08 06:00:09 +00:00
|
|
|
<div class="boxnav">
|
|
|
|
<v-chart :option="rightBar1Option" autoresize />
|
2024-05-06 07:06:48 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="item-right-2 boxall">
|
2024-05-09 06:01:15 +00:00
|
|
|
<div class="alltitle">预警统计</div>
|
2024-05-06 07:06:48 +00:00
|
|
|
<div class="boxnav">
|
|
|
|
<v-chart :option="rightPie2Option" autoresize />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-04-26 09:10:09 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts" setup>
|
|
|
|
import { ref } from 'vue'
|
2024-05-08 06:00:09 +00:00
|
|
|
import { Vue3SeamlessScroll } from "vue3-seamless-scroll";
|
2024-04-26 09:10:09 +00:00
|
|
|
import '@/utils/flexible'
|
|
|
|
import * as echarts from 'echarts';
|
|
|
|
import { use } from 'echarts/core'
|
|
|
|
import { CanvasRenderer } from "echarts/renderers";
|
|
|
|
import { PieChart, BarChart } from "echarts/charts";
|
|
|
|
import { TitleComponent, TooltipComponent, LegendComponent, GridComponent } from "echarts/components";
|
|
|
|
import VChart from 'vue-echarts'
|
|
|
|
|
2024-05-10 01:35:59 +00:00
|
|
|
import { getUserNum, getEvaluationNum, getWarnNum, getInterveneNum, getWarn4All, getPublishNum, getGrade, getConclusion, getMonthEvaluation, getPublish, getHalfMonth } from '@/api/index'
|
2024-05-09 06:01:15 +00:00
|
|
|
|
2024-04-26 09:10:09 +00:00
|
|
|
use([
|
|
|
|
CanvasRenderer,
|
|
|
|
PieChart,
|
|
|
|
BarChart,
|
|
|
|
TitleComponent,
|
|
|
|
TooltipComponent,
|
|
|
|
LegendComponent,
|
|
|
|
GridComponent
|
|
|
|
]);
|
|
|
|
|
|
|
|
let showTime = ref('')
|
|
|
|
let timer: any = null
|
|
|
|
|
|
|
|
function time() {
|
|
|
|
let dt = new Date();
|
|
|
|
let y = dt.getFullYear();
|
|
|
|
let mt = dt.getMonth() + 1;
|
|
|
|
let day = dt.getDate();
|
|
|
|
let h = dt.getHours();//获取时
|
|
|
|
let m = dt.getMinutes();//获取分
|
|
|
|
let s = dt.getSeconds();//获取秒
|
|
|
|
showTime.value = y + "年" + mt + "月" + day + "日" + h + "时" + m + "分" + s + "秒";
|
|
|
|
}
|
|
|
|
|
2024-05-10 01:35:59 +00:00
|
|
|
const list = ref([])
|
|
|
|
async function getPublishData() {
|
|
|
|
const res = await getPublish()
|
|
|
|
list.value = res.data
|
|
|
|
}
|
2024-04-29 03:04:56 +00:00
|
|
|
|
2024-05-09 06:01:15 +00:00
|
|
|
const userNum = ref(0)
|
|
|
|
async function getUserNumData() {
|
|
|
|
const res = await getUserNum()
|
|
|
|
userNum.value = res.data
|
|
|
|
}
|
|
|
|
|
|
|
|
const evaluationNum = ref(0)
|
|
|
|
async function getEvaluationNumData() {
|
|
|
|
const res = await getEvaluationNum()
|
|
|
|
evaluationNum.value = res.data
|
|
|
|
}
|
|
|
|
|
|
|
|
const warnNum = ref(0)
|
|
|
|
async function getWarnNumData() {
|
|
|
|
const res = await getWarnNum()
|
|
|
|
warnNum.value = res.data
|
|
|
|
}
|
|
|
|
|
|
|
|
const interveneNum = ref(0)
|
|
|
|
async function getInterveneNumData() {
|
|
|
|
const res = await getInterveneNum()
|
|
|
|
interveneNum.value = res.data
|
|
|
|
}
|
|
|
|
|
2024-04-26 09:10:09 +00:00
|
|
|
onMounted(() => {
|
|
|
|
time()
|
|
|
|
|
|
|
|
timer = setInterval(time, 1000);
|
2024-05-09 06:01:15 +00:00
|
|
|
|
|
|
|
getUserNumData()
|
|
|
|
getEvaluationNumData()
|
|
|
|
getWarnNumData()
|
|
|
|
getInterveneNumData()
|
|
|
|
|
|
|
|
getPublishNumData()
|
|
|
|
getGradeData()
|
|
|
|
getWarn4AllData()
|
2024-05-10 01:35:59 +00:00
|
|
|
getConclusionData()
|
|
|
|
getMonthEvaluationData()
|
|
|
|
getPublishData()
|
|
|
|
getHalfMonthData()
|
2024-04-26 09:10:09 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
onBeforeUnmount(() => {
|
|
|
|
clearInterval(timer);
|
|
|
|
});
|
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
const leftBar1Option = ref({
|
|
|
|
grid: {
|
|
|
|
left: '2%',
|
|
|
|
top: '1%',
|
2024-05-09 06:01:15 +00:00
|
|
|
right: '7%',
|
2024-05-06 07:06:48 +00:00
|
|
|
bottom: '0%',
|
|
|
|
containLabel: true
|
|
|
|
},
|
|
|
|
xAxis: [{
|
|
|
|
show: false,
|
|
|
|
}],
|
|
|
|
yAxis: [{
|
|
|
|
axisTick: 'none',
|
|
|
|
axisLine: 'none',
|
|
|
|
offset: '7',
|
|
|
|
axisLabel: {
|
|
|
|
textStyle: {
|
|
|
|
color: 'rgba(255,255,255,.6)',
|
|
|
|
fontSize: '14',
|
|
|
|
}
|
|
|
|
},
|
2024-05-09 06:01:15 +00:00
|
|
|
data: []
|
2024-05-06 07:06:48 +00:00
|
|
|
}],
|
|
|
|
series: [{
|
2024-05-09 06:01:15 +00:00
|
|
|
name: '量表使用统计',
|
2024-05-06 07:06:48 +00:00
|
|
|
type: 'bar',
|
|
|
|
yAxisIndex: 0,
|
2024-05-09 06:01:15 +00:00
|
|
|
data: [],
|
2024-05-06 07:06:48 +00:00
|
|
|
label: {
|
|
|
|
normal: {
|
|
|
|
show: true,
|
|
|
|
position: 'right',
|
|
|
|
textStyle: {
|
|
|
|
color: 'rgba(255,255,255,.8)',
|
|
|
|
fontSize: '12',
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
barWidth: 15,
|
|
|
|
itemStyle: {
|
|
|
|
normal: {
|
|
|
|
color: new echarts.graphic.LinearGradient(1, 0, 0, 0, [{
|
|
|
|
offset: 0,
|
|
|
|
color: '#03c893'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
offset: 1,
|
|
|
|
color: '#0091ff'
|
|
|
|
}
|
|
|
|
]),
|
|
|
|
barBorderRadius: 15,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
z: 2
|
|
|
|
}]
|
|
|
|
});
|
|
|
|
|
2024-05-09 06:01:15 +00:00
|
|
|
async function getPublishNumData() {
|
|
|
|
const res = await getPublishNum()
|
|
|
|
let yAxisData: any[] = []
|
|
|
|
let data: any[] = []
|
|
|
|
res.data.forEach((v: any) => {
|
|
|
|
yAxisData.push(v.name)
|
|
|
|
data.push(v.value)
|
|
|
|
});
|
|
|
|
|
|
|
|
leftBar1Option.value.yAxis[0].data = yAxisData
|
|
|
|
leftBar1Option.value.series[0].data = data
|
|
|
|
}
|
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
const leftBar2Option = ref({
|
2024-04-26 09:10:09 +00:00
|
|
|
tooltip: {
|
2024-05-06 07:06:48 +00:00
|
|
|
trigger: 'axis',
|
|
|
|
axisPointer: { // 坐标轴指示器,坐标轴触发有效
|
|
|
|
type: 'shadow' // 默认为直线,可选为:'line' | 'shadow'
|
|
|
|
}
|
2024-04-26 09:10:09 +00:00
|
|
|
},
|
|
|
|
legend: {
|
2024-05-09 06:01:15 +00:00
|
|
|
data: ['发布数', '测评数'],
|
2024-05-06 07:06:48 +00:00
|
|
|
right: 'center',
|
|
|
|
top: 0,
|
2024-04-26 09:10:09 +00:00
|
|
|
textStyle: {
|
2024-05-06 07:06:48 +00:00
|
|
|
color: "#fff"
|
2024-04-26 09:10:09 +00:00
|
|
|
},
|
2024-05-06 07:06:48 +00:00
|
|
|
itemWidth: 12,
|
|
|
|
itemHeight: 10,
|
|
|
|
// itemGap: 35
|
2024-04-26 09:10:09 +00:00
|
|
|
},
|
2024-05-06 07:06:48 +00:00
|
|
|
grid: {
|
|
|
|
left: '0',
|
|
|
|
right: '20',
|
|
|
|
bottom: '0',
|
|
|
|
top: '15%',
|
|
|
|
containLabel: true
|
|
|
|
},
|
|
|
|
xAxis: {
|
|
|
|
type: 'category',
|
2024-05-09 06:01:15 +00:00
|
|
|
data: [],
|
2024-05-06 07:06:48 +00:00
|
|
|
axisLine: {
|
|
|
|
lineStyle: {
|
|
|
|
color: 'white'
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
axisLabel: {
|
|
|
|
//rotate:-90,
|
|
|
|
formatter: function (value: any) { return value.split("").join("\n"); },
|
|
|
|
textStyle: {
|
|
|
|
color: "rgba(255,255,255,.6)",
|
|
|
|
fontSize: 14,
|
|
|
|
},
|
|
|
|
lineStyle: {
|
|
|
|
color: 'rgba(255,255,255,0.3)'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
yAxis: {
|
|
|
|
type: 'value',
|
|
|
|
splitNumber: 4,
|
|
|
|
axisTick: { show: false },
|
|
|
|
splitLine: {
|
|
|
|
show: true,
|
|
|
|
lineStyle: {
|
|
|
|
color: 'rgba(255,255,255,0.1)'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
axisLabel: {
|
|
|
|
textStyle: {
|
|
|
|
color: "rgba(255,255,255,.6)",
|
|
|
|
fontSize: 14,
|
|
|
|
}
|
|
|
|
},
|
|
|
|
axisLine: { show: false },
|
|
|
|
},
|
|
|
|
|
2024-05-09 06:01:15 +00:00
|
|
|
series: []
|
2024-05-06 07:06:48 +00:00
|
|
|
})
|
|
|
|
|
2024-05-09 06:01:15 +00:00
|
|
|
async function getGradeData() {
|
|
|
|
const res = await getGrade()
|
|
|
|
let xAxisData: any[] = []
|
|
|
|
let seriesPublishData: any[] = []
|
|
|
|
let seriesEvaluationData: any[] = []
|
|
|
|
|
|
|
|
res.data.forEach((v: any) => {
|
|
|
|
xAxisData.push(v.name)
|
|
|
|
seriesPublishData.push(v.value)
|
|
|
|
seriesEvaluationData.push(v.spareValue)
|
|
|
|
});
|
|
|
|
|
|
|
|
const seriesData = [{ name: '发布数', data: seriesPublishData, type: 'bar' }, { name: '测评数', data: seriesEvaluationData, type: 'bar' }]
|
|
|
|
leftBar2Option.value.xAxis.data = xAxisData
|
|
|
|
leftBar2Option.value.series = seriesData
|
|
|
|
}
|
2024-05-06 07:06:48 +00:00
|
|
|
|
|
|
|
const centerBar1Option = ref({
|
|
|
|
tooltip: {
|
|
|
|
trigger: 'axis',
|
|
|
|
axisPointer: { type: 'shadow' },
|
2024-05-10 01:35:59 +00:00
|
|
|
},
|
|
|
|
grid: {
|
|
|
|
top: "20%",
|
|
|
|
right: "50",
|
|
|
|
bottom: "20",
|
|
|
|
left: "30",
|
2024-05-06 07:06:48 +00:00
|
|
|
},
|
|
|
|
legend: {
|
2024-05-10 01:35:59 +00:00
|
|
|
data: [],
|
|
|
|
right: 'center',
|
|
|
|
width: '100%',
|
2024-05-06 07:06:48 +00:00
|
|
|
textStyle: {
|
|
|
|
color: "#fff"
|
|
|
|
},
|
|
|
|
itemWidth: 12,
|
|
|
|
itemHeight: 10,
|
|
|
|
},
|
2024-05-10 01:35:59 +00:00
|
|
|
xAxis: [
|
2024-04-26 09:10:09 +00:00
|
|
|
{
|
2024-05-10 01:35:59 +00:00
|
|
|
type: "category",
|
|
|
|
data: [],
|
2024-05-06 07:06:48 +00:00
|
|
|
axisLine: { lineStyle: { color: "rgba(255,255,255,.1)" } },
|
|
|
|
axisLabel: {
|
|
|
|
textStyle: { color: "rgba(255,255,255,.7)", fontSize: '14', },
|
2024-04-26 09:10:09 +00:00
|
|
|
},
|
2024-05-06 07:06:48 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
"yAxis": [
|
|
|
|
{
|
|
|
|
"type": "value",
|
2024-05-10 01:35:59 +00:00
|
|
|
"name": "",
|
2024-05-06 07:06:48 +00:00
|
|
|
axisTick: { show: false },
|
|
|
|
splitLine: {
|
2024-04-26 09:10:09 +00:00
|
|
|
show: false,
|
2024-05-06 07:06:48 +00:00
|
|
|
|
2024-04-26 09:10:09 +00:00
|
|
|
},
|
2024-05-06 07:06:48 +00:00
|
|
|
"axisLabel": {
|
|
|
|
"show": true,
|
|
|
|
fontSize: 14,
|
|
|
|
color: "rgba(255,255,255,.6)"
|
|
|
|
|
|
|
|
},
|
|
|
|
axisLine: {
|
|
|
|
min: 0,
|
|
|
|
lineStyle: { color: 'rgba(255,255,255,.1)' }
|
|
|
|
},//左线色
|
|
|
|
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "value",
|
2024-05-10 01:35:59 +00:00
|
|
|
"name": "",
|
2024-05-06 07:06:48 +00:00
|
|
|
"show": true,
|
|
|
|
"axisLabel": {
|
|
|
|
"show": true,
|
|
|
|
fontSize: 14,
|
|
|
|
color: "rgba(255,255,255,.6)"
|
|
|
|
},
|
|
|
|
axisTick: { show: false },
|
|
|
|
axisLine: { lineStyle: { color: 'rgba(255,255,255,.1)' } },//右线色
|
|
|
|
splitLine: { show: true, lineStyle: { color: 'rgba(255,255,255,.1)' } },//x轴线
|
|
|
|
},
|
|
|
|
],
|
|
|
|
"series": [
|
|
|
|
{
|
2024-05-10 01:35:59 +00:00
|
|
|
"name": "未见异常",
|
2024-05-06 07:06:48 +00:00
|
|
|
"type": "bar",
|
2024-05-10 01:35:59 +00:00
|
|
|
"data": [],
|
2024-05-06 07:06:48 +00:00
|
|
|
"barWidth": "15%",
|
|
|
|
"itemStyle": {
|
|
|
|
"normal": {
|
|
|
|
barBorderRadius: 15,
|
|
|
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
|
|
|
offset: 0,
|
|
|
|
color: '#8bd46e'
|
|
|
|
}, {
|
|
|
|
offset: 1,
|
|
|
|
color: '#09bcb7'
|
|
|
|
}]),
|
2024-04-26 09:10:09 +00:00
|
|
|
}
|
|
|
|
},
|
2024-05-06 07:06:48 +00:00
|
|
|
"barGap": "0.2"
|
|
|
|
},
|
|
|
|
{
|
2024-05-10 01:35:59 +00:00
|
|
|
"name": "低风险",
|
2024-05-06 07:06:48 +00:00
|
|
|
"type": "bar",
|
2024-05-10 01:35:59 +00:00
|
|
|
"data": [],
|
2024-05-06 07:06:48 +00:00
|
|
|
"barWidth": "15%",
|
|
|
|
"itemStyle": {
|
|
|
|
"normal": {
|
|
|
|
barBorderRadius: 15,
|
|
|
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
|
|
|
offset: 0,
|
|
|
|
color: '#248ff7'
|
|
|
|
}, {
|
|
|
|
offset: 1,
|
|
|
|
color: '#6851f1'
|
|
|
|
}]),
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"barGap": "0.2"
|
|
|
|
},
|
|
|
|
{
|
2024-05-10 01:35:59 +00:00
|
|
|
"name": "中风险",
|
2024-05-06 07:06:48 +00:00
|
|
|
"type": "bar",
|
2024-05-10 01:35:59 +00:00
|
|
|
"data": [],
|
2024-05-06 07:06:48 +00:00
|
|
|
"barWidth": "15%",
|
|
|
|
"itemStyle": {
|
|
|
|
"normal": {
|
|
|
|
barBorderRadius: 15,
|
|
|
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
|
|
|
offset: 0,
|
|
|
|
color: '#fccb05'
|
|
|
|
}, {
|
|
|
|
offset: 1,
|
|
|
|
color: '#f5804d'
|
|
|
|
}]),
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"barGap": "0.2"
|
|
|
|
},
|
|
|
|
{
|
2024-05-10 01:35:59 +00:00
|
|
|
"name": "高风险",
|
2024-05-06 07:06:48 +00:00
|
|
|
"type": "line",
|
|
|
|
smooth: true,
|
|
|
|
"yAxisIndex": 1,
|
2024-05-10 01:35:59 +00:00
|
|
|
"data": [],
|
2024-05-06 07:06:48 +00:00
|
|
|
lineStyle: {
|
|
|
|
normal: {
|
|
|
|
width: 2
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"itemStyle": {
|
|
|
|
"normal": {
|
|
|
|
"color": "#86d370",
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
}
|
|
|
|
,
|
|
|
|
{
|
2024-05-10 01:35:59 +00:00
|
|
|
"name": "重大风险",
|
2024-05-06 07:06:48 +00:00
|
|
|
"type": "line",
|
|
|
|
"yAxisIndex": 1,
|
|
|
|
|
2024-05-10 01:35:59 +00:00
|
|
|
"data": [],
|
2024-05-06 07:06:48 +00:00
|
|
|
lineStyle: {
|
|
|
|
normal: {
|
|
|
|
width: 2
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"itemStyle": {
|
|
|
|
"normal": {
|
|
|
|
"color": "#3496f8",
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"smooth": true
|
2024-04-26 09:10:09 +00:00
|
|
|
}
|
|
|
|
]
|
2024-05-06 07:06:48 +00:00
|
|
|
})
|
2024-04-26 09:10:09 +00:00
|
|
|
|
2024-05-10 01:35:59 +00:00
|
|
|
async function getConclusionData() {
|
|
|
|
const res = await getConclusion()
|
|
|
|
let noneNum: any[] = []
|
|
|
|
let lowNum: any[] = []
|
|
|
|
let middleNum: any[] = []
|
|
|
|
let highNum: any[] = []
|
|
|
|
let majorNum: any[] = []
|
|
|
|
let xAxisData: any[] = []
|
|
|
|
|
|
|
|
res.data.forEach(v => {
|
|
|
|
xAxisData.push(v.name)
|
|
|
|
|
|
|
|
noneNum.push(v.noneNum)
|
|
|
|
lowNum.push(v.lowNum)
|
|
|
|
middleNum.push(v.middleNum)
|
|
|
|
highNum.push(v.highNum)
|
|
|
|
majorNum.push(v.majorNum)
|
|
|
|
})
|
|
|
|
|
|
|
|
let categoryData = ['未见异常', '低风险', '中风险', '高风险', '重大风险']
|
|
|
|
|
|
|
|
centerBar1Option.value.legend.data = categoryData
|
|
|
|
centerBar1Option.value.xAxis[0].data = xAxisData
|
|
|
|
centerBar1Option.value.series[0].data = noneNum
|
|
|
|
centerBar1Option.value.series[1].data = lowNum
|
|
|
|
centerBar1Option.value.series[2].data = middleNum
|
|
|
|
centerBar1Option.value.series[3].data = highNum
|
|
|
|
centerBar1Option.value.series[4].data = majorNum
|
|
|
|
}
|
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
const centerLine2Option = ref({
|
2024-04-26 09:10:09 +00:00
|
|
|
tooltip: {
|
|
|
|
trigger: 'axis',
|
2024-05-06 07:06:48 +00:00
|
|
|
axisPointer: { type: 'shadow' },
|
|
|
|
// formatter:'{c}' ,
|
2024-04-26 09:10:09 +00:00
|
|
|
},
|
|
|
|
grid: {
|
2024-05-06 07:06:48 +00:00
|
|
|
left: '0',
|
|
|
|
top: '30',
|
|
|
|
right: '10',
|
2024-05-10 01:35:59 +00:00
|
|
|
bottom: '20',
|
2024-04-26 09:10:09 +00:00
|
|
|
containLabel: true
|
|
|
|
},
|
2024-05-10 01:35:59 +00:00
|
|
|
// legend: {
|
|
|
|
// data: ['字段1', '字段2'],
|
|
|
|
// right: 'center',
|
|
|
|
// top: 0,
|
|
|
|
// textStyle: {
|
|
|
|
// color: "#fff"
|
|
|
|
// },
|
|
|
|
// itemWidth: 12,
|
|
|
|
// itemHeight: 10,
|
|
|
|
// // itemGap: 35
|
|
|
|
// },
|
2024-05-06 07:06:48 +00:00
|
|
|
|
|
|
|
xAxis: [{
|
2024-04-26 09:10:09 +00:00
|
|
|
type: 'category',
|
2024-05-06 07:06:48 +00:00
|
|
|
boundaryGap: false,
|
|
|
|
axisLabel: {
|
|
|
|
rotate: -90,
|
|
|
|
textStyle: {
|
|
|
|
color: "rgba(255,255,255,.6)",
|
|
|
|
fontSize: 14,
|
|
|
|
|
2024-04-26 09:10:09 +00:00
|
|
|
},
|
2024-05-06 07:06:48 +00:00
|
|
|
},
|
|
|
|
axisLine: {
|
|
|
|
lineStyle: {
|
|
|
|
color: 'rgba(255,255,255,.1)'
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
2024-05-10 01:35:59 +00:00
|
|
|
data: []
|
2024-05-06 07:06:48 +00:00
|
|
|
|
|
|
|
}, {
|
|
|
|
axisPointer: { show: false },
|
|
|
|
axisLine: { show: false },
|
|
|
|
position: 'bottom',
|
|
|
|
offset: 20,
|
|
|
|
}],
|
|
|
|
|
|
|
|
yAxis: [{
|
|
|
|
type: 'value',
|
|
|
|
axisTick: { show: false },
|
|
|
|
// splitNumber: 6,
|
|
|
|
axisLine: {
|
|
|
|
lineStyle: {
|
|
|
|
color: 'rgba(255,255,255,.1)'
|
|
|
|
}
|
|
|
|
},
|
|
|
|
axisLabel: {
|
2024-05-10 01:35:59 +00:00
|
|
|
formatter: "{value}",
|
2024-05-06 07:06:48 +00:00
|
|
|
textStyle: {
|
|
|
|
color: "rgba(255,255,255,.6)",
|
|
|
|
fontSize: 14,
|
2024-04-26 09:10:09 +00:00
|
|
|
},
|
|
|
|
},
|
2024-05-06 07:06:48 +00:00
|
|
|
|
|
|
|
splitLine: {
|
|
|
|
lineStyle: {
|
|
|
|
color: 'rgba(255,255,255,.1)'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}],
|
|
|
|
series: [
|
2024-04-26 09:10:09 +00:00
|
|
|
{
|
2024-05-10 01:35:59 +00:00
|
|
|
name: '时间',
|
2024-05-06 07:06:48 +00:00
|
|
|
type: 'line',
|
|
|
|
smooth: true,
|
|
|
|
symbol: 'circle',
|
|
|
|
symbolSize: 5,
|
|
|
|
showSymbol: false,
|
|
|
|
lineStyle: {
|
|
|
|
normal: {
|
|
|
|
color: 'rgba(228, 228, 126, 1)',
|
|
|
|
width: 2
|
|
|
|
}
|
|
|
|
},
|
|
|
|
areaStyle: {
|
|
|
|
normal: {
|
|
|
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
|
|
|
offset: 0,
|
|
|
|
color: 'rgba(228, 228, 126, .2)'
|
|
|
|
}, {
|
|
|
|
offset: 1,
|
|
|
|
color: 'rgba(228, 228, 126, 0)'
|
|
|
|
}], false),
|
|
|
|
shadowColor: 'rgba(0, 0, 0, 0.1)',
|
|
|
|
}
|
2024-04-26 09:10:09 +00:00
|
|
|
},
|
2024-05-06 07:06:48 +00:00
|
|
|
itemStyle: {
|
|
|
|
normal: {
|
|
|
|
color: 'rgba(228, 228, 126, 1)',
|
|
|
|
borderColor: 'rgba(228, 228, 126, .1)',
|
|
|
|
borderWidth: 12
|
|
|
|
}
|
|
|
|
},
|
2024-05-10 01:35:59 +00:00
|
|
|
data: []
|
2024-05-06 07:06:48 +00:00
|
|
|
|
2024-05-10 01:35:59 +00:00
|
|
|
}
|
2024-05-06 07:06:48 +00:00
|
|
|
]
|
|
|
|
})
|
|
|
|
|
2024-05-10 01:35:59 +00:00
|
|
|
async function getMonthEvaluationData() {
|
|
|
|
const res = await getMonthEvaluation()
|
|
|
|
|
|
|
|
let xAxisData = []
|
|
|
|
let seriesData = []
|
|
|
|
res.data.forEach(v => {
|
|
|
|
xAxisData.push(v.name)
|
|
|
|
seriesData.push(v.value)
|
|
|
|
});
|
|
|
|
|
|
|
|
centerLine2Option.value.xAxis[0].data = xAxisData
|
|
|
|
centerLine2Option.value.series[0].data = seriesData
|
|
|
|
}
|
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
const rightBar1Option = ref({
|
|
|
|
tooltip: {
|
|
|
|
trigger: 'axis',
|
|
|
|
axisPointer: { type: 'shadow' },
|
|
|
|
}, "grid": {
|
|
|
|
"top": "15%",
|
|
|
|
"right": "10%",
|
|
|
|
"bottom": "20",
|
|
|
|
"left": "10%",
|
|
|
|
},
|
|
|
|
legend: {
|
2024-05-10 01:35:59 +00:00
|
|
|
data: ['预警数', '干预数'],
|
2024-05-06 07:06:48 +00:00
|
|
|
right: 'center',
|
|
|
|
top: 0,
|
|
|
|
textStyle: {
|
|
|
|
color: "#fff"
|
2024-04-26 09:10:09 +00:00
|
|
|
},
|
2024-05-06 07:06:48 +00:00
|
|
|
itemWidth: 12,
|
|
|
|
itemHeight: 10,
|
|
|
|
},
|
|
|
|
"xAxis": [
|
2024-04-26 09:10:09 +00:00
|
|
|
{
|
2024-05-06 07:06:48 +00:00
|
|
|
"type": "category",
|
|
|
|
|
2024-05-10 01:35:59 +00:00
|
|
|
data: [],
|
2024-05-06 07:06:48 +00:00
|
|
|
axisLine: { lineStyle: { color: "rgba(255,255,255,.1)" } },
|
|
|
|
axisLabel: {
|
|
|
|
textStyle: { color: "rgba(255,255,255,.7)", fontSize: '14', },
|
2024-04-26 09:10:09 +00:00
|
|
|
},
|
2024-05-06 07:06:48 +00:00
|
|
|
|
|
|
|
},
|
|
|
|
],
|
|
|
|
"yAxis": [
|
|
|
|
{
|
|
|
|
"type": "value",
|
2024-05-10 01:35:59 +00:00
|
|
|
"name": "",
|
2024-05-06 07:06:48 +00:00
|
|
|
splitLine: { show: false },
|
|
|
|
axisTick: { show: false },
|
|
|
|
"axisLabel": {
|
|
|
|
"show": true,
|
|
|
|
color: "rgba(255,255,255,.6)"
|
|
|
|
|
2024-04-26 09:10:09 +00:00
|
|
|
},
|
2024-05-06 07:06:48 +00:00
|
|
|
axisLine: { lineStyle: { color: 'rgba(255,255,255,.1)' } },//左线色
|
|
|
|
|
2024-04-26 09:10:09 +00:00
|
|
|
},
|
|
|
|
{
|
2024-05-06 07:06:48 +00:00
|
|
|
"type": "value",
|
2024-05-10 01:35:59 +00:00
|
|
|
"name": "",
|
2024-05-06 07:06:48 +00:00
|
|
|
"show": true,
|
|
|
|
axisTick: { show: false },
|
|
|
|
"axisLabel": {
|
|
|
|
"show": true,
|
2024-05-10 01:35:59 +00:00
|
|
|
formatter: "{value}",
|
2024-05-06 07:06:48 +00:00
|
|
|
color: "rgba(255,255,255,.6)"
|
2024-04-26 09:10:09 +00:00
|
|
|
},
|
2024-05-06 07:06:48 +00:00
|
|
|
axisLine: { lineStyle: { color: 'rgba(255,255,255,.1)' } },//右线色
|
|
|
|
splitLine: { show: true, lineStyle: { color: 'rgba(255,255,255,.1)' } },//x轴线
|
|
|
|
},
|
|
|
|
],
|
|
|
|
"series": [
|
|
|
|
{
|
2024-05-10 01:35:59 +00:00
|
|
|
"name": "预警数",
|
2024-05-06 07:06:48 +00:00
|
|
|
"type": "bar",
|
2024-05-10 01:35:59 +00:00
|
|
|
"data": [],
|
2024-05-06 07:06:48 +00:00
|
|
|
"barWidth": "20%",
|
|
|
|
|
|
|
|
"itemStyle": {
|
|
|
|
"normal": {
|
|
|
|
barBorderRadius: 15,
|
|
|
|
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
|
|
|
offset: 0,
|
|
|
|
color: '#fccb05'
|
|
|
|
}, {
|
|
|
|
offset: 1,
|
|
|
|
color: '#f5804d'
|
|
|
|
}]),
|
|
|
|
}
|
2024-04-26 09:10:09 +00:00
|
|
|
},
|
2024-05-06 07:06:48 +00:00
|
|
|
"barGap": "0"
|
2024-04-26 09:10:09 +00:00
|
|
|
},
|
|
|
|
{
|
2024-05-10 01:35:59 +00:00
|
|
|
"name": "干预数",
|
2024-05-06 07:06:48 +00:00
|
|
|
"type": "line",
|
|
|
|
"yAxisIndex": 1,
|
|
|
|
|
2024-05-10 01:35:59 +00:00
|
|
|
"data": [],
|
2024-05-06 07:06:48 +00:00
|
|
|
lineStyle: {
|
|
|
|
normal: {
|
|
|
|
width: 2
|
|
|
|
},
|
2024-04-26 09:10:09 +00:00
|
|
|
},
|
2024-05-06 07:06:48 +00:00
|
|
|
"itemStyle": {
|
|
|
|
"normal": {
|
|
|
|
"color": "#ff3300",
|
|
|
|
|
|
|
|
}
|
2024-04-26 09:10:09 +00:00
|
|
|
},
|
2024-05-06 07:06:48 +00:00
|
|
|
"smooth": true
|
2024-04-26 09:10:09 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
})
|
2024-05-06 07:06:48 +00:00
|
|
|
|
2024-05-10 01:35:59 +00:00
|
|
|
async function getHalfMonthData() {
|
|
|
|
const res = await getHalfMonth()
|
|
|
|
let xAxisData = []
|
|
|
|
let warnData = []
|
|
|
|
let interveneData = []
|
|
|
|
|
|
|
|
res.data.forEach(v => {
|
|
|
|
xAxisData.push(v.name)
|
|
|
|
warnData.push(v.value)
|
|
|
|
interveneData.push(v.spareValue)
|
|
|
|
});
|
|
|
|
|
|
|
|
rightBar1Option.value.xAxis[0].data = xAxisData
|
|
|
|
|
|
|
|
rightBar1Option.value.series[0].data = warnData
|
|
|
|
rightBar1Option.value.series[1].data = interveneData
|
|
|
|
}
|
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
const rightPie2Option = ref({
|
|
|
|
title: {
|
2024-05-09 06:01:15 +00:00
|
|
|
text: '',
|
|
|
|
subtext: '',
|
2024-05-06 07:06:48 +00:00
|
|
|
x: 'center',
|
2024-05-09 06:01:15 +00:00
|
|
|
y: '50%',
|
2024-05-06 07:06:48 +00:00
|
|
|
textStyle: {
|
|
|
|
color: '#fff',
|
|
|
|
fontSize: 22,
|
|
|
|
lineHeight: 10,
|
|
|
|
},
|
|
|
|
subtextStyle: {
|
|
|
|
color: '#90979c',
|
|
|
|
fontSize: 16,
|
|
|
|
lineHeight: 10,
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
tooltip: {
|
|
|
|
trigger: 'item',
|
|
|
|
formatter: "{b} : {c} ({d}%)"
|
|
|
|
},
|
|
|
|
|
|
|
|
visualMap: {
|
|
|
|
show: false,
|
|
|
|
min: 500,
|
|
|
|
max: 600,
|
|
|
|
inRange: {
|
|
|
|
//colorLightness: [0, 1]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
series: [{
|
2024-05-09 06:01:15 +00:00
|
|
|
name: '预警统计',
|
2024-05-06 07:06:48 +00:00
|
|
|
type: 'pie',
|
|
|
|
radius: ['50%', '70%'],
|
|
|
|
center: ['50%', '50%'],
|
|
|
|
color: ['rgb(131,249,103)', '#FBFE27', '#FE5050', '#1DB7E5'], //'#FBFE27','rgb(11,228,96)','#FE5050'
|
2024-05-09 06:01:15 +00:00
|
|
|
data: [],
|
2024-05-06 07:06:48 +00:00
|
|
|
roseType: 'radius',
|
|
|
|
label: {
|
|
|
|
normal: {
|
2024-05-09 06:01:15 +00:00
|
|
|
formatter: ['{c|{c}人}', '{b|{b}}'].join('\n'),
|
2024-05-06 07:06:48 +00:00
|
|
|
rich: {
|
|
|
|
c: {
|
|
|
|
color: 'rgb(241,246,104)',
|
|
|
|
fontSize: 20,
|
|
|
|
fontWeight: 'bold',
|
|
|
|
lineHeight: 5
|
|
|
|
},
|
|
|
|
b: {
|
|
|
|
color: 'rgb(98,137,169)',
|
|
|
|
fontSize: 14,
|
|
|
|
height: 44
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
},
|
|
|
|
labelLine: {
|
|
|
|
normal: {
|
|
|
|
lineStyle: {
|
|
|
|
color: 'rgb(98,137,169)',
|
|
|
|
},
|
|
|
|
smooth: 0.2,
|
|
|
|
length: 10,
|
|
|
|
length2: 20,
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}]
|
|
|
|
})
|
2024-05-09 06:01:15 +00:00
|
|
|
|
|
|
|
async function getWarn4AllData() {
|
|
|
|
const res = await getWarn4All()
|
|
|
|
|
|
|
|
const data = [
|
|
|
|
{ name: '未见异常', value: res.data.noneNum },
|
|
|
|
{ name: '低风险', value: res.data.lowNum },
|
|
|
|
{ name: '中风险', value: res.data.middleNum },
|
|
|
|
{ name: '高风险', value: res.data.highNum },
|
|
|
|
{ name: '重大风险', value: res.data.majorNum }
|
|
|
|
]
|
|
|
|
|
|
|
|
rightPie2Option.value.series[0].data = data
|
|
|
|
}
|
2024-04-26 09:10:09 +00:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
* {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2024-05-06 07:06:48 +00:00
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
2024-04-26 09:10:09 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* 声明字体*/
|
|
|
|
@font-face {
|
|
|
|
font-family: electronicFont;
|
|
|
|
src: url('@/assets/font/DS-DIGIT.TTF');
|
|
|
|
}
|
|
|
|
|
|
|
|
.big-screen {
|
|
|
|
background: url('@/assets/images/bg.jpg') no-repeat top center;
|
|
|
|
background-size: cover;
|
|
|
|
line-height: 1.15;
|
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
|
|
|
|
header {
|
|
|
|
position: relative;
|
|
|
|
height: 1.25rem;
|
|
|
|
background: url('@/assets/images/head_bg.png') no-repeat;
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: .475rem;
|
|
|
|
color: #fff;
|
|
|
|
text-align: center;
|
|
|
|
line-height: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.showTime {
|
|
|
|
position: absolute;
|
|
|
|
right: .375rem;
|
|
|
|
top: 0;
|
|
|
|
line-height: .9375rem;
|
|
|
|
color: rgba(255, 255, 255, 0.7);
|
|
|
|
font-size: .25rem;
|
|
|
|
letter-spacing: .025rem;
|
2024-05-06 07:06:48 +00:00
|
|
|
font-family: electronicFont;
|
2024-04-26 09:10:09 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
.main-box {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 1.5fr 1fr;
|
|
|
|
grid-template-rows: calc(100vh - 1.25rem);
|
2024-04-26 09:10:09 +00:00
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
.item-left,
|
|
|
|
.item-center,
|
|
|
|
.item-right {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-around;
|
|
|
|
align-items: center
|
|
|
|
}
|
2024-04-26 09:10:09 +00:00
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
.item-left-1 {
|
|
|
|
flex: 0 1 58%;
|
|
|
|
width: 99%;
|
|
|
|
}
|
2024-04-26 09:10:09 +00:00
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
.item-left-2 {
|
|
|
|
flex: 0 1 40%;
|
|
|
|
width: 99%;
|
2024-04-26 09:10:09 +00:00
|
|
|
}
|
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
.item-center-1 {
|
|
|
|
flex: 0 1 18%;
|
|
|
|
width: 99%;
|
|
|
|
}
|
2024-04-26 09:10:09 +00:00
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
.item-center-2 {
|
|
|
|
flex: 0 1 40%;
|
|
|
|
width: 99%;
|
|
|
|
}
|
2024-04-26 09:10:09 +00:00
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
.item-center-3 {
|
|
|
|
flex: 0 1 40%;
|
|
|
|
width: 99%;
|
2024-04-26 09:10:09 +00:00
|
|
|
}
|
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
.item-right-1 {
|
|
|
|
flex: 0 1 32%;
|
|
|
|
width: 99%;
|
|
|
|
}
|
2024-04-26 09:10:09 +00:00
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
.item-right-2 {
|
|
|
|
flex: 0 1 33%;
|
|
|
|
width: 99%;
|
|
|
|
}
|
2024-04-26 09:10:09 +00:00
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
.item-right-3 {
|
|
|
|
flex: 0 1 33%;
|
|
|
|
width: 99%;
|
|
|
|
}
|
2024-04-26 09:10:09 +00:00
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
.boxall {
|
|
|
|
padding: 0.1rem;
|
|
|
|
background: rgba(6, 48, 109, .5);
|
|
|
|
position: relative;
|
|
|
|
z-index: 10;
|
|
|
|
}
|
2024-04-26 09:10:09 +00:00
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
.alltitle {
|
|
|
|
font-size: .25rem;
|
|
|
|
color: #fff;
|
|
|
|
line-height: .5rem;
|
|
|
|
position: relative;
|
|
|
|
padding-left: .15rem
|
2024-04-26 09:10:09 +00:00
|
|
|
}
|
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
.alltitle:before {
|
2024-04-26 09:10:09 +00:00
|
|
|
position: absolute;
|
2024-05-06 07:06:48 +00:00
|
|
|
height: .2rem;
|
|
|
|
width: 4px;
|
|
|
|
background: #49bcf7;
|
|
|
|
border-radius: 5px;
|
2024-04-26 09:10:09 +00:00
|
|
|
content: "";
|
2024-05-06 07:06:48 +00:00
|
|
|
left: 0;
|
|
|
|
top: 50%;
|
|
|
|
margin-top: -.1rem;
|
2024-04-26 09:10:09 +00:00
|
|
|
}
|
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
.boxnav {
|
|
|
|
height: calc(100% - .5rem);
|
|
|
|
}
|
|
|
|
|
|
|
|
.no {
|
|
|
|
background-color: rgba(101, 132, 226, 0.1);
|
|
|
|
padding: .0625rem;
|
|
|
|
margin-left: .125rem;
|
|
|
|
margin-right: .125rem;
|
2024-05-08 06:00:09 +00:00
|
|
|
margin-top: 10px;
|
2024-05-06 07:06:48 +00:00
|
|
|
|
|
|
|
.no-hd {
|
|
|
|
height: .75rem;
|
|
|
|
position: relative;
|
|
|
|
border: 1px solid rgba(25, 186, 139, 0.17);
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
content: "";
|
|
|
|
width: 30px;
|
|
|
|
height: 10px;
|
|
|
|
border-top: 2px solid #02a6b5;
|
|
|
|
border-left: 2px solid #02a6b5;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
content: "";
|
|
|
|
width: 30px;
|
|
|
|
height: 10px;
|
|
|
|
border-right: 2px solid #02a6b5;
|
|
|
|
border-bottom: 2px solid #02a6b5;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
li {
|
|
|
|
position: relative;
|
|
|
|
flex: 1;
|
|
|
|
line-height: .75rem;
|
|
|
|
font-size: .75rem;
|
|
|
|
color: #ffeb7b;
|
|
|
|
text-align: center;
|
|
|
|
font-family: 'electronicFont';
|
2024-04-26 09:10:09 +00:00
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
&::after {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: 25%;
|
|
|
|
right: 0;
|
|
|
|
height: 50%;
|
|
|
|
width: 1px;
|
|
|
|
background-color: rgba(255, 255, 255, 0.2);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-04-26 09:10:09 +00:00
|
|
|
}
|
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
.no-bd {
|
2024-05-09 06:01:15 +00:00
|
|
|
height: .3125rem;
|
2024-05-06 07:06:48 +00:00
|
|
|
|
|
|
|
ul {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
li {
|
|
|
|
flex: 1;
|
|
|
|
text-align: center;
|
|
|
|
color: rgba(255, 255, 255, 0.7);
|
|
|
|
font-size: .2rem;
|
2024-05-09 06:01:15 +00:00
|
|
|
line-height: .3125rem;
|
2024-05-06 07:06:48 +00:00
|
|
|
}
|
|
|
|
}
|
2024-04-26 09:10:09 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
table {
|
|
|
|
width: 100%;
|
2024-04-26 09:10:09 +00:00
|
|
|
text-align: center;
|
2024-05-06 07:06:48 +00:00
|
|
|
color: #fff;
|
2024-04-26 09:10:09 +00:00
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
}
|
2024-04-29 03:04:56 +00:00
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
table th {
|
2024-05-08 06:00:09 +00:00
|
|
|
font-size: .225rem;
|
2024-05-06 07:06:48 +00:00
|
|
|
background: rgba(0, 0, 0, .1);
|
|
|
|
}
|
2024-04-29 03:04:56 +00:00
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
table td {
|
2024-05-08 06:00:09 +00:00
|
|
|
font-size: 0.2125rem;
|
2024-05-06 07:06:48 +00:00
|
|
|
color: rgba(255, 255, 255, .6);
|
|
|
|
}
|
2024-04-29 03:04:56 +00:00
|
|
|
|
2024-05-06 07:06:48 +00:00
|
|
|
table th,
|
|
|
|
table td {
|
|
|
|
border-bottom: 1px solid rgba(255, 255, 255, .1);
|
|
|
|
padding: .1rem 0;
|
|
|
|
}
|
2024-05-08 06:00:09 +00:00
|
|
|
|
|
|
|
.item-th {
|
|
|
|
border: 1px solid rgba(255, 255, 255, .1);
|
|
|
|
padding: .1rem 0;
|
|
|
|
font-size: .2rem;
|
|
|
|
color: rgba(255, 255, 255, .6);
|
|
|
|
background: rgba(0, 0, 0, .1);
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-around;
|
|
|
|
|
2024-05-10 01:35:59 +00:00
|
|
|
span:nth-child(1) {
|
|
|
|
flex: 0 1 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
span:nth-child(2) {
|
|
|
|
flex: 0 1 20%;
|
|
|
|
}
|
|
|
|
|
|
|
|
span:nth-child(3) {
|
|
|
|
flex: 0 1 30%;
|
2024-05-08 06:00:09 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.scroll {
|
|
|
|
height: 2.375rem;
|
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scroll .item {
|
|
|
|
border: 1px solid rgba(255, 255, 255, .1);
|
|
|
|
padding: .1rem 0;
|
|
|
|
font-size: .2rem;
|
|
|
|
color: rgba(255, 255, 255, .6);
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-around;
|
|
|
|
|
2024-05-10 01:35:59 +00:00
|
|
|
span:nth-child(1) {
|
|
|
|
flex: 0 1 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
span:nth-child(2) {
|
|
|
|
flex: 0 1 20%;
|
|
|
|
}
|
|
|
|
|
|
|
|
span:nth-child(3) {
|
|
|
|
flex: 0 1 30%;
|
2024-05-08 06:00:09 +00:00
|
|
|
}
|
|
|
|
}
|
2024-04-29 03:04:56 +00:00
|
|
|
}
|
2024-04-26 09:10:09 +00:00
|
|
|
}
|
|
|
|
</style>
|