Commit 397b1280 by 张立顺

fix bug

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