This commit is contained in:
zy_zr 2025-04-18 16:32:34 +08:00
parent 3b4ffc6a06
commit aa8b574b35
2 changed files with 6 additions and 8 deletions

View File

@ -15,7 +15,6 @@ const optionsData = [
name: "待办", name: "待办",
value: 2056, value: 2056,
itemStyle: { itemStyle: {
// color: "#2A71FF"
echarts:'rgba(44,44,44,0.8)' echarts:'rgba(44,44,44,0.8)'
} }
}, },
@ -54,7 +53,7 @@ const echartInit = () => {
name: "pie2d", name: "pie2d",
type: "pie", type: "pie",
label: { label: {
// show: false, show: false,
opacity: 1, opacity: 1,
fontSize: 14, fontSize: 14,
lineHeight: 20, lineHeight: 20,
@ -64,7 +63,7 @@ const echartInit = () => {
} }
}, },
labelLine: { labelLine: {
// show: false, show: false,
length: 20, length: 20,
length2: 25 length2: 25
}, },
@ -90,7 +89,7 @@ const echartInit = () => {
itemGap: 14, itemGap: 14,
itemHeight: 8, itemHeight: 8,
itemWidth: 17, itemWidth: 17,
right: "2%", right: "20%",
textStyle: { textStyle: {
color: "#fff", color: "#fff",
fontSize: 12 fontSize: 12
@ -152,11 +151,11 @@ const echartInit = () => {
show: false, show: false,
boxHeight: 0.01, boxHeight: 0.01,
bottom: "50%", bottom: "50%",
left:'-12%', left:'-18%',
// environment: "rgba(255,255,255,0)",// // environment: "rgba(255,255,255,0)",//
viewControl: { viewControl: {
distance: 180, // , distance: 130, // ,
alpha: 25, // alpha: 30, //
beta: 0,// beta: 0,//
autoRotate: false // autoRotate: false //
} }

View File

@ -71,7 +71,6 @@
<script setup> <script setup>
import * as MOSTY from "@/components/MyComponents/index"; import * as MOSTY from "@/components/MyComponents/index";
import YjItem from "./components/yjItem.vue"; import YjItem from "./components/yjItem.vue";
import Count from "./components/count.vue";
import WarningCount from "./components/WarningCount.vue"; import WarningCount from "./components/WarningCount.vue";
import BarHatEcharts from "@/views/home/echarts/barHatEcharts.vue"; import BarHatEcharts from "@/views/home/echarts/barHatEcharts.vue";
import { reactive, ref } from "vue"; import { reactive, ref } from "vue";