diff --git a/src/packages/components/Charts/MyComponents/DeviceStatus/config.ts b/src/packages/components/Charts/MyComponents/DeviceStatus/config.ts index e668b83..a68d78d 100644 --- a/src/packages/components/Charts/MyComponents/DeviceStatus/config.ts +++ b/src/packages/components/Charts/MyComponents/DeviceStatus/config.ts @@ -8,23 +8,28 @@ export const option = { header: ['所属企业', '设备类型', '设备名称'], headerTextColor: '#ffffff', textColor: '#ffffff', - headerBackgroundColor: '#1A385A', - itemBackgroundColor: '#0F233E', + headerBackgroundColor: 'rgba(26, 56, 90, 0.5)', + itemBackgroundColor: 'rgba(15, 35, 62, 0.5)', timeColor: '#FF4D4F', headerHeight: 40, itemHeight: 35, fontSize: 14, title: '设备实时在线概况', - titleSize: 18, + titleSize: 20, titleColor: '#ffffff', iconColor: '#00E5FF', onlineRate: 75, onlineDevice: 23, - totalDevice: 100 + totalDevice: 100, + headerBgColor1: '#0059c9', + headerBgColor2: '#003a8c', + legendColors: ['#00E5FF', '#00FF7F', '#FFFFFF'], + progressColor: '#00E5FF', + progressBgColor: '#1A385A' } export default class Config extends PublicConfigClass implements CreateComponentType { public key = DeviceStatusConfig.key public chartConfig = DeviceStatusConfig public option = option -} \ No newline at end of file +} diff --git a/src/packages/components/Charts/MyComponents/DeviceStatus/index.vue b/src/packages/components/Charts/MyComponents/DeviceStatus/index.vue index 7d85ff8..7acd301 100644 --- a/src/packages/components/Charts/MyComponents/DeviceStatus/index.vue +++ b/src/packages/components/Charts/MyComponents/DeviceStatus/index.vue @@ -1,29 +1,50 @@