/* components/productCard/index.wxss */ .card{ display: flex; align-items: center; padding: 10px; } .flex{ flex: 1; display: flex; } .card image{ width: 50px; height: 50px; margin-right: 10px; } .small{ font-size: 24rpx; color:#999; line-height: 25px; } .deleteBtn { height: 25px; width: 25px; border-radius: 100%; font-size: 15rpx; color:#fff; background-color: #e34d59; display: flex; align-items: center; justify-content: space-around; } .flex-align-center{ display: flex; align-items: center; } input{ border-bottom:1px solid #f1f2f3 ; width: 50px; margin-left: 5px; color:#333 }