Commit 397b1280 by 张立顺

fix bug

1 parent cee9d138
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</el-popover> </el-popover>
</div> </div>
<!-- PC0008 服务商 屏蔽联系我们 --> <!-- PC0008 服务商 屏蔽联系我们 -->
<div class="menu-icons"> <div class="menu-icons" v-if="$config.customized.assets != 'jl'">
<span class="menu-icon"> <span class="menu-icon">
<el-badge class="item"> <el-badge class="item">
<i class="i i-contact" /> <i class="i i-contact" />
...@@ -224,12 +224,15 @@ export default { ...@@ -224,12 +224,15 @@ export default {
</script> </script>
<style lang="scss"> <style lang="scss">
$tip-color: #666 !important; $tip-color: #666 !important;
.base-merchant-name-tooltip { .base-merchant-name-tooltip {
background-color: $tip-color; background-color: $tip-color;
/* 修改箭头位置和背景色 */ /* 修改箭头位置和背景色 */
&.el-tooltip__popper.is-dark .popper__arrow { &.el-tooltip__popper.is-dark .popper__arrow {
left: unset !important; left: unset !important;
right: 1em !important; right: 1em !important;
&:after { &:after {
border-bottom-color: $tip-color; border-bottom-color: $tip-color;
} }
...@@ -238,18 +241,22 @@ $tip-color: #666 !important; ...@@ -238,18 +241,22 @@ $tip-color: #666 !important;
</style> </style>
<style lang="scss" scoped> <style lang="scss" scoped>
@import '~@/assets/style/mixins.scss'; @import '~@/assets/style/mixins.scss';
@mixin icon($color: rgb(153, 153, 153), $font-size: 20px) { @mixin icon($color: rgb(153, 153, 153), $font-size: 20px) {
font-size: 20px; font-size: 20px;
font-weight: bolder; font-weight: bolder;
color: rgb(153, 153, 153); color: rgb(153, 153, 153);
} }
.scrm-base-nav { .scrm-base-nav {
height: $header-height; height: $header-height;
background-color: #fff; background-color: #fff;
@include leftpadding; @include leftpadding;
/deep/.nav-text { /deep/.nav-text {
display: flex; display: flex;
margin-left: 2px; margin-left: 2px;
&, &,
a, a,
.sprator { .sprator {
...@@ -257,9 +264,11 @@ $tip-color: #666 !important; ...@@ -257,9 +264,11 @@ $tip-color: #666 !important;
font-weight: 500; font-weight: 500;
color: #3b457f; color: #3b457f;
} }
.sprator { .sprator {
margin: 0 4px; margin: 0 4px;
} }
&-avatar { &-avatar {
display: inline-block; display: inline-block;
margin-left: 2px; margin-left: 2px;
...@@ -269,10 +278,12 @@ $tip-color: #666 !important; ...@@ -269,10 +278,12 @@ $tip-color: #666 !important;
max-width: 12em; max-width: 12em;
} }
} }
.nav-left { .nav-left {
display: flex; display: flex;
align-items: center; align-items: center;
} }
.menu-icons { .menu-icons {
padding-right: 20px; padding-right: 20px;
display: flex; display: flex;
...@@ -285,16 +296,19 @@ $tip-color: #666 !important; ...@@ -285,16 +296,19 @@ $tip-color: #666 !important;
margin: 0 10px; margin: 0 10px;
cursor: pointer; cursor: pointer;
transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
&.drOpen { &.drOpen {
transform: rotate(-180deg); transform: rotate(-180deg);
} }
} }
} }
} }
.el-dropdown-menu { .el-dropdown-menu {
background: #fff; background: #fff;
border: 1px solid #e4e7ed; border: 1px solid #e4e7ed;
box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.06); box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.06);
&__item { &__item {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
...@@ -302,19 +316,23 @@ $tip-color: #666 !important; ...@@ -302,19 +316,23 @@ $tip-color: #666 !important;
max-width: 10em; max-width: 10em;
min-width: 8em; min-width: 8em;
user-select: none; user-select: none;
i.icon { i.icon {
font-weight: bold; font-weight: bold;
font-size: 16px; font-size: 16px;
} }
&:focus, &:focus,
&:not(.is-disabled):hover { &:not(.is-disabled):hover {
background-color: #ebeaff; background-color: #ebeaff;
color: $main-color; color: $main-color;
} }
} }
&.drop-sub { &.drop-sub {
opacity: 0; opacity: 0;
transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
/deep/.popper__arrow::after { /deep/.popper__arrow::after {
display: none; display: none;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!