mirror of
https://gitee.com/dromara/go-view.git
synced 2025-06-29 16:29:14 +08:00
fix: 优化样式
This commit is contained in:
parent
5dff1aa08f
commit
d8ee5e7bfa
@ -23,7 +23,7 @@ export const handleCompanyTempTop =async (targetComponent: CreateComponentType)
|
||||
dimensions: ['名称','温度值'],
|
||||
source:res?.data.map((item: any)=>{
|
||||
return {
|
||||
'名称':`${item.node_name}-${item.dems_device_point.node_name}`,
|
||||
'名称':`${item.node_name}`,
|
||||
'温度值':item.dems_device_point.node_value,
|
||||
}
|
||||
})
|
||||
|
@ -21,7 +21,10 @@
|
||||
font-size: ${option.style.fontSize}px;
|
||||
border-width: ${option.style.border === 'on' ? option.style.borderWidth : 0}px;
|
||||
border-color: ${option.style.borderColor};
|
||||
border-style: ${option.style.borderStyle}`"
|
||||
border-style: ${option.style.borderStyle};
|
||||
|
||||
`
|
||||
"
|
||||
:bordered="option.style.border === 'on'"
|
||||
:single-column="option.style.singleColumn === 'on'"
|
||||
:single-line="option.style.singleLine === 'on'"
|
||||
@ -176,7 +179,8 @@ useChartCommonData(props.chartConfig, useChartEditStore)
|
||||
align-items: flex-end;
|
||||
}
|
||||
:deep(td) {
|
||||
background-color:red;
|
||||
text-align: left !important;
|
||||
// padding-left: 10px;
|
||||
}
|
||||
:deep(.n-data-table-th) {
|
||||
background-color:#1A1D25;
|
||||
|
Loading…
x
Reference in New Issue
Block a user