xx-calendar.wxss 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. /* components/xx-calendar/xx-calendar.wxss */
  2. /* 头部样式start */
  3. .title-wrap{
  4. background-color: #fff;
  5. padding-top: 20rpx;
  6. border-bottom: 1px solid #D4DBDC;
  7. padding-bottom: 10rpx;
  8. }
  9. .change-date{
  10. display: flex;
  11. justify-content: center;
  12. align-items: center;
  13. }
  14. .change-date image{
  15. width: 50rpx;
  16. height: 50rpx;
  17. transform: scale(1.5);
  18. display: flex;
  19. }
  20. .year-mouth{
  21. margin: 0 60rpx;
  22. }
  23. .week{
  24. display: flex;
  25. justify-content: space-between;
  26. font-size: 24rpx;
  27. margin-top: 30rpx;
  28. color: #1F1F1F;
  29. }
  30. .week text{
  31. flex: 1;
  32. text-align: center;
  33. }
  34. /* 头部样式end */
  35. /* 日期区域样式start */
  36. .date-wrap{
  37. /* height: 500rpx; */
  38. background-color: #F8F9F9;
  39. display: flex;
  40. flex-wrap: wrap;
  41. }
  42. .mouth-date{
  43. display: flex;
  44. font-size: 24rpx;
  45. flex-direction: column;
  46. align-items: center;
  47. width: calc(100% / 7);
  48. border-bottom: 1rpx solid rgb(229, 234, 235);
  49. padding-top: 10rpx;
  50. }
  51. .last-mouth text,.next-mouth text{
  52. opacity: 0;
  53. }
  54. .mouth-date .day{
  55. display: flex;
  56. flex-direction: column;
  57. align-items: center;
  58. color: #1F1F1F;
  59. }
  60. .mouth-date .day-nongli{
  61. font-size: 18rpx;
  62. color: #888888;
  63. margin-bottom: 6rpx;
  64. }
  65. .mouth-date .color{
  66. color: #8096F0;
  67. }
  68. .mouth-date .day-dot{
  69. width: 8rpx;
  70. height: 8rpx;
  71. border-radius: 50%;
  72. background-color: #8096F0;
  73. }
  74. .mouth-date .day-box{
  75. border-radius: 10rpx;
  76. width: 86rpx;
  77. padding-top: 6rpx;
  78. display: flex;
  79. flex-direction: column;
  80. align-items: center;
  81. margin-bottom: 10rpx;
  82. padding-bottom: 8rpx;
  83. }
  84. .mouth-date .active{
  85. background-color: #A1D7EE;
  86. }
  87. .mouth-date .active text{
  88. color: #fff;
  89. }
  90. .mouth-date .active .day-text{
  91. font-weight: 600;
  92. }
  93. .not-dot{
  94. width: 8rpx;
  95. height: 8rpx;
  96. }