This commit is contained in:
lin
2024-07-07 02:42:35 +08:00
parent cde5a7572c
commit 8b7281ccf0
11 changed files with 226 additions and 367 deletions
+6 -8
View File
@@ -75,9 +75,7 @@ Page({
}
this.getAppArea()
let that = this
//消息通讯
_.eventBus.on("customerstats", this, function(res){
let that = this;
@@ -292,7 +290,7 @@ Page({
},
//订单数据
//数据
getAppStatisticsStats_customer(){
this.setData({
showPie1Chart:false,
@@ -413,9 +411,9 @@ Page({
data: []
},
grid: {
top: '1%',
left: '5%',
right: '5%',
top: '2%',
left: '2%',
right: '2%',
bottom: '35',
containLabel: true
},
@@ -442,7 +440,7 @@ Page({
BarChartData.yAxis.data = yAxis_data
BarChartData.series[0].data = res.data.bar.series_data
this.setData({
Barheight:100 + 60*(res.data.bar.xAxis_data.length),
Barheight:120 + 60*(res.data.bar.xAxis_data.length),
Bartitle:res.data.bar.title,
showBarChart:true,
['ecBar.onInit']:BarChart,
+2
View File
@@ -43,7 +43,9 @@
<view class="mb30 pl30 pr30">
<view class="relative inner30 pb60 pt40 bg-fff box-shadow-000-10-10 ulib-r10">
<view class="font-36">转化漏斗</view>
<view class="mt50 mb20 relative height-400 z-index-0">
<view class="absolute wp100 height-400" wx:if="{{showFunnelChart}}">
<ec-canvas class="absolute top-0 bottom-0 left-0 right-0" ec="{{ ecFunnel }}"></ec-canvas>
</view>