From 77536cfa95b1e3c5e60f94dce3a53aa2e93f121a Mon Sep 17 00:00:00 2001
From: zhangxiaoxu123 <819527061@qq.com>
Date: 星期三, 14 九月 2022 17:35:54 +0800
Subject: [PATCH] echarts添加显示隐藏按钮
---
src/pages/show/jiuyeAndChuangye/jiuyeAndChuangye.vue | 35 +++++++++++++++++++++--------------
1 files changed, 21 insertions(+), 14 deletions(-)
diff --git a/src/pages/show/jiuyeAndChuangye/jiuyeAndChuangye.vue b/src/pages/show/jiuyeAndChuangye/jiuyeAndChuangye.vue
index 8e1a052..9531900 100644
--- a/src/pages/show/jiuyeAndChuangye/jiuyeAndChuangye.vue
+++ b/src/pages/show/jiuyeAndChuangye/jiuyeAndChuangye.vue
@@ -7,7 +7,7 @@
<h1>鍔冲姩灏变笟缁熻</h1>
</div>
</el-menu-item>
- <el-menu-item index="chuangyeDanbaoDaikuan">
+ <el-menu-item index="/chuangyeDanbaoDaikuan">
<div class="menu-left-block">
<h1>鍒涗笟鎷呬繚璐锋</h1>
</div>
@@ -48,20 +48,23 @@
border-right:none;
}
.el-menu-item, .el-submenu__title{
- height: 8rem;
- margin: 3rem 0;
+ height: 0.3125rem /* 80/256 */;
+ margin: 0.1171875rem /* 30/256 */ 0;
}
.el-menu-item{
background:url("../../../assets/images/jiuye-menu-normal.png") no-repeat center;
background-size: 100% 100%;
- width: 19.2rem;
- height: 8rem;
+ width: 0.75rem /* 192/256 */;
+ height: 0.3125rem /* 80/256 */;
+ display: flex;
+ justify-content: center;
+ padding: 0px!important;
}
.el-menu-item.is-active{
background:url("../../../assets/images/jiuye-menu-active.png") no-repeat center;
background-size: 100% 100%;
- width: 19.2rem;
- height: 8rem;
+ width: 0.75rem /* 192/256 */;
+ height: 0.3125rem /* 80/256 */;
}
}
@@ -71,32 +74,36 @@
@import "../../../assets/css/mixin";
.jiuyeAndChuangye-wrap{
width: 100%;
- padding: 2rem;
+ padding: 0.078125rem /* 20/256 */;
box-sizing: border-box;
display: flex;
+ height: calc(100% - 0.390625rem /* 100/256 */);
.menu-left{
width: 0.9375rem /* 240/256 */;
- height: 135rem /* 1249/10 */;
+ height: 5.2734375rem /* 1350/256 */;
background:url("../../../assets/images/jiuye-menu-bj.png") no-repeat center;
background-size: 100% 100%;
- padding: 4rem 0;
+ padding: 0.15625rem /* 40/256 */ 0;
box-sizing: border-box;
display: flex;
justify-content: center;
.menu-left-block{
+ width: 100%;
+ display: flex;
+ justify-content: center;
h1{
font-size: $fontSize-24;
color: $color-blue;
text-align: center;
- line-height: 8rem;
+ line-height: 0.3125rem /* 80/256 */;
}
}
}
.menu-right{
- flex: 1;
- padding: 0 2rem /* 20/10 */;
+ width: calc(100% - 0.9375rem);
+ padding: 0 0.078125rem /* 20/256 */;
box-sizing: border-box;
- @include overflow-y(150rem)
+ height: 100%;
}
}
--
Gitblit v1.9.1