我在购物车中循环列出商品,每一项的下面有一个border,怎样设置wxss去掉最后一项的下边框呢?
.pro:last-child{
border-bottom: none; //不管用
}
.li:nth-last-child(
1
){
border-bottom
:
0