feat:完善功能

This commit is contained in:
张先生
2025-03-18 16:59:36 +08:00
parent d43da24717
commit aeadb4d704
9 changed files with 46 additions and 30 deletions

View File

@@ -30,11 +30,12 @@
const init = () => {
if (!params) {
let center = ['25%', '50%']
params = {
color: ['#00B1FF', '#00FFFF', '#FF3737', '#DD5627', '#D3F0FE'],
legend: {
orient: 'vertical',
left: '54%',
left: '48%',
y: 'center',
itemHeight: fitChartSize(8),
itemWidth: fitChartSize(8),
@@ -61,8 +62,8 @@
type: 'pie',
clockwise: false,
silent: true,
center: ['30%', '50%'],
radius: ['50%', '60%'],
center: center,
radius: ['44%', '54%'],
itemStyle: {
borderColor: 'transparent',
borderRadius: fitChartSize(2),
@@ -79,7 +80,7 @@
type: 'pie',
clockwise: false,
silent: true,
center: ['30%', '50%'],
center: center,
radius: ['44%', '48%'],
itemStyle: {
borderColor: 'transparent',
@@ -97,7 +98,7 @@
type: 'pie',
clockwise: false,
silent: true,
center: ['30%', '50%'],
center: center,
radius: ['0', '40%'],
itemStyle: {
color: '#065EAD'
@@ -111,7 +112,7 @@
type: 'pie',
clockwise: false,
silent: true,
center: ['30%', '50%'],
center: center,
radius: ['0', '26%'],
itemStyle: {
color: '#0477D1'

View File

@@ -116,7 +116,7 @@
<div class="box-1">
<Title3 title="购票渠道" />
<TicketSource :list="homeStore.userPortraitData.channel" :width="230" :height="230" />
<TicketSource :list="homeStore.userPortraitData.channel" :width="230" :height="260" />
</div>
</div>
</div>