index.module.less 2.8 KB

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