index.module.less 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. .attendanceRules {
  2. --van-tab-active-text-color: var(--van-primary-color);
  3. --van-tab-text-color: #333;
  4. --van-tab-font-size: 16px;
  5. :global {
  6. .van-tab {
  7. // font-weight: 400;
  8. }
  9. .van-tabs__wrap {
  10. // padding-bottom: 3px;
  11. }
  12. }
  13. }
  14. .ruleContainer {
  15. overflow: hidden;
  16. margin-bottom: 20px;
  17. .informationBottom {
  18. :global {
  19. .van-sticky {
  20. position: absolute;
  21. }
  22. }
  23. }
  24. :global {
  25. .van-cell {
  26. padding: 14px 12px;
  27. }
  28. .van-cell:after {
  29. transform: scale(1);
  30. }
  31. .van-cell-group {
  32. margin: 16px 13px 0;
  33. border-radius: 10px;
  34. }
  35. .van-field__control {
  36. text-align: center;
  37. font-family: DINA;
  38. }
  39. }
  40. .ruleTitle {
  41. font-size: 16px;
  42. font-weight: 600;
  43. color: #333333;
  44. line-height: 22px;
  45. }
  46. .smallRuleTitle {
  47. font-size: 14px;
  48. }
  49. .ruleContent {
  50. font-size: 14px;
  51. color: #777;
  52. }
  53. .ruleMore {
  54. padding: 6px 0 8px;
  55. // color: #333;
  56. // font-weight: 500;
  57. }
  58. .red {
  59. color: #f44541;
  60. }
  61. .field {
  62. background: #f2f2f2;
  63. border-radius: 8px;
  64. height: 35px;
  65. line-height: 35px;
  66. padding: 0 8px;
  67. display: inline-flex;
  68. .unit {
  69. position: relative;
  70. width: 40px;
  71. padding-left: 12px;
  72. display: flex;
  73. align-items: center;
  74. justify-content: center;
  75. height: 100%;
  76. font-weight: 500;
  77. font-size: 15px;
  78. &::before {
  79. position: absolute;
  80. left: 0;
  81. content: ' ';
  82. display: inline-block;
  83. width: 1px;
  84. height: 25px;
  85. background: #e3e3e3;
  86. border-radius: 1px;
  87. }
  88. &::after {
  89. content: ' ';
  90. display: inline-block;
  91. background: url('@/common/svg/arrow.png') no-repeat center center;
  92. background-size: contain;
  93. width: 9px;
  94. height: 5px;
  95. margin-left: 3px;
  96. }
  97. &.active {
  98. &::after {
  99. transform: rotateX(180deg);
  100. margin-top: -2px;
  101. }
  102. }
  103. }
  104. }
  105. .field-m {
  106. margin: 0 4px;
  107. }
  108. .field-w80 {
  109. width: 80px;
  110. }
  111. .field-w136 {
  112. width: 136px;
  113. }
  114. .field-w102 {
  115. width: 102px;
  116. }
  117. .field-w126 {
  118. width: 126px;
  119. }
  120. .ruleRange {
  121. display: flex;
  122. justify-content: space-between;
  123. align-items: center;
  124. }
  125. .ruleTips {
  126. margin-top: 12px;
  127. padding: 10px;
  128. background: #fff3e6;
  129. border-radius: 6px;
  130. font-size: 13px;
  131. color: #333333;
  132. line-height: 22px;
  133. span {
  134. padding: 0 4px;
  135. color: #f44541;
  136. font-weight: 500;
  137. }
  138. }
  139. .ruleDesc {
  140. font-size: 14px;
  141. color: #777777;
  142. line-height: 24px;
  143. span {
  144. padding: 0 4px;
  145. color: #f44541;
  146. }
  147. }
  148. .ruleExtra {
  149. color: #777;
  150. font-size: 15px;
  151. }
  152. }
  153. .popover {
  154. --van-popover-action-width: 100px;
  155. }
  156. .flexDev {
  157. display: flex;
  158. align-items: center;
  159. }