/* pages/passCar/showList.wxss */ page { background-color: #dfdfdf; } .list { padding: 40rpx; } .list .item { position: relative; background-color: #fff; margin-bottom: 40rpx; border-radius: 20rpx; padding: 20rpx; } .list .item .child { margin-bottom: 20rpx; } .list .item .detail { position: absolute; right: 40rpx; top: 50%; transform: translateY(-50%); } .list .item .notice { position: absolute; right: 40rpx; top: 25rpx; transform: translateY(-50%); color: #ff0000; }