用css選擇選擇除了最后一個(gè)元素的所有元素
li:not(:last-child)
例如:
.postiton li:not(:last-child)::after{
content: '/';
position: absolute;
right: 0;
top: 0;
line-height: 50px;
font-size: 14px;
color: #666;
display: block;
width: 20px;
text-align: center;
}