/*.com-ele-quantity view {*/ .com-ele-quantity { box-sizing: border-box; } .com-ele-quantity { display: inline-block; } .com-battery-frame-com { height: 200rpx; width: 80rpx; box-sizing: border-box; display: flex; flex-direction: row; align-items: center; } .com-battry-header { width: 8px; height: 16px; background-color: #0ac38e; border-top-left-radius: 1px; border-bottom-left-radius: 1px; } .com-battry-header, .com-battery-body { /* border: solid 1px rgb(163, 163, 163); */ border: solid 4px #0ac38e; } .com-battry-header-red, .com-battery-body-red { /* border: solid 1px rgb(163, 163, 163); */ border: solid 4px rgb(247, 109, 29); } .com-battery-body, .com-quantity-percent { border-radius: 8rpx; } .com-battery-body { width: 100%; height: 100%; background-color: #fff; padding: 1px; position: relative; display: flex; flex-direction: row; justify-content: flex-end; border-collapse: collapse; } .com-quantity-percent { background-color: #0ac38e; width: 100%; height: 100%; border-collapse: collapse; border-radius: 0rpx; } .com-quantity-des { font-size: 14px; position: absolute; bottom: 32%; width: 100%; text-align: center; color: rgb(88, 87, 87); font-weight: bolder; display: flex; flex-direction: row; justify-content: space-around; }