punch-card.scss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. @import "../../../../themes/page.scss";
  2. @import "../../searc-list.scss";
  3. /* module/diet/pages/diet-info/diet-info.wxss */
  4. .punch-card-container {
  5. background: white;
  6. border-radius: 20rpx;
  7. margin: 24rpx;
  8. padding: 24rpx;
  9. }
  10. .calendar-header {
  11. font-size: 32rpx;
  12. font-weight: 600;
  13. margin-bottom: 16rpx;
  14. }
  15. .status-box {
  16. display: flex;
  17. align-items: center;
  18. justify-content: space-between;
  19. .patch-btn {
  20. margin-left: 24rpx;
  21. background: #3a7afe;
  22. color: #fff;
  23. border-radius: 12rpx;
  24. padding: 0 32rpx;
  25. height: 56rpx;
  26. line-height: 56rpx;
  27. font-size: 26rpx;
  28. border: none;
  29. }
  30. }
  31. .calendar-legend {
  32. display: flex;
  33. flex-direction: column;
  34. // align-items: center;
  35. background: #f5f5f5;
  36. border-radius: 12rpx;
  37. font-size: 24rpx;
  38. padding: 25rpx 16rpx 0rpx 16rpx;
  39. margin-bottom: 16rpx;
  40. .legend-item {
  41. display: flex;
  42. align-items: center;
  43. font-size: 24rpx;
  44. color: #888;
  45. margin-bottom: 15px;
  46. .dot {
  47. width: 12rpx;
  48. height: 12rpx;
  49. border-radius: 50%;
  50. margin-right: 12rpx;
  51. &.blue {
  52. background: #3a7afe;
  53. }
  54. &.red {
  55. background: #ff4d4f;
  56. }
  57. &.yellow {
  58. background: #faad14;
  59. }
  60. }
  61. }
  62. }
  63. .calendar-footer {
  64. margin-top: 24rpx;
  65. .status-row {
  66. display: flex;
  67. align-items: center;
  68. margin-bottom: 12rpx;
  69. .status-label {
  70. font-size: 26rpx;
  71. }
  72. .status-content {
  73. font-size: 26rpx;
  74. }
  75. .unpunch {
  76. color: #ff4d4f;
  77. }
  78. .punch {
  79. color: #222;
  80. }
  81. .patch-btn {
  82. margin-left: 24rpx;
  83. background: #3a7afe;
  84. color: #fff;
  85. border-radius: 12rpx;
  86. padding: 0 32rpx;
  87. height: 56rpx;
  88. line-height: 56rpx;
  89. font-size: 26rpx;
  90. border: none;
  91. }
  92. }
  93. }