Commit cfd2a873 by chenwq

echart请求顺序改变

1 parent 8553dd98
...@@ -193,6 +193,9 @@ Page({ ...@@ -193,6 +193,9 @@ Page({
{ {
type: 'value', type: 'value',
name: '元', name: '元',
nameTextStyle: {
padding: [0, 28, 0, 0]
},
position: 'left', position: 'left',
alignTicks: true, alignTicks: true,
offset: -10, offset: -10,
...@@ -200,16 +203,6 @@ Page({ ...@@ -200,16 +203,6 @@ Page({
formatter: '{value} 元' formatter: '{value} 元'
} }
} }
// {
// type: 'value',
// name: '米',
// position: 'right',
// alignTicks: true,
// offset: -10,
// axisLabel: {
// formatter: '{value} 米'
// }
// }
], ],
series: [ series: [
{ {
...@@ -282,6 +275,7 @@ Page({ ...@@ -282,6 +275,7 @@ Page({
rankTotal: res.total, rankTotal: res.total,
['rankPageCof.pageNum']: rankPageCof.pageNum + 1 ['rankPageCof.pageNum']: rankPageCof.pageNum + 1
}) })
this.getFlowRank()
}) })
}, },
...@@ -298,6 +292,7 @@ Page({ ...@@ -298,6 +292,7 @@ Page({
purTotal: res.total, purTotal: res.total,
['purPageCof.pageNum']: purPageCof.pageNum + 1 ['purPageCof.pageNum']: purPageCof.pageNum + 1
}) })
this.getPurTendency()
}) })
}, },
...@@ -331,7 +326,6 @@ Page({ ...@@ -331,7 +326,6 @@ Page({
} }
}) })
this.getOverview() this.getOverview()
this.getFlowRank()
this.getRankList() this.getRankList()
}, },
...@@ -343,7 +337,6 @@ Page({ ...@@ -343,7 +337,6 @@ Page({
this.initTime() this.initTime()
this.freshPage() this.freshPage()
this.getPurchaseList() this.getPurchaseList()
this.getPurTendency()
new setTimeout(() => { new setTimeout(() => {
wx.$api.hideLoading() wx.$api.hideLoading()
this.setData({ this.setData({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!