58b66491 by xiaomiao

优化样式

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