This commit is contained in:
lnn19986213 2024-04-16 09:01:34 +08:00
parent 23ac9c636e
commit 8481e3453e
4 changed files with 7 additions and 5 deletions

View File

@ -1,5 +1,5 @@
<template>
<div ref="chart" style="width: 100%; height: 200px"></div>
<div ref="chart" style="width: 100%; height: calc(100% - 36px);"></div>
</template>
<script setup >

View File

@ -1,5 +1,5 @@
<template>
<div ref="chart" style="width: 100%; height: 200px"></div>
<div ref="chart" style="width: 100%; height: calc(100% - 36px);"></div>
</template>
<script setup >

View File

@ -1,5 +1,5 @@
<template>
<div ref="chart" style="width:100%;height:200px;"></div>
<div ref="chart" style="width:100%;height:calc(100% - 200px);"></div>
</template>
<script setup>
@ -238,7 +238,7 @@ function getPie3D(pieData, internalDiameterRatio) {
zoomSensitivity: 0, //0
panSensitivity: 0, //0
alpha: 25, //( )
distance: 90, //zoom()
distance: 100, //zoom()
},
top: '-30',
left: '-120',

View File

@ -207,7 +207,7 @@ const change = (name, index) => {
<style lang="scss" scoped>
.displayFlex {
box-sizing: border-box;
// height: 90vh;
height: 100%;
display: flex;
flex-direction: column;
// flex: 1;
@ -228,6 +228,8 @@ const change = (name, index) => {
.module {
display: flex;
width: 100%;
height: calc(100vh - 112px);
}
.yd_title {