/* components/num-range/num-range.wxss */ .content { display: flex; justify-content: space-around; align-items: center; height: 35px; } .right, .left { height: 100%; display: flex; border-radius: 20px; align-items: center; justify-content: space-between; border: 1px solid #ccc; display: flex; padding: 0px 5px; .unit { text-align: center; color: #333; border-top-right-radius: 17.5px; border-bottom-right-radius: 17.5px; font-size: 12px; width: 50px; } }