posture-guide.wxss 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. .posture-guide {
  2. min-height: 100vh;
  3. background-color: #fff;
  4. padding: 30rpx;
  5. }
  6. .guide-content {
  7. display: flex;
  8. flex-direction: column;
  9. align-items: center;
  10. }
  11. .guide-title {
  12. font-size: 36rpx;
  13. font-weight: bold;
  14. margin-bottom: 20rpx;
  15. color: #333;
  16. }
  17. .guide-subtitle {
  18. font-size: 28rpx;
  19. color: #666;
  20. margin-bottom: 40rpx;
  21. }
  22. /* 轮播图样式 */
  23. .guide-swiper {
  24. width: 100%;
  25. height: 800rpx;
  26. margin: 30rpx 0;
  27. position: relative;
  28. padding-bottom: 40rpx; /* 添加底部padding为指示点留出空间 */
  29. }
  30. .swiper-item {
  31. display: flex;
  32. flex-direction: column;
  33. align-items: center;
  34. justify-content: center;
  35. height: 100%;
  36. }
  37. .guide-image {
  38. width: 90%;
  39. height: 600rpx;
  40. object-fit: contain;
  41. }
  42. .image-description {
  43. margin-top: 20rpx;
  44. font-size: 28rpx;
  45. color: #333;
  46. text-align: center;
  47. }
  48. .guide-instructions {
  49. padding: 20rpx;
  50. margin: 30rpx 0;
  51. text-align: center;
  52. font-size: 28rpx;
  53. color: #666;
  54. background-color: #f8f8f8;
  55. border-radius: 10rpx;
  56. width: 90%;
  57. margin-top: 60rpx;
  58. }
  59. .confirm-button {
  60. width: 80%;
  61. height: 88rpx;
  62. line-height: 88rpx;
  63. background-color: #0039b3;
  64. color: #fff;
  65. border-radius: 44rpx;
  66. font-size: 32rpx;
  67. margin-top: 40rpx;
  68. }
  69. /* 禁用状态的按钮样式 */
  70. .button-disabled {
  71. background-color: #cccccc;
  72. opacity: 0.8;
  73. }
  74. /* 修改指示点容器样式 */
  75. .uni-swiper-dots {
  76. display: flex;
  77. justify-content: center;
  78. position: absolute;
  79. bottom: 0;
  80. left: 0;
  81. right: 0;
  82. }
  83. /* 修改指示点样式 */
  84. .uni-swiper-dot {
  85. width: 16rpx !important;
  86. height: 16rpx !important;
  87. margin: 0 8rpx !important;
  88. border-radius: 50%;
  89. background: rgba(0, 0, 0, 0.3) !important;
  90. }
  91. .uni-swiper-dot-active {
  92. background: #000000 !important;
  93. }