|
|
|
@ -61,7 +61,7 @@ |
|
|
|
</div> |
|
|
|
<!-- <a-range-picker :style="{width: '256px'}" /> --> |
|
|
|
</div> |
|
|
|
<a-tab-pane tab="销售量" key="2"> |
|
|
|
<a-tab-pane :tab="'销售量('+ homeDate.total_sale_ranking+'元)'" key="2"> |
|
|
|
<a-row> |
|
|
|
<a-col> |
|
|
|
<div class="rank"> |
|
|
|
@ -76,7 +76,7 @@ |
|
|
|
</a-col> |
|
|
|
</a-row> |
|
|
|
</a-tab-pane> |
|
|
|
<a-tab-pane tab="访问量" key="1"> |
|
|
|
<a-tab-pane :tab="'访问量('+ homeDate.total_ranking+'元)'" key="1"> |
|
|
|
<a-row> |
|
|
|
<a-col> |
|
|
|
<div class="rank"> |
|
|
|
@ -128,6 +128,7 @@ export default { |
|
|
|
rightDate:'year', |
|
|
|
saleRankingDate:'year' |
|
|
|
}, |
|
|
|
homeDate:{}, |
|
|
|
loading: false, |
|
|
|
barData:[], |
|
|
|
barData2:[], |
|
|
|
@ -221,6 +222,7 @@ export default { |
|
|
|
getList(){ |
|
|
|
home(this.query).then(res=>{ |
|
|
|
if(res.code==200){ |
|
|
|
this.homeDate=res.data |
|
|
|
for(let item in res.data){ |
|
|
|
this.tabList.map(tabItem=>{ |
|
|
|
if(item==tabItem.id){ |
|
|
|
|