diff --git a/src/components/cart/CartItem.vue b/src/components/cart/CartItem.vue index ed220af..306433e 100644 --- a/src/components/cart/CartItem.vue +++ b/src/components/cart/CartItem.vue @@ -93,12 +93,12 @@ function goToDetail() { // border-radius: 16rpx; border-bottom: 1rpx solid #f5f5f5; margin-bottom: 0; + position: relative; // 移到嵌套规则之前 &:last-child { border-bottom: none; padding-bottom: 0; } - position: relative; } .checkbox {