58b66491 by xiaomiao

优化样式

1 parent 539f1163
......@@ -71,7 +71,6 @@ this.yAxisData3 = newData.echartData.map(v => v.value3);
formatter: function(params) {
let html = '';
params.forEach(v => {
console.log(v)
html += `<div style="color: #000;font-size: 14px;line-height: 24px background-color: #000000">
<span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:${newData.color[v.componentIndex]};"></span>
${v.seriesName}.${v.name}
......
......@@ -33,8 +33,8 @@ export default {
grid: {
// 让图表占满容器
top: "0%",
left: "1%",
right: "30%",
left: "10%",
right: "40%",
bottom: "0%",
},
color: [
......@@ -60,7 +60,7 @@ export default {
{
name: "业务量",
type: "pie",
radius: [30, 80],
radius: [0, 80],
roseType: "area",
data: newData.seriesData
}
......
......@@ -40,6 +40,7 @@ export default {
mixins: [drawMixin],
data() {
return {
loading: true,
decorationColor: ["#568aea", "#568aea"],
};
},
......
......@@ -74,13 +74,16 @@ export default {
width: 33%;
height: 100%;
p {
height: 70px;
line-height: 70px;
margin: 15px;
height: 50px;
line-height: 50px;
font-size: 40px;
text-align: center;
color:rgb(246, 246, 229);
background: linear-gradient(143deg, #29C6F2 0%, #4370EF 100%);
}
p:nth-child(2) {
background:none;
color: rgb(223, 213, 81);
}
}
......
......@@ -79,7 +79,7 @@ export default {
},
components: { columnarsmat,Rose },
mounted() {
scroll(tableref.value.$refs.bodyWrapper);//设置滚动
},
beforeDestroy() {},
methods: {
......