此处导航使用for循环
右侧border如果使用border-right 显示的话,需要添加padding
但是添加padding的话底部黄色线条会变长 不符合要求
此时可以使用伪类
.navItem:not(:last-child)::after{
content: "";
position: absolute;
display: inline-block;
top: 36rpx;
right: -20rpx;
width: 1px;
height: 18rpx;
background-color: rgba(169,126,105,0.2);
}