Files
admin-govern/src/views/govern/device/control/tabs/realtime.vue

756 lines
27 KiB
Vue
Raw Normal View History

2024-07-03 19:31:43 +08:00
<template>
<div class="view" v-loading="loading">
2024-07-03 19:31:43 +08:00
<div class="view_top">
<!-- 左侧仪表盘 -->
<div class="view_top_left">
<div class="left_charts_title">电压有效值(kV)</div>
<div class="left_charts">
<MyEchart :pieInterVal="true" ref="pieChart1" :options="echartsDataV1"></MyEchart>
</div>
<div class="left_charts">
<MyEchart :pieInterVal="true" ref="pieChart2" :options="echartsDataV2"></MyEchart>
</div>
<div class="left_charts">
<MyEchart :pieInterVal="true" ref="pieChart3" :options="echartsDataV3"></MyEchart>
</div>
2024-07-03 19:31:43 +08:00
</div>
<div class="view_top_mid">
2024-07-22 10:35:01 +08:00
<div class="mid_charts_title">基波电压/电流幅值(相位)</div>
<div class="mid_charts"><MyEchart :pieInterVal="true" :options="echartsData1"></MyEchart></div>
2024-07-03 19:31:43 +08:00
</div>
<!-- 右侧仪表盘 -->
<div class="view_top_right">
<div class="right_charts_title">电流有效值(A)</div>
<div class="right_charts">
<MyEchart :pieInterVal="true" ref="pieChart4" :options="echartsDataA1"></MyEchart>
</div>
<div class="right_charts">
<MyEchart :pieInterVal="true" ref="pieChart5" :options="echartsDataA2"></MyEchart>
</div>
<div class="right_charts">
<MyEchart :pieInterVal="true" ref="pieChart6" :options="echartsDataA3"></MyEchart>
</div>
2024-07-03 19:31:43 +08:00
</div>
</div>
<div class="view_bot">
<vxe-table
border
height=""
:data="realList"
:column-config="{ resizable: true, tooltip: true }"
:tooltip-config="{ enterable: true }"
>
<vxe-colgroup align="center" title="电压有效值(kV)">
<vxe-column align="center" field="vRmsA" title="A相"></vxe-column>
<vxe-column align="center" field="vRmsB" title="B相"></vxe-column>
<vxe-column align="center" field="vRmsC" title="C相"></vxe-column>
</vxe-colgroup>
<vxe-colgroup align="center" title="电流有效值(A)">
<vxe-column align="center" field="iRmsA" title="A相"></vxe-column>
<vxe-column align="center" field="iRmsB" title="B相"></vxe-column>
<vxe-column align="center" field="iRmsC" title="C相"></vxe-column>
</vxe-colgroup>
<vxe-colgroup align="center" title="基波电压相位(°)">
<vxe-column align="center" field="v1AngA" title="A相"></vxe-column>
<vxe-column align="center" field="v1AngB" title="B相"></vxe-column>
<vxe-column align="center" field="v1AngC" title="C相"></vxe-column>
</vxe-colgroup>
<vxe-colgroup align="center" title="基波电流相位(°)">
<vxe-column align="center" field="i1AngA" title="A相"></vxe-column>
<vxe-column align="center" field="i1AngB" title="B相"></vxe-column>
<vxe-column align="center" field="i1AngC" title="C相"></vxe-column>
</vxe-colgroup>
</vxe-table>
<br />
<vxe-table
border
height=""
:data="realList"
:column-config="{ resizable: true, tooltip: true }"
:tooltip-config="{ enterable: true }"
>
<vxe-column align="center" field="freq" width="140" title="频率(Hz)"></vxe-column>
<vxe-column align="center" field="freqDev" width="120" title="频率偏差(Hz)"></vxe-column>
<vxe-column align="center" width="180" field="vUnbalance" title="电压不平衡度(%)"></vxe-column>
<vxe-column align="center" width="180" field="iUnbalance" title="电流不平衡度(%)"></vxe-column>
<vxe-colgroup align="center" title="基波电压幅值(kV)">
<vxe-column align="center" field="v1A" title="A相"></vxe-column>
<vxe-column align="center" field="v1B" title="B相"></vxe-column>
<vxe-column align="center" field="v1C" title="C相"></vxe-column>
</vxe-colgroup>
<vxe-colgroup align="center" title="基波电流幅值(A)">
<vxe-column align="center" field="i1A" title="A相"></vxe-column>
<vxe-column align="center" field="i1B" title="B相"></vxe-column>
<vxe-column align="center" field="i1C" title="C相"></vxe-column>
</vxe-colgroup>
</vxe-table>
<br />
<vxe-table
border
height=""
:data="realList"
:column-config="{ resizable: true, tooltip: true }"
:tooltip-config="{ enterable: true }"
>
<vxe-colgroup align="center" title="电压偏差(%)">
<vxe-column align="center" field="vDevA" title="A相"></vxe-column>
<vxe-column align="center" field="vDevB" title="B相"></vxe-column>
<vxe-column align="center" field="vDevC" title="C相"></vxe-column>
</vxe-colgroup>
<vxe-colgroup align="center" title="电压总谐波畸变率(%)">
<vxe-column align="center" field="vThdA" title="A相"></vxe-column>
<vxe-column align="center" field="vThdB" title="B相"></vxe-column>
<vxe-column align="center" field="vThdC" title="C相"></vxe-column>
</vxe-colgroup>
<vxe-colgroup align="center" title="电流总谐波畸变率(%)">
<vxe-column align="center" field="iThdA" title="A相"></vxe-column>
<vxe-column align="center" field="iThdB" title="B相"></vxe-column>
<vxe-column align="center" field="iThdC" title="C相"></vxe-column>
</vxe-colgroup>
<vxe-colgroup align="center" title="有功功率(kW)">
<vxe-column align="center" field="pA" title="A相"></vxe-column>
<vxe-column align="center" field="pB" title="B相"></vxe-column>
<vxe-column align="center" field="pC" title="C相"></vxe-column>
<vxe-column align="center" field="pTot" title="总"></vxe-column>
</vxe-colgroup>
</vxe-table>
<br />
<vxe-table
border
height=""
:data="realList"
:column-config="{ resizable: true, tooltip: true }"
:tooltip-config="{ enterable: true }"
>
<vxe-colgroup align="center" title="无功功率(kVar)">
<vxe-column align="center" field="qA" title="A相"></vxe-column>
<vxe-column align="center" field="qB" title="B相"></vxe-column>
<vxe-column align="center" field="qC" title="C相">
<template #default="{ row }">
{{ row.qC }}
</template>
</vxe-column>
<vxe-column align="center" field="qTot" title="总"></vxe-column>
</vxe-colgroup>
<vxe-colgroup align="center" title="视在功率(kVA)">
<vxe-column align="center" field="sA" title="A相"></vxe-column>
<vxe-column align="center" field="sB" title="B相"></vxe-column>
<vxe-column align="center" field="sC" title="C相"></vxe-column>
<vxe-column align="center" field="sTot" title="总"></vxe-column>
</vxe-colgroup>
<vxe-colgroup align="center" title="功率因数">
<vxe-column align="center" field="pfA" title="A相"></vxe-column>
<vxe-column align="center" field="pfB" title="B相"></vxe-column>
<vxe-column align="center" field="pfC" title="C相"></vxe-column>
<vxe-column align="center" field="pfTot" title="总"></vxe-column>
</vxe-colgroup>
<vxe-colgroup align="center" title="基波功率因数">
<vxe-column align="center" field="dpfA" title="A相"></vxe-column>
<vxe-column align="center" field="dpfB" title="B相"></vxe-column>
<vxe-column align="center" field="dpfC" title="C相"></vxe-column>
<vxe-column align="center" field="dpfTot" title="总"></vxe-column>
</vxe-colgroup>
</vxe-table>
</div>
2024-07-03 19:31:43 +08:00
</div>
</template>
<script lang="ts" setup>
import { ref, onMounted } from 'vue'
import MyEchart from '@/components/echarts/MyEchart.vue'
2024-07-22 10:35:01 +08:00
import { getRealTimeTableList } from '@/api/cs-device-boot/EquipmentDelivery'
2024-07-03 19:31:43 +08:00
import * as echarts from 'echarts'
const pieChartRef: any = ref()
2024-07-22 10:35:01 +08:00
const pieChart1: any = ref()
const pieChart2: any = ref()
const pieChart3: any = ref()
const pieChart4: any = ref()
const pieChart5: any = ref()
const pieChart6: any = ref()
2024-07-03 19:31:43 +08:00
const echartsData: any = ref({})
const echartsData1: any = ref({})
2024-07-22 10:35:01 +08:00
//电压有效值
const echartsDataV1: any = ref({})
const echartsDataV2: any = ref({})
const echartsDataV3: any = ref({})
//电流有效值
const echartsDataA1: any = ref({})
const echartsDataA2: any = ref({})
const echartsDataA3: any = ref({})
//渲染中间相角图
2024-08-01 16:37:24 +08:00
const initRadioCharts = () => {
2024-07-03 19:31:43 +08:00
echartsData1.value = {
options: {
grid: {
top: 0
2024-07-03 19:31:43 +08:00
},
title: {
text: '',
x: 'center'
},
tooltip: {
formatter: '{a} <br/>{c} {b}'
},
2024-10-22 14:00:39 +08:00
toolbox:{
show:false
},
legend: {
show: false
},
2024-07-03 19:31:43 +08:00
series: [
2024-08-01 16:37:24 +08:00
// 外圈电压 内圈电流
2024-07-03 19:31:43 +08:00
{
name: '基波电流相位',
type: 'gauge',
// 表盘最小值
min: 180,
// 表盘最大值
max: -180,
// 表盘分割数
2024-10-22 14:00:39 +08:00
splitNumber: 6,
2024-07-03 19:31:43 +08:00
// 圆心位置
center: ['50%', '50%'],
// 半径
radius: '50%',
startAngle: 180,
endAngle: -179.99,
// 指针方向
clockWise: true,
title: false,
// 表盘外框
axisLine: {
show: true,
lineStyle: {
color: [
2024-07-23 17:28:31 +08:00
[0.25, '#9D322D'],
[0.5, '#9D322D'],
[0.75, '#9D322D'],
[1, '#9D322D']
2024-07-03 19:31:43 +08:00
],
width: 2
}
},
// 表盘细分数
axisTick: {
show: true,
splitNumber: 5,
length: 4,
lineStyle: {
2024-07-23 17:28:31 +08:00
color: '#9D322D',
2024-07-03 19:31:43 +08:00
width: 1,
type: 'solid'
}
},
// 分割线
splitLine: {
show: true,
length: 10,
lineStyle: {
2024-07-23 17:28:31 +08:00
color: '#9D322D',
2024-07-03 19:31:43 +08:00
width: 2,
type: 'solid'
}
},
// 分割线标识
axisLabel: {
show: true,
distance: 5,
formatter: function (v) {
switch (v + '') {
case '-180':
return ''
default:
return v
}
}
},
// 指针设置
pointer: {
length: '80%',
width: 3
},
detail: {
show: false
},
data: [
{
2024-09-27 16:22:34 +08:00
value: 0,
2024-07-03 19:31:43 +08:00
name: 'A相',
itemStyle: {
2024-09-13 18:35:02 +08:00
color: '#FFCC00'
2024-07-03 19:31:43 +08:00
}
},
{
2024-09-27 16:22:34 +08:00
value: 0,
2024-07-03 19:31:43 +08:00
name: 'B相',
itemStyle: {
2024-09-13 18:35:02 +08:00
color: '#009900'
2024-07-03 19:31:43 +08:00
}
},
{
2024-09-27 16:22:34 +08:00
value: 0,
2024-07-03 19:31:43 +08:00
name: 'C相',
itemStyle: {
2024-09-13 18:35:02 +08:00
color: '#CC0000'
2024-07-03 19:31:43 +08:00
}
}
]
},
{
name: '基波电压相位',
type: 'gauge',
// 表盘最小值
min: 180,
// 表盘最大值
max: -180,
// 表盘分割数
2024-10-22 14:00:39 +08:00
splitNumber: 6,
2024-07-03 19:31:43 +08:00
// 圆心位置
center: ['50%', '50%'],
// 半径
radius: '85%',
startAngle: 180,
endAngle: -179.99,
// 指针方向
clockWise: true,
title: false,
// 表盘外框
axisLine: {
show: true,
lineStyle: {
color: [
2024-07-22 10:35:01 +08:00
[0.25, '#9D322D'],
2024-07-03 19:31:43 +08:00
[0.5, '#9D322D'],
[0.75, '#9D322D'],
[1, '#9D322D']
],
width: 1.5
}
},
// 表盘细分数
axisTick: {
show: true,
splitNumber: 5,
length: 6,
lineStyle: {
color: '#9D322D',
width: 1,
type: 'solid'
}
},
// 分割线
splitLine: {
show: true,
length: 10,
lineStyle: {
color: '#9D322D',
width: 2,
type: 'solid'
}
},
// 分割线标识
axisLabel: {
show: true,
distance: 5,
formatter: function (v) {
switch (v + '') {
case '-180':
return ''
default:
return v
}
}
},
// 指针设置
pointer: {
length: '90%',
width: 6
},
detail: {
show: false
},
data: [
{
2024-09-27 16:22:34 +08:00
value: 0,
2024-07-03 19:31:43 +08:00
name: 'A相',
itemStyle: {
2024-09-14 10:32:01 +08:00
color: '#FFCC00'
2024-07-03 19:31:43 +08:00
}
},
{
2024-09-27 16:22:34 +08:00
value: 0,
2024-07-03 19:31:43 +08:00
name: 'B相',
itemStyle: {
2024-09-14 10:32:01 +08:00
color: '#009900'
2024-07-03 19:31:43 +08:00
}
},
{
2024-09-27 16:22:34 +08:00
value: 0,
2024-07-03 19:31:43 +08:00
name: 'C相',
itemStyle: {
2024-09-14 10:32:01 +08:00
color: '#CC0000'
2024-07-03 19:31:43 +08:00
}
}
]
}
]
}
}
2024-08-01 16:37:24 +08:00
//电流相角
echartsData1.value.options.series[0].data.map((item: any) => {
iRadioList.value.map((vv: any) => {
if (item.name.includes(vv.phase)) {
item.value = vv.statisticalData
}
})
})
//电压相角
echartsData1.value.options.series[1].data.map((item: any) => {
vRadioList.value.map((vv: any) => {
if (item.name.includes(vv.phase)) {
item.value = vv.statisticalData
}
})
})
//新的实时数据
// 电流相角
echartsData1.value.options.series[0].data[0].value = realData.value.i1AngA || 0
echartsData1.value.options.series[0].data[1].value = realData.value.i1AngB || 0
echartsData1.value.options.series[0].data[2].value = realData.value.i1AngC || 0
// 电压相角
echartsData1.value.options.series[1].data[0].value = realData.value.v1AngA || 0
echartsData1.value.options.series[1].data[1].value = realData.value.v1AngB || 0
echartsData1.value.options.series[1].data[2].value = realData.value.v1AngC || 0
2024-07-03 19:31:43 +08:00
for (var i = 0; i < echartsData1.value.options.series.length; i++) {
echartsData1.value.options.series[i].type = 'gauge'
echartsData1.value.options.series[i].startAngle = 90
echartsData1.value.options.series[i].endAngle = -270
echartsData1.value.options.series[i].center = ['50%', '50%']
}
}
2024-08-01 16:37:24 +08:00
//渲染echarts
const init = () => {
echartsData.value = {
options: {
tooltip: {},
2024-10-22 14:00:39 +08:00
toolbox:{
show:false
},
2024-08-01 16:37:24 +08:00
series: [
{
type: 'gauge',
startAngle: 180,
endAngle: 0,
min: 0,
2024-10-14 20:39:01 +08:00
max: 450,
2024-08-01 16:37:24 +08:00
radius: '150%',
center: ['55%', '76%'],
2024-10-22 14:00:39 +08:00
splitNumber: 2, //刻度数量
2024-08-01 16:37:24 +08:00
axisLine: {
show: true,
lineStyle: {
width: 10,
shadowBlur: 0,
color: [
[0.3, '#91c7a1'],
[0.7, '#63869e'],
[1, '#002B6A']
]
}
},
itemStyle: {
normal: {
shadowBlur: 10
}
},
//标题位置
title: {
fontWeight: 'bolder',
fontSize: 12,
offsetCenter: ['-130%', '-20%']
},
//数值位置
detail: {
fontSize: 12,
valueAnimation: true,
2024-08-01 16:37:24 +08:00
formatter: '{value}',
offsetCenter: ['0%', '25%']
},
data: [
{
2024-09-27 16:22:34 +08:00
value: 0,
2024-08-01 16:37:24 +08:00
name: 'A相'
}
]
}
]
}
}
echartsDataV1.value = JSON.parse(JSON.stringify(echartsData.value))
echartsDataV2.value = JSON.parse(JSON.stringify(echartsData.value))
echartsDataV3.value = JSON.parse(JSON.stringify(echartsData.value))
echartsDataV1.value.options.series[0].max = 12
echartsDataV2.value.options.series[0].max = 12
echartsDataV3.value.options.series[0].max = 12
2024-08-01 16:37:24 +08:00
echartsDataA1.value = echartsData.value
echartsDataA2.value = echartsData.value
echartsDataA3.value = echartsData.value
}
2024-07-22 10:35:01 +08:00
//接收父组件传递的table数据
const dataList: any = ref([])
const listV: any = ref([])
const listA: any = ref([])
const loading = ref(false)
//定义表格所需要的数据
const tableData: any = ref([])
const columnsData: any = ref([])
const getColumns = () => {
getRealTimeTableList().then(res => {
columnsData.value = res.data
2024-09-14 10:32:01 +08:00
getTableData(dataList.value)
2024-07-22 10:35:01 +08:00
})
}
//处理表格数据
2024-07-31 16:23:34 +08:00
const columnsDataTop: any = ref([])
const columnsDataBot: any = ref([])
2024-07-22 10:35:01 +08:00
const getTableData = (list: any) => {
2024-07-31 16:23:34 +08:00
loading.value = true
2024-07-22 10:35:01 +08:00
tableData.value = list
2024-07-31 16:23:34 +08:00
columnsDataTop.value = []
columnsDataBot.value = []
2024-09-14 10:32:01 +08:00
2024-07-31 16:23:34 +08:00
columnsData.value.map((item: any, index: any) => {
2024-07-22 10:35:01 +08:00
item.map((vv: any) => {
vv.statisticalData = list.find((kk: any) => {
return kk.anotherName == vv.showName && kk.phase == vv.phase
})?.statisticalData
2024-07-03 19:31:43 +08:00
})
2024-07-31 16:23:34 +08:00
if (index < 4) {
2024-09-14 10:32:01 +08:00
columnsDataTop.value.push(item)
2024-07-31 16:23:34 +08:00
}
if (index >= 4) {
columnsDataBot.value.push(item)
}
loading.value = false
2024-07-22 10:35:01 +08:00
})
2024-07-03 19:31:43 +08:00
}
2024-08-01 16:37:24 +08:00
//电流相角数组&电压相角数组
const iRadioList: any = ref([])
const vRadioList: any = ref([])
const realData = ref<any>({})
const realList = ref<any>([])
const setRealData = (val: any) => {
realData.value = val
realList.value = [val]
initRadioCharts()
//新的
echartsDataV1.value.options.series[0].data = [
{
name: 'A相',
value: realData.value.vRmsA || 0
2024-08-01 16:37:24 +08:00
}
]
pieChart1.value.initChart()
echartsDataV2.value.options.series[0].data = [
{
name: 'B相',
value: realData.value.vRmsB || 0
2024-08-01 16:37:24 +08:00
}
]
pieChart2.value.initChart()
echartsDataV3.value.options.series[0].data = [
{
name: 'C相',
value: realData.value.vRmsC || 0
}
]
pieChart3.value.initChart()
//新的电流有效值
echartsDataA1.value.options.series[0].data = [
{
name: 'A相',
value: realData.value.iRmsA || 0
}
]
pieChart4.value.initChart()
echartsDataA2.value.options.series[0].data = [
{
name: 'B相',
value: realData.value.iRmsB || 0
}
]
pieChart5.value.initChart()
echartsDataA3.value.options.series[0].data = [
{
name: 'C相',
value: realData.value.iRmsC || 0
}
]
pieChart6.value.initChart()
2024-07-22 10:35:01 +08:00
}
defineExpose({ setRealData })
2024-07-03 19:31:43 +08:00
onMounted(() => {
init()
2024-08-01 16:37:24 +08:00
initRadioCharts()
2024-07-03 19:31:43 +08:00
})
</script>
<style lang="scss" scoped>
.view {
width: 100%;
height: 100%;
box-sizing: border-box;
display: flex;
flex-direction: column;
2024-07-03 19:31:43 +08:00
.view_top {
width: 100%;
2024-10-17 14:08:58 +08:00
height: 340px !important;
2024-07-03 19:31:43 +08:00
display: flex;
justify-content: space-between;
//border: 1px solid #eee;
// padding: 10px;
2024-10-22 14:00:39 +08:00
margin-top: 10px;
2024-07-03 19:31:43 +08:00
.view_top_left,
.view_top_right {
2024-10-17 14:08:58 +08:00
// width: 300px;
flex: 1;
2024-07-03 19:31:43 +08:00
height: 100%;
2024-10-17 14:08:58 +08:00
// padding: 10px;
2024-07-03 19:31:43 +08:00
display: flex;
flex-direction: column;
align-items: center;
2024-07-22 10:35:01 +08:00
border: 1px solid #eee;
2024-07-03 19:31:43 +08:00
.left_charts,
.right_charts {
flex: none;
width: 100%;
2024-10-17 14:08:58 +08:00
height: 90px;
// margin-bottom: 16px;
// padding: 10px;
margin-bottom: 8px;
2024-07-03 19:31:43 +08:00
}
}
.view_top_mid {
2024-10-17 14:08:58 +08:00
// flex: 1;
width: 40%;
2024-07-03 19:31:43 +08:00
border: 1px solid #eee;
margin: 0 10px;
2024-10-23 14:37:11 +08:00
// padding: 10px;
position: relative;
2024-07-03 19:31:43 +08:00
.mid_charts {
width: 100%;
2024-10-22 14:00:39 +08:00
height: 280px;
// position: absolute;
// top: 20%;
// bottom: 10px;
2024-07-03 19:31:43 +08:00
}
}
2024-07-22 10:35:01 +08:00
.left_charts_title,
.mid_charts_title,
.right_charts_title {
width: 100%;
height: 20px;
text-align: left;
font-weight: 800;
font-weight: 16px;
line-height: 20px;
2024-10-23 14:37:11 +08:00
margin: 10px 0 0 10px;
padding-left: 5px;
box-sizing: border-box;
2024-07-22 10:35:01 +08:00
}
2024-07-03 19:31:43 +08:00
}
.view_bot {
min-height: 300px;
2024-10-16 16:57:04 +08:00
margin: 10px 0 0 0;
overflow: auto !important;
flex: 1 !important;
padding-bottom: 200px !important;
box-sizing: border-box !important;
2024-07-03 19:31:43 +08:00
.view_bot_tables {
margin-bottom: 10px;
height: auto;
2024-07-31 16:23:34 +08:00
min-height: 120px;
2024-07-03 19:31:43 +08:00
}
}
}
.view::-webkit-scrollbar {
display: none;
}
2024-07-31 16:23:34 +08:00
.table_container {
2024-07-22 10:35:01 +08:00
width: 100%;
2024-07-31 16:23:34 +08:00
height: auto;
2024-07-22 10:35:01 +08:00
display: flex;
2024-07-31 16:23:34 +08:00
align-items: center;
justify-content: center;
.table {
flex: 1;
.table_info {
2024-07-22 10:35:01 +08:00
width: 100%;
2024-07-31 16:23:34 +08:00
height: 120px;
// border: 1px solid #eee;
2024-07-31 16:23:34 +08:00
border-bottom: 2px solid #eee;
margin-bottom: 20px;
display: flex;
flex-direction: column;
2024-07-22 10:35:01 +08:00
}
2024-07-31 16:23:34 +08:00
.thead {
2024-07-22 10:35:01 +08:00
width: 100%;
2024-07-31 16:23:34 +08:00
height: auto;
background: #f4f6f9;
text-align: center;
2024-07-22 10:35:01 +08:00
display: flex;
2024-07-31 16:23:34 +08:00
flex-direction: column;
.thead_top {
width: 100%;
height: 40px;
line-height: 40px;
2024-07-22 10:35:01 +08:00
border: 1px solid #eee;
2024-07-31 16:23:34 +08:00
color: #111;
font-size: 14px;
font-weight: 800;
}
.thead_bot {
width: 100%;
height: 40px;
line-height: 40px;
display: flex;
color: #111;
font-size: 14px;
font-weight: 800;
.thead_bot_cell {
flex: 1;
border: 1px solid #eee;
}
2024-07-22 10:35:01 +08:00
}
}
2024-07-31 16:23:34 +08:00
.tbody {
2024-07-22 10:35:01 +08:00
flex: 1;
2024-07-31 16:23:34 +08:00
display: flex;
2024-07-22 10:35:01 +08:00
text-align: center;
2024-07-31 16:23:34 +08:00
.tbody_cell {
flex: 1;
text-align: center;
line-height: 40px;
border: 1px solid #eee;
border-bottom: 0;
}
}
.tbody:hover {
background: #f4f6f9;
2024-07-22 10:35:01 +08:00
}
}
}
2024-08-01 16:37:24 +08:00
.table_container:hover {
2024-07-31 16:23:34 +08:00
.table {
2024-08-01 16:37:24 +08:00
.tbody {
2024-07-31 16:23:34 +08:00
background: #f4f6f9;
2024-08-01 16:37:24 +08:00
}
}
2024-07-31 16:23:34 +08:00
}
2024-07-03 19:31:43 +08:00
</style>