通过before和after实现的,
&:nth-child(2){
&::before {
content: "";
position: absolute;
left: 0;
top: 15%;
height: 70%;
border-left: 1px solid #645F72;
}
&::after {
content: "";
position: absolute;
right: 0;
top: 15%;
height: 70%;
border-right: 1px solid #645F72;
}
}