Commit 4e4c865a authored by sujie@126.com's avatar sujie@126.com

dd

parent 43fddb7c
...@@ -34,8 +34,10 @@ Page({ ...@@ -34,8 +34,10 @@ Page({
windowWidth:320, windowWidth:320,
total:0, total:0,
ringChart:{ ringChart:{
1:'',
} 2:'',
3:''
},
}, },
/** /**
...@@ -307,7 +309,7 @@ Page({ ...@@ -307,7 +309,7 @@ Page({
classCours:data.list classCours:data.list
}) })
data.list.forEach((ele,index) => { data.list.forEach((ele,index) => {
this.initRingChart(ele,index+1) this.initRingChart(index+1,ele)
}); });
} }
}).catch((res)=>{ }).catch((res)=>{
......
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
left: -18rpx; left: -18rpx;
} }
.ring-chart-box .chart-box .chart-item{ .ring-chart-box .chart-box .chart-item{
flex: 1; width: 33%;
} }
.ring-chart-box .chart-box .chart-item .name{ .ring-chart-box .chart-box .chart-item .name{
font-size:24rpx; font-size:24rpx;
......
...@@ -239,7 +239,7 @@ Page({ ...@@ -239,7 +239,7 @@ Page({
let prevPage = pages[pages.length - 2]; let prevPage = pages[pages.length - 2];
prevPage.setData({ prevPage.setData({
consumer_id: this.data.checkedIdStr, consumer_id: this.data.checkedIdStr,
consumer_names: this.data.checkedNames.join(",") consumer_names: this.data.checkedNames.join(","),
}) })
wx.navigateBack({ wx.navigateBack({
delta: 1, delta: 1,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment