calendar.wxss 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. .calendar {
  2. width: 100%;
  3. background-color: #fff;
  4. margin: 0 auto;
  5. border-radius: 24rpx;
  6. }
  7. .controller {
  8. display: flex;
  9. }
  10. .control-item {
  11. font-size: 26rpx;
  12. padding: 0 14px;
  13. }
  14. .date-display {
  15. font-size: 28rpx;
  16. padding-left: 22rpx;
  17. }
  18. .date {
  19. display: flex;
  20. justify-content: space-between;
  21. margin: 0 0 20rpx;
  22. }
  23. .divide {
  24. width: 91%;
  25. height: 4rpx;
  26. background-color: #eceef0;
  27. margin: 28rpx auto;
  28. }
  29. .week {
  30. display: flex;
  31. justify-content: center;
  32. }
  33. .days {
  34. display: flex;
  35. flex-wrap: wrap;
  36. justify-content: center;
  37. width: 100%;
  38. }
  39. .day {
  40. width: 80rpx;
  41. height: 80rpx;
  42. text-align: center;
  43. margin: 6rpx 12rpx;
  44. font-size: 27rpx;
  45. line-height: 80rpx;
  46. }
  47. .pre-month, .next-month {
  48. opacity: .4;
  49. }
  50. .weeken {
  51. color: #f75676;
  52. }
  53. .icon {
  54. width: 32rpx;
  55. height: 32rpx;
  56. margin-top: 10rpx;
  57. }
  58. .today {
  59. border-bottom: 3rpx solid #0075ff;
  60. margin: 6rpx 12rpx 3rpx;
  61. }
  62. .selected-date, .range-pick {
  63. color: #fff;
  64. background-color: #0075ff;
  65. border-radius: 50%;
  66. border: none;
  67. }
  68. .inrange {
  69. background-color: #e6f2ff;
  70. }
  71. .dateType{width:750rpx;display:flex;flex-wrap:wrap;}