From 40feea558614c1e328d002a4aeb5fbee220ca3bf Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Thu, 24 Oct 2024 14:10:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E8=A1=A8=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/realName/index/components/pie-charts-model-girl.vue | 8 ++++---- pages/realName/index/components/pie-charts-model-man.vue | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pages/realName/index/components/pie-charts-model-girl.vue b/pages/realName/index/components/pie-charts-model-girl.vue index 9f8c67e..2532971 100644 --- a/pages/realName/index/components/pie-charts-model-girl.vue +++ b/pages/realName/index/components/pie-charts-model-girl.vue @@ -11,7 +11,7 @@ export default { return { chartData: {}, opts: { - color: ['#fc8483', '#91CB74', '#FAC858', '#EE6666', '#73C0DE', '#3CA272', '#FC8452', '#9A60B4', '#ea7ccc'], + color: ['#fc8483'], padding: undefined, backgroundColor: '#fc8483', title: { @@ -33,7 +33,7 @@ export default { endAngle: 0.75, gap: 2, direction: 'ccw', - linearType: 'custom' + linearType: 'none' } } } @@ -54,9 +54,9 @@ export default { let data = { series: [ { + name: '', color: '#fc8483', - backgroundColor: '#fc8483', - data: dataGirl + data: 0.9 } ] } diff --git a/pages/realName/index/components/pie-charts-model-man.vue b/pages/realName/index/components/pie-charts-model-man.vue index 57dd2c8..3697f9e 100644 --- a/pages/realName/index/components/pie-charts-model-man.vue +++ b/pages/realName/index/components/pie-charts-model-man.vue @@ -32,7 +32,7 @@ export default { startAngle: 0.75, endAngle: 0.25, gap: 2, - linearType: 'custom' + linearType: 'none' } } } @@ -53,8 +53,8 @@ export default { let data = { series: [ { + name: '', color: '#67cde6', - backgroundColor: '#67cde6', data: dataBoy } ]