Commit d35f8d51 authored by wang ff's avatar wang ff

commits

parent 17880e6a
......@@ -23,7 +23,7 @@ const option = ref({
yAxis: {
type: "value",
axisLabel: {
formatter: "{value}吨",
formatter: "{value}",
},
axisPointer: {
snap: true,
......
......@@ -13,23 +13,22 @@ import { defineComponent, reactive } from "vue";
export default defineComponent({
setup() {
const config = reactive({
header: ["类别", "数量", "装机容量/MW", "占比", "发电量/度", "占比"],
header: ["类别", "数量", "装机容量/MW", "占比", "发电量/亿", "占比"],
data: [
["火力", 59, 13161, "8.11%", "44亿", "92.53%"],
["光伏", " ", 147899, "91.09%", "19666万", "4.13%"],
["火力", 10, 13161, "77.27%", "43.7", "50.69%"],
["光伏", 43, 2738, "16.08%", "21.24", "24.64%"],
[
"   分布式光伏",
25809,
147148,
"90.62%",
"10644万",
"2.23%",
"分布式光伏",
38,
2456,
"14.42%",
"18.12",
"21.02%",
],
["    集中式光伏", 43, 743, "0.46%", "9040万", "1.90%"],
[" ", 1, 8, "0%", "2万", "0%"],
["风电", 16, 1088, "0.67%", "12345万", "0.54%"],
["垃圾焚烧", 5, 156, "0.10%", "2579万", "0.54%"],
["生物质", 3, 67, "0.04%", "1024", "0.21%"],
["集中式光伏", 5, 282, "1.66%", "3.12", "3.62%"],
["风电", 16, 1112, "6.53%", "17.43", "20.22%"],
["垃圾焚烧", 5, 15, "0.09%", "0.26", "0.30%"],
["生物质", 3, 6, "0.04%", "3.56", "4.13%"],
],
rowNum: 4, //表格行数
headerHeight: 30,
......@@ -50,7 +49,7 @@ export default defineComponent({
align-items: left;
}
::v-deep .header-item {
font-size: 10px !important;
font-size: 13px !important;
height: auto !important;
padding: 0;
line-height: 15px !important;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment