start-preview.wxss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. .preview-contain {
  2. height: 100vh;
  3. background: url('https://sit-kelamayi.4dage.com/mini/wxImg/bg.png') no-repeat center center;
  4. background-size: cover;
  5. overflow: auto;
  6. }
  7. .time-select {
  8. padding: 32rpx;
  9. }
  10. .divider {
  11. width: 698rpx;
  12. height: 4rpx;
  13. background: linear-gradient(90deg, #5B472E 0%, rgba(91, 71, 46, 0) 100%);
  14. opacity: 0.5;
  15. margin-top: 32rpx;
  16. }
  17. .select-moon {
  18. margin-top: 32rpx;
  19. }
  20. .moon-time {
  21. color: #584735;
  22. font-size: 32rpx;
  23. font-weight: bold;
  24. margin-bottom: 32rpx;
  25. display: block;
  26. }
  27. .morning-moon {
  28. display: flex;
  29. flex-direction: column;
  30. gap: 24rpx;
  31. }
  32. .time-card {
  33. position: relative;
  34. background: transparent;
  35. display: flex;
  36. flex-direction: column;
  37. justify-content: center;
  38. align-items: center;
  39. border: 2rpx solid #B1967B;
  40. border-radius: 16rpx;
  41. padding: 32rpx 40rpx;
  42. transition: all 0.3s ease;
  43. }
  44. .time-card.active {
  45. background: rgba(177, 150, 123, 0.4);
  46. border-color: #B1967B;
  47. }
  48. .time-card.disabled {
  49. opacity: 0.5;
  50. border-color: #ccc;
  51. pointer-events: none;
  52. }
  53. .time-card.disabled .time-period,
  54. .time-card.disabled .time-range,
  55. .time-card.disabled .availability {
  56. color: #999;
  57. }
  58. .time-period {
  59. font-size: 32rpx;
  60. font-weight: bold;
  61. color: #584735;
  62. margin-bottom: 8rpx;
  63. }
  64. .time-range {
  65. font-size: 32rpx;
  66. color: #5B472E;
  67. margin-bottom: 16rpx;
  68. }
  69. .availability {
  70. font-size: 24rpx;
  71. color: #5B472E;
  72. }
  73. .check-icon {
  74. position: absolute;
  75. top: 50%;
  76. right: 40rpx;
  77. transform: translateY(-50%);
  78. width: 48rpx;
  79. height: 48rpx;
  80. background: #B1967B;
  81. color: white;
  82. border-radius: 50%;
  83. display: flex;
  84. align-items: center;
  85. justify-content: center;
  86. font-size: 28rpx;
  87. font-weight: bold;
  88. }
  89. .next-btn {
  90. display: flex;
  91. justify-content: center;
  92. align-items: center;
  93. background: #B1967B;
  94. color: white;
  95. border: none;
  96. border-radius: 16rpx;
  97. padding: 32rpx;
  98. font-size: 32rpx;
  99. font-weight: bold;
  100. margin-top: 40rpx;
  101. transition: all 0.3s ease;
  102. }
  103. .next-btn.disabled {
  104. background: #ccc;
  105. }
  106. .next-btn:not(.disabled):active {
  107. background: #9A8169;
  108. }