@@ -6,6 +6,7 @@
<el-button
@click="onMenuCollapse"
circle
+ style="font-size: 20px"
:icon="menuCollapse? 'el-icon-s-unfold' : 'el-icon-s-fold'"
></el-button>
</div>
@@ -20,8 +20,8 @@
</article>
<article class="card">
- <h5 class="title">PSA</h5>
- <span class="value">19.8</span>
+ <h5 class="title">LSY非生产天数</h5>
+ <span class="value">12</span>
<div class="describe">
<div class="up">
<span>年同比</span>
@@ -37,8 +37,8 @@
+ <h5 class="title">平均胎次</h5>
+ <span class="value">2.3</span>
@@ -102,8 +102,7 @@ export default {
border-radius: 10px;
color: #999;
.title{
- font-size: 30px;
-
+ font-size: 28px;
}
.value{
font-size: 30px;
@@ -1,6 +1,6 @@
<template>
<div class="PSY_chart">
- <div id="PSY_chart" style="width: 60%;height:400px;"></div>
+ <div id="PSY_chart" style="width: 70%;height:500px;"></div>
</template>
@@ -55,6 +55,12 @@ export default {
{
type: "category",
data: [
+ "一月",
+ "二月",
+ "三月",
+ "四月",
+ "五月",
+ "六月",
"七月",
"八月",
"九月",
@@ -69,7 +75,8 @@ export default {
],
yAxis: [
- type: "value"
+ type: "value",
+ scale: true
series: [
@@ -77,7 +84,7 @@ export default {
name: "数量",
type: "line",
barWidth: "50%",
- data: [40, 66, 80, 120, 82, 66],
+ data: [20,27,38,35,50, 66, 98, 120, 99, 66,40,30],
encode: {
// Map the "amount" column to X axis.
x: "amount",