diff --git a/src/assets/styles/util.scss b/src/assets/styles/util.scss index 9cf9bdf..4f2478a 100644 --- a/src/assets/styles/util.scss +++ b/src/assets/styles/util.scss @@ -365,19 +365,20 @@ text { .filter-gray { filter: grayscale(1); } -.youhui-tips{ - background: #fff; - min-width: 150px; - border-radius: 4px; - border: 1px solid #ebeef5!important; - padding: 12px; - color: #606266; - line-height: 1.4; - text-align: justify; - font-size: 14px; - box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1); - word-break: break-all; +.youhui-tips.el-tooltip__popper { + background: #fff; + min-width: 150px; + border-radius: 4px; + border: 1px solid #ebeef5 !important; + padding: 12px; + color: #606266; + line-height: 1.4; + text-align: justify; + font-size: 14px; + box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); + word-break: break-all; } - ::v-deep .youhui-tips .popper__arrow{ - border-top-color: #ebeef5; - } \ No newline at end of file + .youhui-tips.el-tooltip__popper[x-placement^="top"] .popper__arrow:after, + .youhui-tips.el-tooltip__popper[x-placement^="top"] .popper__arrow { + border-top-color: #fff; +} \ No newline at end of file diff --git a/src/views/tool/Instead/index.vue b/src/views/tool/Instead/index.vue index 34a4cb3..7a2c0a9 100644 --- a/src/views/tool/Instead/index.vue +++ b/src/views/tool/Instead/index.vue @@ -390,10 +390,18 @@