ota.wxss 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. /* pages/OTA/ota.wxss */
  2. .item {
  3. display: flex;
  4. align-items: center;
  5. border-bottom: 1px solid #e0e0e0;
  6. justify-content: space-between;
  7. margin-inline: 32rpx;
  8. height: 120rpx;
  9. }
  10. .label {
  11. font-size: 16px;
  12. color: #333333;
  13. margin-left: 32rpx;
  14. }
  15. .arrow {
  16. margin-right: 16rpx;
  17. }
  18. .button {
  19. margin-top: 128rpx;
  20. display: flex;
  21. justify-content: center;
  22. align-items: center;
  23. margin-inline: 64rpx;
  24. font-size: 32rpx;
  25. font-weight: Medium;
  26. color: white;
  27. text-align: center;
  28. border-radius: 44rpx;
  29. height: 88rpx;
  30. }
  31. .background {
  32. position: absolute;
  33. top: 0;
  34. left: 0;
  35. width: 100%;
  36. height: 100%;
  37. background-color: rgba(0, 0, 0, 0.7);
  38. /* 半透明黑色背景 */
  39. }
  40. .content {
  41. width: 450rpx;
  42. height: 450rpx;
  43. background-color: white;
  44. border-radius: 20rpx;
  45. display: flex;
  46. justify-content: center;
  47. align-items: center;
  48. box-shadow: 0 0 20rpx rgba(0, 0, 0, 0.3);
  49. }
  50. .progress-bar-container {
  51. width: 90%;
  52. height: 20rpx;
  53. background-color: #e0e0e0;
  54. border-radius: 10rpx;
  55. overflow: hidden;
  56. }
  57. .progress-bar {
  58. height: 100%;
  59. background-color: #4caf50;
  60. /* 进度条颜色 */
  61. transition: width 0.3s ease-in-out;
  62. }