Commit 470fb8c1 by 胡悦

提交运行数据样式

1 parent b96557c4
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2023-07-07 14:01:42
* @LastEditors: huyue
* @LastEditTime: 2023-08-02 17:06:11
* @LastEditTime: 2023-08-28 14:09:19
-->
<template>
<div>
......
......@@ -121,7 +121,7 @@ export default {
mounted() {
this.lineDom = document.getElementById(this.domId)
this[this.domId] = echarts.init(this.lineDom)
// this.chartBindEvent()
this.chartBindEvent()
},
methods: {
chartBindEvent() {
......@@ -142,6 +142,9 @@ export default {
this.chartAction(yIndex)
}, 500)
)
window.addEventListener('resize', () => {
this[this.domId].resize()
})
this[this.domId].getZr().on(
'mouseout',
utils.debounce(() => {
......
......@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-10-25 10:12:26
* @LastEditors: huyue
* @LastEditTime: 2023-08-17 18:03:51
* @LastEditTime: 2023-08-28 10:37:35
* @FilePath: \dj-data-view\src\views\saas\business.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
......@@ -114,6 +114,10 @@ export default {
.statistics-top {
.statistics-name {
margin-bottom: 0;
font-size: 12px;
}
.statistics-price-number {
font-size: 24px;
}
}
}
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2023-08-16 15:48:46
* @LastEditors: huyue
* @LastEditTime: 2023-08-16 15:51:22
* @LastEditTime: 2023-08-28 14:32:18
-->
<!--
* @Author: 前端 qianduan01@didihu.com.cn
......@@ -100,6 +100,9 @@ export default {
mounted() {
this.lineDom = document.getElementById(this.domId)
this[this.domId] = echarts.init(this.lineDom)
window.addEventListener('resize', () => {
this[this.domId].resize()
})
},
methods: {
chartBindEvent() {
......
......@@ -192,7 +192,7 @@ export default {
}
&-name {
font-weight: 500;
font-size: 14px;
font-size: 12px;
margin-bottom: 0.4vh;
height: 2.22vh;
}
......@@ -208,7 +208,7 @@ export default {
height: 3.11vh;
&-number {
padding-right: 0.56vw;
font-size: 20px;
font-size: 24px;
color: #5894ff;
background-image: -webkit-linear-gradient(left, #24d8ff, #7787ff);
-webkit-background-clip: text;
......@@ -221,7 +221,7 @@ export default {
font-size: 12px;
color: #95acd9;
border-top: 1px solid #2a3d72;
padding: 0.4vh 0.3vw 0;
padding: 0.3vh 0.3vw 0;
margin-top: 0.4vh;
.ratio {
display: flex;
......
......@@ -2,13 +2,13 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2022-10-25 10:12:26
* @LastEditors: huyue
* @LastEditTime: 2023-08-22 17:15:36
* @LastEditTime: 2023-08-28 10:50:59
* @FilePath: \dj-data-view\src\components\ViewSurface.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
<div class="surface">
<LineBar ref="lineBarCharts" domId="surfaceChart" boxHeight="23.06vh" :dataList="dataList"></LineBar>
<LineBar ref="lineBarCharts" domId="surfaceChart" boxHeight="23.5vh" :dataList="dataList"></LineBar>
</div>
</template>
<script type="text/ecmascript-6">
......
......@@ -345,7 +345,7 @@ function lineAndBarOptions(list) {
grid: {
left: '3%',
right: '6%',
top: '6%',
top: '10%',
bottom: '5%',
containLabel: true
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!