Demo:修改搜索结果列表样式
This commit is contained in:
parent
ab4cf28f9e
commit
8cd87890d3
@ -326,6 +326,20 @@ export default {
|
|||||||
padding: 0 12px;
|
padding: 0 12px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
position: relative;
|
||||||
|
padding-left: 22px;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
left: 10px;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
width: 5px;
|
||||||
|
height: 5px;
|
||||||
|
background-color: #606266;
|
||||||
|
border-radius: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: #f2f4f7;
|
background-color: #f2f4f7;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user