Commit 470fb8c1 by 胡悦

提交运行数据样式

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