calendar.wxss 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  1. /* component/calendar/calendar.wxss */
  2. /* .icon {
  3. background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACcUlEQVRYhe2WvWtUURDFf8dNVk1ETViMX4WNna22CopELBQUkYASgzFFUPBPsLGSgAqJGDRGBEUsRA0KIthaip2I/4CEoIR8JyP33lldl7fuR1AL9xSP3Xfvmzlz7pl5jyaa+O+hq0NDqDEV8sBGYA3wDZirP4TFhxvFApAD1gPz5TGqF2Xx2pK5puwA9uuPPUA30A48Bd43Ukg2gWpQTHwe2Iax5GRuA6//BoFuwQDQaUF6xaPYBFzCYryXf4yAoAc44We/INjgJvzqGwYwWg2e1Rqzogmt9MwTjgGngBXvgLB8Axh1HyiuiV7BwVoJ1KpAqPqMu70dtFbYNWDC7SqwfoMp0r9BLHbHi2qBa2nDk0A/aAmUF9oscR1pAikJIR4g3RXqUFIoxD0nOLQqAoLjwFlgOuyVKCDGve3KMY54BOqMrBTVDSQON0rgqLfajJCF5IJ7SmdeifBIICgISgQSbUCPYH+9BI4Ag8BidLzY4VXf+V01TmIM9BhU8Gc7gNOCfVn7s0y4N1SuNNuXhbYDDwU3qyX/QUIMm7Eo6HNj7gQueKe8KyfQ4guh2gPAZW+zWdAW4Al1JC+RYjTMBKA3xYpdcZE0O974rlxIXvDeDhv6gF1Kg6UrnrcYqTv5TwwLpi0VFRTd6oTmQB/AckUPrMS5LjpR9MU6n+2rSV7EfRQH1orSwOoC2w0WlQ+XZZ9qs/57CnQFLMnk47A4FdXYx8MYMJl8ECN9hPgSyxdNGM7qC3DLibyt9Ea3rHtmFddK8DzlURvYZ1c5GrA4ueZBr5S8EPp3JjNgyc061QgvsE9gk/4x0+qKN9FEE/8QwHd9qo6ectzgFAAAAABJRU5ErkJggg==");
  4. background-size: 100% auto;
  5. width: 32rpx;
  6. height: 32rpx;
  7. } */
  8. .flex {
  9. display: flex;
  10. justify-content: space-between;
  11. align-items: center;
  12. }
  13. .swiper {
  14. transition: height 0.3s;
  15. }
  16. .header-wrap {
  17. display: flex;
  18. justify-content: space-between;
  19. align-items: center;
  20. }
  21. .today {
  22. width: 88rpx;
  23. height: 42rpx;
  24. background: #F3F4F4;
  25. border-radius: 22rpx;
  26. font-size: 24rpx;
  27. line-height: 42rpx;
  28. color: #868D8D;
  29. text-align: center;
  30. margin-right: 6rpx;
  31. }
  32. .today:active {
  33. background: #dfdfdf;
  34. color: #5f6464;
  35. }
  36. .direction-column {
  37. flex-direction: column;
  38. }
  39. .flex1 {
  40. flex: 1;
  41. }
  42. .flex-center {
  43. display: flex;
  44. justify-content: center;
  45. align-items: center;
  46. }
  47. .flex-start {
  48. display: flex;
  49. justify-content: flex-start;
  50. align-items: center;
  51. }
  52. .flex-end {
  53. display: flex;
  54. justify-content: flex-end;
  55. align-items: center;
  56. }
  57. .flex-around {
  58. display: flex;
  59. justify-content: space-around;
  60. align-items: center;
  61. }
  62. .flex-wrap {
  63. flex-wrap: wrap;
  64. }
  65. .align-start {
  66. align-items: flex-start;
  67. }
  68. .align-end {
  69. align-items: flex-end;
  70. }
  71. .align-stretch {
  72. align-items: stretch;
  73. }
  74. .calendar {
  75. font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", "Source Han Sans", "Noto Sans CJK Sc", "Microsoft YaHei", "Microsoft Jhenghei", sans-serif;
  76. background-size: 100% 100%;
  77. background-repeat: no-repeat;
  78. background-image: url("https://point.xiuqinews.cn/file/file?fileName=detail_point_bg.png");
  79. overflow: hidden;
  80. height: auto;
  81. padding-top: 15rpx;
  82. }
  83. .calendar .title {
  84. padding: 10rpx 16rpx 10rpx 20rpx;
  85. line-height: 60rpx;
  86. font-size: 32rpx;
  87. font-weight: 600;
  88. color: #1C2525;
  89. line-height: 44px;
  90. letter-spacing:1px;
  91. }
  92. .calendar .title .year-month {
  93. margin-right: 20rpx;
  94. }
  95. .calendar .title .icon {
  96. padding: 0 16rpx;
  97. font-size: 32rpx;
  98. color: #999;
  99. }
  100. .calendar .title .open {
  101. background-color: #f6f6f6;
  102. color: #999;
  103. font-size: 22rpx;
  104. line-height: 36rpx;
  105. border-radius: 18rpx;
  106. padding: 0 14rpx;
  107. }
  108. .list-open {
  109. position: relative;
  110. justify-content: center;
  111. }
  112. .list-open .icon::after {
  113. content: '';
  114. position: absolute;
  115. top: 16rpx;
  116. right: 60rpx;
  117. display: block;
  118. width: 278rpx;
  119. height: 0rpx;
  120. border-bottom: 2rpx solid rgba(214, 219, 219, 0.68);
  121. }
  122. .list-open .icon::before {
  123. content: '';
  124. position: absolute;
  125. top: 16rpx;
  126. left: 60rpx;
  127. display: block;
  128. width: 278rpx;
  129. height: 0rpx;
  130. border-bottom: 2rpx solid rgba(214, 219, 219, 0.68);
  131. }
  132. .fold {
  133. transform: rotate(0deg);
  134. }
  135. .unfold {
  136. transform: rotate(180deg);
  137. }
  138. .calendar .calendar-week {
  139. line-height: 40rpx;
  140. padding: 0 25rpx;
  141. font-size: 28rpx;
  142. color: #999;
  143. }
  144. .calendar .calendar-week .view {
  145. width: 100rpx;
  146. text-align: center;
  147. }
  148. .calendar .calendar-main {
  149. padding: 18rpx 25rpx 0rpx;
  150. transition: height 0.3s;
  151. align-content: flex-start;
  152. overflow: hidden;
  153. }
  154. .calendar .calendar-main .day {
  155. position: relative;
  156. width: 100rpx;
  157. color: #666;
  158. text-align: center;
  159. height: 82rpx;
  160. }
  161. .calendar .calendar-main .day .bg {
  162. display: inline-block;
  163. width: 70rpx;
  164. height: 70rpx;
  165. line-height: 70rpx;
  166. font-size: 26rpx;
  167. font-family: PingFang SC;
  168. font-weight: 500;
  169. color: #333333;
  170. position: relative;
  171. background: #FFEA8D;
  172. border-radius: 50%;
  173. /* padding:10rpx; */
  174. box-sizing: border-box;
  175. }
  176. .calendar .calendar-main .day .now {
  177. width: 66rpx;
  178. border-radius: 50%;
  179. text-align: center;
  180. color: #ff0000;
  181. /* background: rgba(14, 192, 184, 0.2); */
  182. margin: 0 auto;
  183. }
  184. .calendar .calendar-main .day .select {
  185. color: #FFEA8D !important;
  186. background: #1A1613;
  187. }
  188. .calendar .calendar-main .day .spot::after {
  189. position: absolute;
  190. content: "";
  191. display: block;
  192. width: 8rpx;
  193. height: 8rpx;
  194. bottom: 22rpx;
  195. background: #0EC0B8;
  196. border-radius: 50%;
  197. left: 0;
  198. right: 0;
  199. margin: auto;
  200. }
  201. .calendar .calendar-main .day .deep-spot::after {
  202. position: absolute;
  203. content: "";
  204. display: block;
  205. width: 8rpx;
  206. height: 8rpx;
  207. bottom: 22rpx;
  208. background: #FF7416;
  209. border-radius: 50%;
  210. left: 0;
  211. right: 0;
  212. margin: auto;
  213. }
  214. /* .calendar .calendar-main .day .other-month {
  215. color: #ccc;
  216. } */
  217. /* .header-wrap .month {
  218. font-size: 28rpx;
  219. color: #929797;
  220. line-height: 40rpx;
  221. } */
  222. .direction_box{
  223. width: 100%;
  224. margin: 0 auto;
  225. padding: 0 51rpx;
  226. display: flex;
  227. box-sizing: border-box;
  228. position: relative;
  229. justify-content:space-between;
  230. }
  231. .direction{
  232. position: absolute;
  233. width: 124rpx;
  234. height: 55rpx;
  235. }
  236. .left{
  237. left: 50rpx;
  238. }
  239. .right{
  240. right: 50rpx;
  241. }
  242. /* 显示星期的框 */
  243. .weekday, .week_box{
  244. text-align: center;
  245. margin: 0 auto;
  246. background: #1A1613;
  247. font-size: 26rpx;
  248. padding: 10rpx 20rpx;
  249. font-family: PingFang SC;
  250. font-weight: 500;
  251. color: #FFE77E;
  252. border-radius: 10rpx;
  253. }