datepick.wxss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. .page {
  2. padding: 20rpx 30rpx;
  3. background: #fff;
  4. }
  5. .typechoise {
  6. height: 80rpx;
  7. line-height: 80rpx;
  8. position: relative;
  9. }
  10. .timetype {
  11. float: left;
  12. width: 350rpx;
  13. display: flex;
  14. }
  15. .timetype view {
  16. flex: 1;
  17. text-align: center;
  18. color: #666;
  19. }
  20. .timetype view.typeact {
  21. color: #fff;
  22. background: #2b9dff;
  23. border-radius: 40rpx;
  24. }
  25. .typechoise image {
  26. width: 40rpx;
  27. height: 40rpx;
  28. position: absolute;
  29. top: 50%;
  30. margin-top: -20rpx;
  31. }
  32. .msgtip {
  33. right: 100rpx;
  34. }
  35. .datetip {
  36. right: 30rpx;
  37. }
  38. .timechoise {
  39. height: 120rpx;
  40. background: #fff;
  41. }
  42. .swpcik {
  43. height: 120rpx;
  44. display: flex;
  45. text-align: center;
  46. }
  47. .swpcik view {
  48. flex: 1;
  49. position: relative;
  50. }
  51. .swpcik .now::after {
  52. position: absolute;
  53. width: 10rpx;
  54. height: 10rpx;
  55. border-radius: 50%;
  56. background: #2b9dff;
  57. content: ' ';
  58. bottom: 0;
  59. left: 50%;
  60. margin-left: -5rpx;
  61. }
  62. .swpcik .act text {
  63. background: #ebf6ff;
  64. color: #2b9dff;
  65. }
  66. .swpcik text {
  67. position: absolute;
  68. border-radius: 50%;
  69. content: ' ';
  70. top: 50%;
  71. left: 50%;
  72. }
  73. .day text {
  74. width: 60rpx;
  75. height: 60rpx;
  76. line-height: 60rpx;
  77. margin-left: -30rpx;
  78. margin-top: -30rpx;
  79. }
  80. .month text {
  81. width: 80rpx;
  82. height: 80rpx;
  83. line-height: 80rpx;
  84. margin-left: -40rpx;
  85. margin-top: -40rpx;
  86. }
  87. .year text {
  88. width: 140rpx;
  89. height: 60rpx;
  90. line-height: 60rpx;
  91. margin-left: -70rpx;
  92. margin-top: -30rpx;
  93. border-radius: 30rpx !important;
  94. }
  95. .phbname {
  96. float: left;
  97. margin-right: 20rpx;
  98. width: 200rpx;
  99. }
  100. .down-arrow {
  101. position: relative;
  102. }
  103. .down-arrow::after {
  104. border-left: 5px solid transparent;
  105. border-right: 5px solid transparent;
  106. border-top: 5px solid #555;
  107. content: "";
  108. position: relative;
  109. top: 26rpx;
  110. width: 0;
  111. left: 10rpx;
  112. }
  113. .backcover {
  114. position: fixed;
  115. top: 0;
  116. bottom: 0;
  117. left: 0;
  118. right: 0;
  119. background: #555;
  120. opacity: 0.8;
  121. z-index: 9;
  122. }
  123. .dtod {
  124. position: fixed;
  125. left: 0;
  126. right: 0;
  127. top: 0;
  128. background: #fff;
  129. z-index: 10;
  130. bottom: 0;
  131. }
  132. .dtod scroll-view {
  133. position: absolute;
  134. top: 200rpx;
  135. left: 0;
  136. right: 0;
  137. bottom: 0;
  138. }
  139. .tophead {
  140. background: #f5f5f5;
  141. padding-top: 10rpx;
  142. padding-bottom: 10rpx;
  143. }
  144. .date-day {
  145. display: flex;
  146. padding: 5px;
  147. text-align: center;
  148. justify-content: center;
  149. align-items: center;
  150. flex-direction: column;
  151. float: left;
  152. }
  153. .flexrow {
  154. display: flex;
  155. }
  156. .date-day.bgitem {
  157. background-color: #d8ecf9;
  158. }
  159. .date-day.active {
  160. background: #099fde;
  161. color: #fff !important;
  162. }
  163. .date-day.unavailable {
  164. color: #aaa;
  165. }
  166. .date-week {
  167. flex: 1;
  168. justify-content: center;
  169. align-content: center;
  170. margin: 5px;
  171. text-align: center;
  172. }
  173. .week {
  174. color: #099fde;
  175. }
  176. .flex1 {
  177. flex: 1;
  178. }
  179. .datelist {
  180. padding: 30rpx 0;
  181. }
  182. .date-year-month {
  183. text-align: center;
  184. font-size: 19px;
  185. }
  186. .item-days {
  187. display: flex;
  188. flex-direction: column;
  189. justify-content: center;
  190. align-items: center;
  191. font-size: 35rpx;
  192. }
  193. .bgwhite {
  194. background-color: #fff;
  195. }
  196. .zdytime {
  197. height: 80rpx;
  198. line-height: 80rpx;
  199. text-align: center;
  200. }
  201. .timeout {
  202. height: 100rpx;
  203. }
  204. .timeout view {
  205. border: 1rpx solid #aaa;
  206. width: 80rpx;
  207. height: 60rpx;
  208. float: right;
  209. text-align: center;
  210. line-height: 60rpx;
  211. margin-right: 40rpx;
  212. }