|
@@ -244,22 +244,22 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
-::v-deep.menuParentItem .el-submenu__title,
|
|
|
-::v-deep.menuParentItem .el-submenu__title:hover {
|
|
|
+::v-deep.menuParentItem .el-submenu__title{
|
|
|
background: #eff1f300 !important;
|
|
|
color: #fff !important;
|
|
|
}
|
|
|
:v-deep.menuParentItem .el-submenu__title:hover {
|
|
|
color: #eee !important;
|
|
|
}
|
|
|
-::v-deep .menuParentItem,
|
|
|
-::v-deep .menuParentItem:hover {
|
|
|
+::v-deep .menuParentItem{
|
|
|
background-image: url("../../../assets/head-tab.png") !important;
|
|
|
background-repeat: no-repeat !important;
|
|
|
background-position: center !important;
|
|
|
- background-size: 100%, 100% !important;
|
|
|
- height: 80px !important;
|
|
|
- width: 140px !important;
|
|
|
+
|
|
|
+ background-size: 100% 60% !important;
|
|
|
+
|
|
|
+ height: 100px !important;
|
|
|
+ width: 160px !important;
|
|
|
display: flex !important;
|
|
|
align-items: center !important;
|
|
|
justify-content: center !important;
|
|
@@ -268,16 +268,14 @@ export default {
|
|
|
::v-deep.el-menu {
|
|
|
background-color: #eff1f300 !important;
|
|
|
}
|
|
|
-::v-deep.hdMenuTitle,
|
|
|
-::v-deep.hdMenuTitle:hover {
|
|
|
- background-color: #1b3b7f !important;
|
|
|
+::v-deep.hdMenuTitle{
|
|
|
+ background-color: transparent !important;
|
|
|
padding: 0px !important;
|
|
|
}
|
|
|
|
|
|
-::v-deep.titles,
|
|
|
-::v-deep.titles:hover {
|
|
|
+::v-deep.titles{
|
|
|
width: 100% !important;
|
|
|
- background-image: url("../../../assets/headerBorder.png") !important;
|
|
|
+ // background-image: url("../../../assets/headerBorder.png") !important;
|
|
|
background-size: 35%, 100% !important;
|
|
|
background-repeat: repeat-x !important;
|
|
|
padding: 0px !important;
|
|
@@ -287,13 +285,14 @@ export default {
|
|
|
background-image: url("../../../assets/headerText.png") !important;
|
|
|
background-size: 100% 100%;
|
|
|
color: #fff;
|
|
|
- font-size: 18px;
|
|
|
+ font-size: 26px;
|
|
|
font-weight: 600;
|
|
|
text-align: center;
|
|
|
display: block;
|
|
|
width: 100%;
|
|
|
- height: 45px;
|
|
|
- padding: 0px 30px;
|
|
|
+
|
|
|
+ height: 70px;
|
|
|
+ padding: 0px 50px;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
@@ -374,24 +373,60 @@ export default {
|
|
|
.el-menu--horizontal .el-menu-item.is-active {
|
|
|
color: #ffffff !important;
|
|
|
}
|
|
|
-</style>
|
|
|
|
|
|
-<!-- /* 华电时的菜单打开这个 */ -->
|
|
|
-<!-- <style lang="scss">
|
|
|
-.el-menu--popup {
|
|
|
- width: 100% !important;
|
|
|
- min-width: 120px !important;
|
|
|
- .el-menu-item {
|
|
|
- width: 100% !important;
|
|
|
- min-width: unset !important;
|
|
|
- text-align: center;
|
|
|
- padding: 0 5px !important;
|
|
|
+
|
|
|
+// 默认样式(大屏)
|
|
|
+::v-deep .menuParentItem {
|
|
|
+ width: 160px !important;
|
|
|
+ height: 100px !important;
|
|
|
+ // 其他样式
|
|
|
+}
|
|
|
+
|
|
|
+::v-deep .headerText {
|
|
|
+ font-size: 26px;
|
|
|
+ height: 70px;
|
|
|
+ // 其他样式
|
|
|
+}
|
|
|
+
|
|
|
+// 平板设备(小于1200px)
|
|
|
+@media screen and (max-width: 1650px) {
|
|
|
+ ::v-deep .menuParentItem {
|
|
|
+ width: 140px !important;
|
|
|
+ height: 100px !important;
|
|
|
+ }
|
|
|
+
|
|
|
+ ::v-deep .headerText {
|
|
|
+ font-size: 22px;
|
|
|
+ height: 50px;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+// 非华电公司放开这个注释下面的
|
|
|
.el-submenu__title * {
|
|
|
font-size: 16px;
|
|
|
}
|
|
|
.el-menu-item * {
|
|
|
font-size: 16px;
|
|
|
}
|
|
|
-</style> -->
|
|
|
+</style>
|
|
|
+
|
|
|
+ <!-- /* 华电时的菜单打开这个 */ -->
|
|
|
+ <style lang="scss">
|
|
|
+// .el-menu--popup {
|
|
|
+// width: 100% !important;
|
|
|
+// min-width: 120px !important;
|
|
|
+// .el-menu-item {
|
|
|
+// width: 100% !important;
|
|
|
+// min-width: unset !important;
|
|
|
+// text-align: center;
|
|
|
+// padding: 0 5px !important;
|
|
|
+// }
|
|
|
+// }
|
|
|
+// .el-submenu__title * {
|
|
|
+// font-size: 20px;
|
|
|
+// }
|
|
|
+// .el-menu-item * {
|
|
|
+// font-size: 20px;
|
|
|
+// }
|
|
|
+</style>
|