comEleQuantity.css 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /*.com-ele-quantity view {*/
  2. .com-ele-quantity {
  3. box-sizing: border-box;
  4. }
  5. .com-ele-quantity {
  6. display: inline-block;
  7. }
  8. .com-battery-frame-com {
  9. height: 200rpx;
  10. width: 80rpx;
  11. box-sizing: border-box;
  12. display: flex;
  13. flex-direction: column;
  14. align-items: center;
  15. }
  16. .com-battry-header {
  17. width: 16px;
  18. height: 8px;
  19. background-color: #45c358;
  20. border-top-left-radius: 1px;
  21. border-top-right-radius: 1px;
  22. }
  23. .com-battry-header,
  24. .com-battery-body {
  25. /* border: solid 1px rgb(163, 163, 163); */
  26. border: solid 4px #45c358;
  27. }
  28. .com-battry-header-red,
  29. .com-battery-body-red {
  30. /* border: solid 1px rgb(163, 163, 163); */
  31. border: solid 4px rgb(247, 109, 29);
  32. }
  33. .com-battery-body,
  34. .com-quantity-percent {
  35. border-radius: 8rpx;
  36. }
  37. .com-battery-body {
  38. width: 100%;
  39. height: 100%;
  40. background-color: #fff;
  41. padding: 1px;
  42. position: relative;
  43. display: flex;
  44. flex-direction: column;
  45. justify-content: flex-end;
  46. border-collapse: collapse;
  47. }
  48. .com-quantity-percent {
  49. background-color: #45c358;
  50. width: 100%;
  51. height: 10%;
  52. border-collapse: collapse;
  53. border-radius: 0rpx;
  54. }
  55. .com-quantity-des {
  56. font-size: 10px;
  57. position: absolute;
  58. bottom: 42%;
  59. width: 93%;
  60. text-align: center;
  61. color: rgb(88, 87, 87);
  62. font-weight: bolder;
  63. display: flex;
  64. flex-direction: row;
  65. justify-content: space-around;
  66. }