Commit bb19ea14 by 匡雅琴

样式调整

1 parent 39a505c0
...@@ -20,7 +20,7 @@ function getBarLineOptions(obj) { ...@@ -20,7 +20,7 @@ function getBarLineOptions(obj) {
data: [] data: []
}, },
yAxis: { yAxis: {
name: '', name: '家',
type: 'value', type: 'value',
// min: 0, // min: 0,
// max: 100, // max: 100,
......
...@@ -132,7 +132,7 @@ export default { ...@@ -132,7 +132,7 @@ export default {
value: '0' value: '0'
} }
], ],
tabList: ['业务趋势', '区域门店数据'], tabList: ['趋势分析', '区域门店数据'],
activeName: 0 activeName: 0
} }
}, },
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
--> -->
<template> <template>
<div class="trends-box"> <div class="trends-box">
<box-title title="业务趋势"></box-title> <box-title title="趋势分析"></box-title>
<BarChart ref="barTrendsRef" height="44.89vh" domId="barTrends" :dataList.sync="dataList" :tooltipFormatterObj="tooltipFormatterObj"></BarChart> <BarChart ref="barTrendsRef" height="44.89vh" domId="barTrends" :dataList.sync="dataList" :tooltipFormatterObj="tooltipFormatterObj"></BarChart>
<div class="legend"> <div class="legend">
<div class="legend-item"> <div class="legend-item">
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
--> -->
<template> <template>
<div class="trends-box"> <div class="trends-box">
<box-title title="业务趋势"></box-title> <box-title title="趋势分析"></box-title>
<div v-if="!isEmpty"> <div v-if="!isEmpty">
<div class="legend"> <div class="legend">
<div class="legend-item"> <div class="legend-item">
......
...@@ -63,8 +63,9 @@ export default { ...@@ -63,8 +63,9 @@ export default {
// }, // },
{ {
name: 'num', name: 'num',
width: '6vw', width: '8vw',
type: 'number' type: 'number',
preunit: '¥'
} }
], ],
rankPercentObj: [ rankPercentObj: [
......
...@@ -45,12 +45,13 @@ export default { ...@@ -45,12 +45,13 @@ export default {
}, },
{ {
name: 'merchantname', name: 'merchantname',
width: '9.72vw' width: '12vw'
}, },
{ {
name: 'num', name: 'num',
width: '5.5vw', width: '6.5vw',
type: 'number' type: 'number',
preunit: '¥'
} }
], ],
rankPercentObj: [ rankPercentObj: [
...@@ -60,11 +61,11 @@ export default { ...@@ -60,11 +61,11 @@ export default {
}, },
{ {
name: 'merchantname', name: 'merchantname',
width: '9.72vw' width: '12vw'
}, },
{ {
name: 'num', name: 'num',
width: '4vw', width: '3vw',
type: 'decimal' type: 'decimal'
} }
] ]
......
...@@ -39,7 +39,8 @@ export default { ...@@ -39,7 +39,8 @@ export default {
width: '9.72vw' width: '9.72vw'
}, },
{ {
name: 'num' name: 'num',
sufunit: '家'
} }
], ],
isEmpty: false isEmpty: false
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
--> -->
<template> <template>
<div class="trends-box"> <div class="trends-box">
<box-title title="业务趋势"></box-title> <box-title title="趋势分析"></box-title>
<div v-if="!isEmpty"> <div v-if="!isEmpty">
<div class="legend"> <div class="legend">
<div class="legend-item"> <div class="legend-item">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!