From 6f87c0bcb9dd11bcef2370e3262cf803b76ed39c Mon Sep 17 00:00:00 2001
From: 付延余 <f-yanyu@outlook.com>
Date: 星期二, 12 四月 2022 18:12:20 +0800
Subject: [PATCH] 其他业务
---
src/pages/show/jiuyeAndChuangye/jiuyeAndChuangye.vue | 36 +++++++++++++++++++++++-------------
1 files changed, 23 insertions(+), 13 deletions(-)
diff --git a/src/pages/show/jiuyeAndChuangye/jiuyeAndChuangye.vue b/src/pages/show/jiuyeAndChuangye/jiuyeAndChuangye.vue
index 981806a..608af47 100644
--- a/src/pages/show/jiuyeAndChuangye/jiuyeAndChuangye.vue
+++ b/src/pages/show/jiuyeAndChuangye/jiuyeAndChuangye.vue
@@ -22,7 +22,7 @@
<h1>姣曚笟鐢熺粺璁�</h1>
</div>
</el-menu-item>
- <el-menu-item>
+ <el-menu-item index="/zhiyePeixun">
<div class="menu-left-block">
<h1>鑱屼笟鍩硅</h1>
</div>
@@ -48,53 +48,63 @@
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-left: 0;
}
.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 */;
}
}
</style>
<style lang="scss" scoped>
@import "../../../assets/css/base";
+ @import "../../../assets/css/mixin";
.jiuyeAndChuangye-wrap{
width: 100%;
- padding: 2rem;
+ padding: 0.078125rem /* 20/256 */;
box-sizing: border-box;
display: flex;
.menu-left{
- width: 24rem /* 240/10 */;
- height: 124.9rem /* 1249/10 */;
+ width: 0.9375rem /* 240/256 */;
+ 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 */;
+ padding: 0 0.078125rem /* 20/256 */;
box-sizing: border-box;
+ height: 5.27344rem;
+ @include overflow-y()
+
}
}
--
Gitblit v1.9.1