calendar.wxss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. /* components/calendar/calendar.wxss */
  2. @font-face {
  3. font-family: "iconfont";
  4. src: url('iconfont.eot?t=1596614903470');
  5. /* IE9 */
  6. src: url('iconfont.eot?t=1596614903470#iefix') format('embedded-opentype'),
  7. /* IE6-IE8 */
  8. url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAL8AAsAAAAABxQAAAKvAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCDHAqBVIFEATYCJAMQCwoABCAFhG0HQhswBsgekiRFQgQU8AMAmmCIh3/HXu9L8hFVWwXoyALpqqoqwAEfD6g66abEPBux/13TPwBUeZ0lAldI75LS0ctlzLY8NwVk3NQm5Co3lqhaWPE+z+X0pi+Q1bez3MZatCYtPuoFGAcU4F7UiyIroBPkltpFHBi88q89JtA0p1jEYe/wNMQryKpAPHbYMMT3CooStetCdeZgEd9U1NPX9ADgQf8+/kFlxJNUMrLx5LpHhPaf+GUsavP/JpxJQpHgHq8gYx0oxO1s41yUiMQoTWOibQN1dYmf+Dn0MhYO2zgfttC/PEKSiSrS3QabXjPzE3ON4GdII/FrrEsGhPjr/dYGcOyzM56gg6PM1BXvcbZIxY7zzRyS4znJs/m2VmjuRNq9edF1kcx9FbW85/nRgbXX6s5q/AX+vsGh/kBhUUHAYszwFx4acaAA6l7k9bgjo8Vbue4acDcbCqFqcBru+htf4l/I4EnzzQAa8lT+kNoAyG/TJuTdyDcsG+NB4r05rfm73irgx/jRrw4XMB+gyga24dQGHCqlg8RKyZ3cWuWLEWhFQlMTmOwwFLrCPwH3E+omB/I1sy2yunmysOuoaNlEVd0Omtb0HW8ZYaJEaWDVnoPQd4ek6zuyvkeysE+omPpCVT+i0HQaWRe2LIYjsYsRzImIrEvIIagKZQmeaHoniW1Owqzr0NIsYbqjjCpKy4ftPqIQdsUWfd5WyTlFlKky6nWeI5KkIo2pTiLwUjvnWmNZGZ37UKmgypDoAENgHCFCrJYgDgKVgsrxXOLo+5MImzkSjK3oFuazCEbnmB6pUKocQPZ5FZDuV97RzbOpxHEUQjEqGdLrzCMkEhWizc9zIgRcKfuBmqZRGR1Fod7S5/3yH56AJnJDiRQ5SlRU3yhUlcRoMStek/ASdUgSAAA=') format('woff2'),
  9. url('iconfont.woff?t=1596614903470') format('woff'),
  10. url('iconfont.ttf?t=1596614903470') format('truetype'),
  11. /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
  12. url('iconfont.svg?t=1596614903470#iconfont') format('svg');
  13. /* iOS 4.1- */
  14. }
  15. .iconfont {
  16. font-family: "iconfont" !important;
  17. font-style: normal;
  18. -webkit-font-smoothing: antialiased;
  19. -moz-osx-font-smoothing: grayscale;
  20. line-height: 1;
  21. font-weight: normal;
  22. }
  23. .icon-unfold:before {
  24. content: "\e661";
  25. }
  26. .icon-fold:before {
  27. content: "\e6de";
  28. }
  29. .icon-playfill:before {
  30. content: "\e74f";
  31. }
  32. .flex {
  33. display: flex;
  34. justify-content: space-between;
  35. align-items: center;
  36. }
  37. .flex image{
  38. width: 32rpx;
  39. height: 32rpx;
  40. margin-top: 18rpx;
  41. padding: 0 10rpx;
  42. }
  43. .flex .icon{
  44. display: flex;
  45. color: #333 !important;
  46. }
  47. .direction-column {
  48. flex-direction: column;
  49. }
  50. .flex1 {
  51. flex: 1;
  52. }
  53. .flex-center {
  54. display: flex;
  55. justify-content: center;
  56. align-items: center;
  57. }
  58. .flex-start {
  59. display: flex;
  60. justify-content: flex-start;
  61. align-items: center;
  62. }
  63. .flex-end {
  64. display: flex;
  65. justify-content: flex-end;
  66. align-items: center;
  67. }
  68. .flex-around {
  69. display: flex;
  70. justify-content: space-around;
  71. align-items: center;
  72. }
  73. .flex-wrap {
  74. flex-wrap: wrap;
  75. }
  76. .align-start {
  77. align-items: flex-start;
  78. }
  79. .align-end {
  80. align-items: flex-end;
  81. }
  82. .align-stretch {
  83. align-items: stretch;
  84. }
  85. .calendar {
  86. height: 712rpx;
  87. background: #FFF;
  88. }
  89. .calendar .title {
  90. font-size: 40rpx;
  91. color: #333;
  92. padding: 30rpx;
  93. line-height: 60rpx;
  94. }
  95. .calendar .title .year-month {
  96. margin-right: 20rpx;
  97. }
  98. .calendar .title .icon {
  99. padding: 0 16rpx;
  100. font-size: 32rpx;
  101. color: #999;
  102. }
  103. .calendar .title .open {
  104. background-color: #f6f6f6;
  105. color: #999;
  106. font-size: 22rpx;
  107. line-height: 36rpx;
  108. border-radius: 18rpx;
  109. padding: 0 14rpx;
  110. }
  111. .calendar .calendar-week {
  112. line-height: 40rpx;
  113. padding: 0 25rpx;
  114. font-size: 28rpx;
  115. color: #999;
  116. }
  117. .calendar .calendar-week .view {
  118. width: 100rpx;
  119. text-align: center;
  120. }
  121. .calendar .calendar-main {
  122. padding: 30rpx 25rpx;
  123. transition: height 0.3s;
  124. align-content: flex-start;
  125. overflow: hidden;
  126. }
  127. .calendar .calendar-main .day {
  128. position: relative;
  129. width: 100rpx;
  130. color: #666;
  131. text-align: center;
  132. height: 82rpx;
  133. }
  134. .calendar .calendar-main .day .bg {
  135. height: 56rpx;
  136. line-height: 56rpx;
  137. font-size: 28rpx;
  138. color: #333;
  139. font-weight: bold;
  140. }
  141. .calendar .calendar-main .day .select {
  142. width: 56rpx;
  143. border-radius: 50%;
  144. text-align: center;
  145. color: #fff;
  146. /* background: linear-gradient(-60deg, #0FDAC5, #1BC7B0); */
  147. background: #005033;
  148. box-shadow: 0px 2px 15px 0px #005033;
  149. margin: 0 auto;
  150. }
  151. .calendar .calendar-main .day .other-month {
  152. color: #ccc;
  153. }
  154. .calendar .calendar-main .day .spot {
  155. width: 8rpx;
  156. height: 8rpx;
  157. background-color: #005033;
  158. border-radius: 50%;
  159. margin: 6rpx auto 0;
  160. }