四大卫星运行状态监控系统

This commit is contained in:
2026-03-18 16:39:48 +08:00
parent 0cdfee2f2e
commit ca8c24c058
43 changed files with 2609 additions and 544 deletions

View File

@@ -11,11 +11,11 @@ import { GaugeChart } from "echarts/charts";
import VChart from "vue-echarts";
import { reactive, onMounted } from "vue";
use([
CanvasRenderer,
TitleComponent,
GaugeChart
]);
use([ CanvasRenderer, TitleComponent, GaugeChart ]);
const props = defineProps({
styleMode: String
});
onMounted(() => {
var mychart = document.getElementById("myCompass");
@@ -54,8 +54,8 @@ const option = reactive({
},
axisLabel:{
color: 'white',
distance: -40,
fontSize: 18,
distance: props.styleMode == "small" ? -35 : -40,
fontSize: props.styleMode == "small" ? 12 : 18,
formatter: function(v: Number){
switch(v){
case 0 : return '北';