From 8ec245f457bc4c3bf4d7dd6664b476ca66c5afc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E5=8F=B6?= Date: Mon, 13 Feb 2023 16:53:08 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/dataAnalysis/detail/index.js | 29 ++++++++++++++-------------- pages/dataAnalysis/detail/index.wxml | 12 ++++++------ pages/dataAnalysis/index.js | 2 +- 3 files changed, 22 insertions(+), 21 deletions(-) diff --git a/pages/dataAnalysis/detail/index.js b/pages/dataAnalysis/detail/index.js index ff61144..8a38616 100644 --- a/pages/dataAnalysis/detail/index.js +++ b/pages/dataAnalysis/detail/index.js @@ -239,6 +239,7 @@ Page({ { name: 'Access From', type: 'pie', + bottom:'12%', radius: ['45%', '65%'], labelLine: { fontSize:5, @@ -304,13 +305,13 @@ Page({ name: 'Access From', type: 'pie', bottom:'12%', - radius: ['40%', '70%'], - avoidLabelOverlap: false, - itemStyle: { - borderRadius: 10, - borderColor: '#fff', - borderWidth: 2 - }, + radius: '70%', + // avoidLabelOverlap: false, + // itemStyle: { + // borderRadius: 10, + // borderColor: '#fff', + // borderWidth: 2 + // }, label: { show: false, position: 'center' @@ -377,13 +378,13 @@ Page({ name: 'Access From', type: 'pie', bottom:'12%', - radius: ['40%', '70%'], - avoidLabelOverlap: false, - itemStyle: { - borderRadius: 10, - borderColor: '#fff', - borderWidth: 2 - }, + radius: '70%', + // avoidLabelOverlap: false, + // itemStyle: { + // borderRadius: 10, + // borderColor: '#fff', + // borderWidth: 2 + // }, label: { show: false, position: 'center' diff --git a/pages/dataAnalysis/detail/index.wxml b/pages/dataAnalysis/detail/index.wxml index 106ad32..6eeca59 100644 --- a/pages/dataAnalysis/detail/index.wxml +++ b/pages/dataAnalysis/detail/index.wxml @@ -31,8 +31,8 @@ {{Pie1title}} - - + + {{pie1Bottom}} @@ -46,8 +46,8 @@ {{Pie2title}} - - + + {{pie2Bottom}} @@ -61,8 +61,8 @@ {{Pie3title}} - - + + {{pie3Bottom}} diff --git a/pages/dataAnalysis/index.js b/pages/dataAnalysis/index.js index 0a4d101..33df7c1 100644 --- a/pages/dataAnalysis/index.js +++ b/pages/dataAnalysis/index.js @@ -241,7 +241,7 @@ Page({ let params = {}; params['city_id'] = this.data.city_id; params['days'] = this.data.daysIndex == 0?'7':'30'; - _.apiQuery.getAppBizStats_days(params).then(res => { + _.apiQuery.getAppStatisticsStats_days(params).then(res => { //lineChartData = getLineOption() lineChartData = {