Commit f8ca975b by 前端

更新sass+代码

1 parent f7125f68
......@@ -25,7 +25,7 @@ export default {
},
colors: {
type: Array,
default: () => ['#FF6E76', '#7CFFB2', ' #FDF006', '#4FA0FF', '#EB6001', '#BF98FF', '#BF98FF', '#58D9F9']
default: () => ['#FF6E76', '#7CFFB2', ' #FDF006', '#4FA0FF', '#EB6001', '#BF98FF', '#58D9F9','#C1EBDD', '#FFC851', '#5A5476']
}
},
watch: {
......
......@@ -39,7 +39,7 @@ export default {
},
colors: {
type: Array,
default: () => ['#FF6E76', '#7CFFB2', ' #FDF006', '#4FA0FF', '#EB6001', '#BF98FF', '#58D9F9']
default: () => ['#FF6E76', '#7CFFB2', ' #FDF006', '#4FA0FF', '#EB6001', '#BF98FF', '#58D9F9','#C1EBDD', '#FFC851', '#5A5476']
},
size: {
type: String,
......@@ -106,7 +106,7 @@ export default {
color: this.colors,
series: [
{
name: '客户年龄分布',
// name: '客户年龄分布',
type: 'pie',
radius: this.radius,
center: ['50%', '50%'],
......@@ -124,15 +124,14 @@ export default {
show: true,
fontSize: this.size,
fontWeight: 'bold',
color:'#fff',
color: '#fff',
formatter: '{d}%'
}
},
labelLine: {
show: false
},
data: this.viewData,
minAngle: 30
data: this.viewData
}
]
}
......
......@@ -18,10 +18,14 @@
</div>
</div>
<div class='day-trend'>
<view-sub-title title='每日订单成功门店数趋势' />
<view-sub-title title='每月订单成功门店数趋势' />
<div class='line-bar-chart'>
<LineBar domId='dayTrend' :isDatazoom='true' :dataList='dayTrend' :displayName='displayName'
boxHeight='46vh'></LineBar>
<LineBar
domId='dayTrend'
:isDatazoom='true'
:dataList='dayTrend'
:displayName='displayName'
boxHeight='46vh'></LineBar>
</div>
</div>
</div>
......@@ -42,8 +46,8 @@ export default {
components: { RankContent, EquityOrder, SelectOptions, LineBar },
data() {
return {
orderList: null,//订单
memberMonthlyTrend: null,//近12个月订单量、订单收入趋势
orderList: null, // 订单
memberMonthlyTrend: null, // 近12个月订单量、订单收入趋势
dayTrend: null,
displayName: {
xName: 'statDate',
......@@ -76,9 +80,9 @@ export default {
//
this.getMemberMonthlyTrend() // 获取月度趋势
this.getMerchantOrderNumTrend() //每日订单成功的门店数趋势
this.getMerchantOrderNumTrend() // 每日订单成功的门店数趋势
this.getTotalRate() //获取订单总数、今年新增订单量、收入总额的占比
this.getTotalRate() // 获取订单总数、今年新增订单量、收入总额的占比
},
handleParamsAndMethod(methodName, resName, hasEmitEvent) {
......@@ -89,7 +93,6 @@ export default {
} else {
this[resName] = res.data.dataList
}
}
})
},
......
......@@ -38,10 +38,10 @@ export default {
data() {
return {
diffsTitle: {
'transWork': '各类商品每月订单数',
'expandedGold': '各活动场次订单量',
'transWork': '各月各商品订单量排名',
'expandedGold': '各月各活动订单量排名',
'crowdFunding': '各月各商品订单量排名',
'noWorries': '各类商品每月订单数'
'noWorries': '各月各商品订单量排名'
},
diffsGoodsName: {
'transWork': 'goodsName',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!