This commit is contained in:
熊丽君
2022-02-18 13:26:58 +08:00
parent b7213c1012
commit a66a0425bd

View File

@ -45,11 +45,13 @@
> >
<el-tooltip <el-tooltip
v-model="item.disabled" v-model="item.disabled"
:hide-after="3000"
content="您有一条新消息" content="您有一条新消息"
placement="top" placement="top"
effect="light" effect="light"
popper-class="x_popper"
manual
> >
<!-- :hide-after="3000" -->
<!-- manual --> <!-- manual -->
<i class="el-icon-location"></i> <i class="el-icon-location"></i>
</el-tooltip> </el-tooltip>
@ -296,6 +298,19 @@ export default {
}, },
}; };
</script> </script>
<style lang="scss">
.x_popper {
background-color: #3765af !important;
border: 0 !important;
color: #fff;
.popper__arrow {
border-top-color: #3765af !important;
&::after {
border-top-color: #3765af !important;
}
}
}
</style>
<style lang="scss" scoped> <style lang="scss" scoped>
.center1 { .center1 {
position: absolute; position: absolute;