/* packageI/parkCouponFree/components/car-number-input/car-number-input.wxss */ .car-number-input { display: flex; flex-direction: row; align-items: center; justify-content: space-around; } .car-number-input .cell { width: 66rpx; height: 80rpx; display: flex; flex-direction: row; align-items: center; justify-content: center; font-size: 30rpx; background-color: #f5f5f5; border-radius: 10rpx; border: 1rpx solid #7d7d7d; color: #303030; position: relative; } .small-text::after{ content: "新能源"; line-height: 80rpx; font-size: 20rpx; color: #7d7d7d; } .car-number-input .cell:nth-child(2){ margin-right: 16rpx; } .car-number-input .cell:nth-child(2)::before{ content: "."; position: absolute; top: 0; right: -18rpx; font-size: 36rpx; font-weight: 1000; } .car-number-input .cell:nth-child(8){ color: #ff2c2c; } .car-number-input .cell.focus { border: 1rpx solid #0099ff; box-shadow: 0rpx 0rpx 10rpx #0099ff; } .car-number-input .cell .cursor { width: 2rpx; height: 30rpx; background-color: #0099ff; animation: flashing 1.2s infinite steps(1, start); } @keyframes flashing { 0%, 100% { background-color: #0099ff; } 50% { background-color: transparent; } } .car-number-input .cell.eco { border: 1rpx dashed #7d7d7d; } .car-number-input .cell.eco.focus { border-color: #36d292; box-shadow: 0rpx 0rpx 10rpx #36d292; } .car-number-input .cell.eco .cursor { background-color: #36d292; animation: flashing-eco 1.2s infinite steps(1, start); } @keyframes flashing-eco { 0%, 100% { background-color: #36d292; } 50% { background-color: transparent; } }