From 415d3759a79817aaeb103ed587df3de885ef3832 Mon Sep 17 00:00:00 2001 From: zhangxiaoxu123456 <zxx19900626> Date: 星期五, 15 四月 2022 17:36:21 +0800 Subject: [PATCH] 细节 --- src/pages/show/jiuyeAndChuangye/jiuyeChildren/zhiyePeixun.vue | 60 +++++++++++++++++++++++++++++++++++++++++++++--------------- 1 files changed, 45 insertions(+), 15 deletions(-) diff --git a/src/pages/show/jiuyeAndChuangye/jiuyeChildren/zhiyePeixun.vue b/src/pages/show/jiuyeAndChuangye/jiuyeChildren/zhiyePeixun.vue index f66d23e..c1f8f28 100644 --- a/src/pages/show/jiuyeAndChuangye/jiuyeChildren/zhiyePeixun.vue +++ b/src/pages/show/jiuyeAndChuangye/jiuyeChildren/zhiyePeixun.vue @@ -134,20 +134,34 @@ crossStyle: { color: '#999' } + }, + textStyle: { + color: '#fff', + fontSize: nowSize(28) } }, title: { text:'鍘嗗勾鑱屼笟鍩硅鎯呭喌鍒嗘瀽鍥�', left: 'center', - top:'3%', + top:'5%', textStyle: { color: '#fff', fontSize: nowSize(30) } }, + grid: { + top: '15%', + left: '4%', + right: '18%', + bottom: '3%', + containLabel: true + }, legend: { + data: ['瀹為檯鍩硅浜烘暟','瀹屾垚鐜�'], right:'3%', - top:'3%', + top:'center', + orient:'vertical', + itemGap: nowSize(50), textStyle: { color:'#fff', fontSize: nowSize(24) @@ -178,36 +192,46 @@ yAxis: [ { type: 'value', - name: 'Precipitation', - min: 0, - max: 250, - interval: 50, axisLabel: { - formatter: '{value} ml', textStyle: { color: '#fff', fontSize: nowSize(24) } }, axisLine: { - + lineStyle: { + color: "#999999", + width: 1, + type: "solid" + } + }, + splitLine: { + show: false } }, { type: 'value', - name: 'Temperature', - min: 0, - max: 25, - interval: 5, axisLabel: { - formatter: '{value} 掳C' + show: false, + formatter: '{value} %' + }, + axisLine: { + show: false, + }, + splitLine: { + show: false + }, + axisTick: { + show: false } } ], series: [ { - name: 'Evaporation', + name: '瀹為檯鍩硅浜烘暟', type: 'bar', + barWidth: nowSize(48), + color:'#51D2FF', tooltip: { valueFormatter: function (value) { return value + ' ml'; @@ -218,7 +242,7 @@ ] }, { - name: 'Temperature', + name: '瀹屾垚鐜�', type: 'line', yAxisIndex: 1, tooltip: { @@ -245,6 +269,12 @@ width: 100%; height: calc(100% - 0.078125rem /* 20/256 */); margin-top: 0.078125rem /* 20/256 */; + .el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell{ + background: transparent; + } + .el-table__body tr.hover-row.current-row>td.el-table__cell, .el-table__body tr.hover-row.el-table__row--striped.current-row>td.el-table__cell, .el-table__body tr.hover-row.el-table__row--striped>td.el-table__cell, .el-table__body tr.hover-row>td.el-table__cell{ + background: transparent; + } .el-table th.el-table__cell{ background-color:$color-blue; height: 0.3125rem /* 80/256 */; -- Gitblit v1.9.1