index.wxss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. .box {
  2. display: flex;
  3. }
  4. .box-lr {
  5. flex-direction: row;
  6. }
  7. .box-rl {
  8. flex-direction: row-reverse;
  9. }
  10. .box-tb {
  11. flex-direction: column;
  12. }
  13. .box-pack-center {
  14. justify-content: center;
  15. }
  16. .box-align-center {
  17. align-items: center;
  18. }
  19. .box-wrap {
  20. flex-wrap: wrap;
  21. }
  22. .flex {
  23. flex-grow: 1;
  24. }
  25. .bg {
  26. background-image: linear-gradient(to bottom, #faefe7, #ffcbd7);
  27. overflow: hidden;
  28. }
  29. .pink-color {
  30. color: #ff629a;
  31. }
  32. .white-color {
  33. color: #fff;
  34. }
  35. .fs24 {
  36. font-size: 24rpx;
  37. }
  38. .fs28 {
  39. font-size: 28rpx;
  40. }
  41. .fs32 {
  42. font-size: 32rpx;
  43. }
  44. .fs36 {
  45. font-size: 36rpx;
  46. }
  47. .datepicker-bg {
  48. position: fixed;
  49. top: 0;
  50. bottom: 0;
  51. left: 0;
  52. right: 0;
  53. }
  54. .datepicker-input {
  55. width: 300rpx;
  56. height: 50rpx;
  57. border: 1rpx solid #dadada;
  58. border-radius: 10rpx;
  59. padding: 10rpx;
  60. font-size: 28rpx;
  61. }
  62. /* stylelint-disable-next-line */
  63. .datepicker-input::-webkit-input-placeholder {
  64. color: #dadada;
  65. }
  66. .datepicker-wrap {
  67. background-color: #fff;
  68. box-shadow: 0 0 10rpx 0 #dadada;
  69. position: relative;
  70. }
  71. .top-handle {
  72. height: 80rpx;
  73. }
  74. .prev {
  75. text-align: right;
  76. height: 80rpx;
  77. }
  78. .next {
  79. height: 80rpx;
  80. }
  81. .prev-handle {
  82. width: 80rpx;
  83. height: 100%;
  84. }
  85. .next-handle {
  86. width: 80rpx;
  87. height: 100%;
  88. }
  89. .date-area {
  90. width: 50%;
  91. height: 80rpx;
  92. text-align: center;
  93. }
  94. .weeks {
  95. height: 50rpx;
  96. line-height: 50rpx;
  97. opacity: 0.5;
  98. }
  99. .week {
  100. text-align: center;
  101. }
  102. .days {
  103. height: 500rpx;
  104. }
  105. .grid {
  106. width: 14.285714285714286%;
  107. }
  108. .day {
  109. width: 60rpx;
  110. height: 60rpx;
  111. font-size: 26rpx;
  112. font-weight: 200;
  113. }
  114. .normal-day-color {
  115. color: #88d2ac;
  116. }
  117. .day-choosed-color {
  118. color: #fff;
  119. }
  120. .disable-day-color {
  121. color: #ddd;
  122. }
  123. .disable-day-circle {
  124. background-color: #fbfdff;
  125. }
  126. .border-radius {
  127. border-radius: 50%;
  128. position: relative;
  129. left: 0;
  130. top: 0;
  131. }
  132. .pink-bg {
  133. background-color: #ff629a;
  134. }
  135. .purple-bg {
  136. background-color: #b8b8f1;
  137. }
  138. .right-triangle::after {
  139. content: '';
  140. display: block;
  141. width: 0;
  142. height: 0;
  143. border: 15rpx solid transparent;
  144. border-left-color: #ff629a;
  145. position: absolute;
  146. right: -22rpx;
  147. top: 18rpx;
  148. }
  149. .left-triangle::before {
  150. content: '';
  151. display: block;
  152. width: 0;
  153. height: 0;
  154. border: 15rpx solid transparent;
  155. border-right-color: #ff629a;
  156. position: absolute;
  157. left: -22rpx;
  158. top: 18rpx;
  159. }
  160. .tips {
  161. text-align: center;
  162. margin-top: 20rpx;
  163. margin-bottom: 20rpx;
  164. }
  165. .types {
  166. background-color: #ffedf4;
  167. height: 50rpx;
  168. }
  169. .types-desc {
  170. padding: 0 20rpx;
  171. }
  172. .type-name {
  173. margin-top: 50rpx;
  174. margin-bottom: 30rpx;
  175. }
  176. .type-desc {
  177. padding: 0 35rpx;
  178. line-height: 38rpx;
  179. }
  180. .explain {
  181. border-top: 1px solid #eee;
  182. width: 90%;
  183. margin: 20rpx 5% 20rpx 5%;
  184. padding: 20rpx 0;
  185. }
  186. .explain-title {
  187. font-weight: bold;
  188. margin-bottom: 15rpx;
  189. }
  190. .explain-item {
  191. padding: 8rpx 20rpx;
  192. color: #fff;
  193. }
  194. .left-border-radius {
  195. border-top-left-radius: 20rpx;
  196. border-bottom-left-radius: 20rpx;
  197. }
  198. .right-border-radius {
  199. border-top-right-radius: 20rpx;
  200. border-bottom-right-radius: 20rpx;
  201. }