index.wxss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. @import './theme/iconfont.wxss';
  2. @import './theme/theme-default.wxss';
  3. @import './theme/theme-elegant.wxss';
  4. .b {
  5. display: flex;
  6. }
  7. .lr {
  8. flex-direction: row;
  9. }
  10. .tb {
  11. flex-direction: column;
  12. }
  13. .pc {
  14. justify-content: center;
  15. }
  16. .ac {
  17. align-items: center;
  18. }
  19. .cc {
  20. align-items: center;
  21. justify-content: center;
  22. }
  23. .wrap {
  24. flex-wrap: wrap;
  25. }
  26. .flex {
  27. flex-grow: 1;
  28. }
  29. .bg {
  30. background-image: linear-gradient(to bottom, #faefe7, #ffcbd7);
  31. overflow: hidden;
  32. }
  33. .white-color {
  34. color: #fff;
  35. }
  36. .fs24 {
  37. font-size: 24rpx;
  38. }
  39. .fs28 {
  40. font-size: 31rpx;
  41. }
  42. .fs32 {
  43. font-size: 32rpx;
  44. }
  45. .fs36 {
  46. font-size: 36rpx;
  47. }
  48. .calendar {
  49. width: 100%;
  50. box-sizing: border-box;
  51. }
  52. /* 日历操作栏 */
  53. .handle {
  54. height: 80rpx;
  55. }
  56. .prev-handle,
  57. .next-handle {
  58. padding: 20rpx;
  59. color:#333;
  60. font-size: 32rpx;
  61. }
  62. .date-in-handle {
  63. height: 80rpx;
  64. color:#333;
  65. font-size: 32rpx;
  66. }
  67. /* 星期栏 */
  68. .weeks {
  69. height: 50rpx;
  70. line-height: 50rpx;
  71. opacity: 0.5;
  72. }
  73. .week {
  74. text-align: center;
  75. }
  76. .grid,
  77. .week {
  78. width: 14.286014285714286%;
  79. color:#333
  80. }
  81. .date-wrap {
  82. width: 100%;
  83. height: 125rpx;
  84. position: relative;
  85. left: 0;
  86. top: 0;
  87. }
  88. .date {
  89. color:#333;
  90. /* position: relative; */
  91. left: 0;
  92. top: 0;
  93. width: 55rpx;
  94. height: 55rpx;
  95. text-align: center;
  96. line-height: 55rpx;
  97. font-size: 32rpx;
  98. font-weight: 500;
  99. border-radius: 50%;
  100. transition: all 0.3s;
  101. animation-name: choosed;
  102. animation-duration: 0.5s;
  103. animation-timing-function: linear;
  104. animation-iteration-count: 1;
  105. }
  106. .date-area-mode {
  107. width: 100%;
  108. border-radius: 0;
  109. }
  110. .date-desc {
  111. /* width: 150%;
  112. height: 32rpx; */
  113. font-size: 20rpx;
  114. line-height: 26rpx;
  115. position: absolute;
  116. left: 50%;
  117. transform: translateX(-50%);
  118. overflow: hidden;
  119. word-break: break-all;
  120. text-overflow: ellipsis;
  121. white-space: nowrap;
  122. -webkit-line-clamp: 1;
  123. text-align: center;
  124. }
  125. .date-book{
  126. font-size: 22rpx;
  127. line-height: 22rpx;
  128. border: 1rpx solid #09afff;
  129. border-radius: 10rpx;
  130. padding: 1rpx 10rpx;
  131. /* background-color: #09afff;
  132. margin: 1rpx;*/
  133. color: #333;
  134. }
  135. .book-cycle{
  136. font-size: 22rpx;
  137. line-height: 22rpx;
  138. border-radius: 10rpx;
  139. padding: 1rpx 10rpx;
  140. border: 1rpx solid #09afff;
  141. color: white;
  142. background-color: #63beea;
  143. /* margin: 1rpx; */
  144. }
  145. @keyframes choosed {
  146. from {
  147. transform: scale(1);
  148. }
  149. 50% {
  150. transform: scale(0.9);
  151. }
  152. to {
  153. transform: scale(1);
  154. }
  155. }
  156. /* 日期圆圈标记 */
  157. .todo-circle {
  158. border-width: 1rpx;
  159. border-style: solid;
  160. box-sizing: border-box;
  161. }
  162. /* 待办点标记相关样式 */
  163. .todo-dot {
  164. width: 10rpx;
  165. height: 10rpx;
  166. border-radius: 50%;
  167. position: absolute;
  168. left: 50%;
  169. transform: translateX(-50%);
  170. }
  171. .todo-dot-top {
  172. top: 3rpx;
  173. }
  174. .todo-dot.todo-dot-top-always {
  175. top: -8rpx;
  176. }
  177. .todo-dot.todo-dot-bottom {
  178. bottom: 0;
  179. }
  180. .todo-dot.todo-dot-bottom-always {
  181. bottom: -10rpx;
  182. }
  183. /* 日期描述文字(待办文字/农历)相关样式 */
  184. .date-desc.date-desc-top {
  185. top: -6rpx;
  186. }
  187. .date-desc.date-desc-top-always {
  188. top: -20rpx;
  189. }
  190. .date-desc.date-desc-bottom {
  191. /* bottom: -14rpx;
  192. bottom: -34rpx;*/
  193. top: 81rpx;
  194. display: flex;
  195. flex-direction: column;
  196. }
  197. .todo-circle .date-desc.date-desc-bottom {
  198. bottom: -30rpx;
  199. }
  200. .date-desc.date-desc-bottom-always {
  201. bottom: unset;
  202. }