3 == "vue Right-click on
<div @ contextmenu.prevent =" mouseRightClick ">
Prevent is to prevent the default mouse events
4 == "set up their own package, can not write @ click =" Delbg (index) " This one is no effect oh.
<-! Notecolordel is your own components ->
<notecolordel @ passFaDel = "passFaDel (index)" @ the Click = "Delbg (index)"> </ notecolordel>
5 == "How to use CSS to select all child elements other than the last one?
Element: Not (: Child-Last) {
// the CSS style
}
6 == "Tooltip text prompts to modify the background color of the arrow color
The original address https://blog.csdn.net/SundayAaron/article/details/81510193
<el-tooltip content="Top center" placement="right" popper-class="test">
<el-button>Dark</el-button>
</el-tooltip>
/ * The following two modifications arrows color * /
.el -tooltip__popper [X ^ = Placement- right] {.popper__arrow
border -right- Color: # 1ab394;
}
.el -tooltip__popper [X ^ = Placement- right] .popper__arrow: {After
border -right- color: # 1ab394;
}
/ * content balloon background color * /
.test {
background: # 1ab394 ! Important;
}