修改
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<!--
|
||||
<!--
|
||||
filename: BarChartBase.vue
|
||||
author: liubin
|
||||
date: 2024-04-10 08:59:28
|
||||
description:
|
||||
description:
|
||||
-->
|
||||
|
||||
<template>
|
||||
@@ -18,7 +18,7 @@
|
||||
</div>
|
||||
<div
|
||||
ref="chart"
|
||||
style="max-width: 50vw"
|
||||
style="max-width: 40vw"
|
||||
:style="{ height: vHeight + 'vh' }"
|
||||
></div>
|
||||
</chart-container>
|
||||
@@ -199,6 +199,7 @@ export default {
|
||||
return;
|
||||
}
|
||||
const actualOptions = JSON.parse(JSON.stringify(this.options));
|
||||
console.log('actualOptions', this.options)
|
||||
actualOptions.series[0].data = val[0].data;
|
||||
actualOptions.series[0].name = val[0].name;
|
||||
actualOptions.series[1].data = val?.[1]?.data || [];
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<!--
|
||||
<!--
|
||||
filename: Container.vue
|
||||
author: liubin
|
||||
date: 2024-04-09 10:44:09
|
||||
description:
|
||||
description:
|
||||
-->
|
||||
|
||||
<template>
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
<!--
|
||||
filename: ContainerIcon.vue
|
||||
author: liubin
|
||||
date: 2024-04-09 16:41:36
|
||||
description:
|
||||
<!--
|
||||
* @Author: zhp
|
||||
* @Date: 2024-04-28 13:42:51
|
||||
* @LastEditTime: 2024-05-07 16:54:54
|
||||
* @LastEditors: zhp
|
||||
* @Description:
|
||||
-->
|
||||
|
||||
<template>
|
||||
@@ -14,8 +15,13 @@ import cube from "@/assets/images/homeindex/fto-icon.png";
|
||||
import chip from "@/assets/images/homeindex/chip-icon.png";
|
||||
import chip2 from "@/assets/images/homeindex/chip-icon-2.png";
|
||||
import bipv from "@/assets/images/homeindex/bipv-icon.png";
|
||||
import water from "@/assets/images/homeindex/water-icon.png";
|
||||
import gas from "@/assets/images/homeindex/gas-icon.png";
|
||||
import ware from "@/assets/images/homeindex/ware-icon.png";
|
||||
import flash from "@/assets/images/homeindex/flash-icon.png";
|
||||
import std from "@/assets/images/homeindex/std-icon.png";
|
||||
|
||||
|
||||
export default {
|
||||
name: "ContainerIcon",
|
||||
components: {},
|
||||
@@ -40,6 +46,10 @@ export default {
|
||||
bipv:
|
||||
"background: url(" + bipv + ") no-repeat center center / 100% 100%",
|
||||
std: "background: url(" + std + ") no-repeat center center / 100% 100%",
|
||||
water: "background: url(" + water + ") no-repeat center center / 100% 100%",
|
||||
gas: "background: url(" + gas + ") no-repeat center center / 100% 100%",
|
||||
flash: "background: url(" + flash + ") no-repeat center center / 100% 100%",
|
||||
ware: "background: url(" + ware + ") no-repeat center center / 100% 100%",
|
||||
}[this.icon];
|
||||
},
|
||||
},
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<!--
|
||||
<!--
|
||||
filename: CopilotHeader.vue
|
||||
author: liubin
|
||||
date: 2024-04-16 15:14:01
|
||||
description:
|
||||
description:
|
||||
-->
|
||||
|
||||
<template>
|
||||
@@ -63,7 +63,7 @@ export default {
|
||||
toggleFullScreen() {
|
||||
this.isFullscreen = !this.isFullscreen;
|
||||
|
||||
screenfull.toggle(document.querySelector(".copilot-layout"));
|
||||
screenfull.toggle(document.querySelector(".copilot-layout"))
|
||||
// 矫正宽度
|
||||
// const el = document.querySelector(".copilot-layout");
|
||||
// el.style.width = this.isFullscreen ? "100vw" : "calc(100vw - 54px)";
|
||||
|
||||
Reference in New Issue
Block a user