From 8904b98d7c14525c5f77f47e21b6a24f6f816221 Mon Sep 17 00:00:00 2001 From: 付延余 <f-yanyu@outlook.com> Date: 星期日, 24 四月 2022 15:39:27 +0800 Subject: [PATCH] 细节 --- src/pages/show/jiuyeAndChuangye/jiuyeAndChuangye.vue | 39 ++++++++++++++++++++++++--------------- 1 files changed, 24 insertions(+), 15 deletions(-) diff --git a/src/pages/show/jiuyeAndChuangye/jiuyeAndChuangye.vue b/src/pages/show/jiuyeAndChuangye/jiuyeAndChuangye.vue index 981806a..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> @@ -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,62 @@ 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 */; } } </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; + height: calc(100% - 0.390625rem /* 100/256 */); .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 */; + width: calc(100% - 0.9375rem); + padding: 0 0.078125rem /* 20/256 */; box-sizing: border-box; + height: 100%; } } -- Gitblit v1.9.1