add-work.scss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. @import './form-common.scss';
  2. .switch-row {
  3. display: flex;
  4. justify-content: space-between;
  5. align-items: center;
  6. .switch-left {
  7. display: flex;
  8. flex-direction: column;
  9. .s-label {
  10. font-size: 32rpx;
  11. font-weight: 500;
  12. color: #1A1A1A;
  13. }
  14. .s-hint {
  15. font-size: 24rpx;
  16. color: #999999;
  17. margin-top: 4rpx;
  18. }
  19. }
  20. }
  21. .picker-popup {
  22. position: fixed;
  23. top: 0;
  24. left: 0;
  25. right: 0;
  26. bottom: 0;
  27. z-index: 999;
  28. .picker-mask {
  29. position: absolute;
  30. top: 0;
  31. left: 0;
  32. right: 0;
  33. bottom: 0;
  34. background-color: rgba(0, 0, 0, 0.5);
  35. }
  36. .picker-content {
  37. position: absolute;
  38. bottom: 0;
  39. left: 0;
  40. right: 0;
  41. background-color: #FFFFFF;
  42. border-top-left-radius: 24rpx;
  43. border-top-right-radius: 24rpx;
  44. overflow: hidden;
  45. padding-bottom: env(safe-area-inset-bottom);
  46. .picker-header {
  47. display: flex;
  48. justify-content: space-between;
  49. align-items: center;
  50. height: 100rpx;
  51. padding: 0 40rpx;
  52. border-bottom: 1rpx solid #F0F4FC;
  53. .btn-cancel {
  54. font-size: 30rpx;
  55. color: #999999;
  56. }
  57. .title {
  58. font-size: 32rpx;
  59. color: #333333;
  60. font-weight: 600;
  61. }
  62. .btn-confirm {
  63. font-size: 30rpx;
  64. color: #1F6CFF;
  65. }
  66. }
  67. .range-tabs-header {
  68. display: flex;
  69. border-bottom: 1rpx solid #F0F4FC;
  70. .tab-item {
  71. flex: 1;
  72. display: flex;
  73. flex-direction: column;
  74. align-items: center;
  75. justify-content: center;
  76. padding: 30rpx 0;
  77. position: relative;
  78. .tab-label {
  79. font-size: 26rpx;
  80. color: #666666;
  81. margin-bottom: 8rpx;
  82. }
  83. .tab-val {
  84. font-size: 32rpx;
  85. color: #CCCCCC;
  86. font-weight: 500;
  87. }
  88. &.active {
  89. .tab-label {
  90. color: #333333;
  91. font-weight: bold;
  92. }
  93. .tab-val {
  94. color: #1F6CFF;
  95. }
  96. &::after {
  97. content: '';
  98. position: absolute;
  99. left: 0;
  100. top: 0;
  101. bottom: 0;
  102. right: 0;
  103. border: 2rpx solid #1F6CFF;
  104. pointer-events: none;
  105. }
  106. }
  107. }
  108. }
  109. .picker-view {
  110. width: 100%;
  111. height: 400rpx;
  112. }
  113. .picker-item {
  114. line-height: 100rpx;
  115. text-align: center;
  116. font-size: 32rpx;
  117. color: #333333;
  118. }
  119. .picker-bottom-btn-area {
  120. padding: 30rpx 40rpx;
  121. padding-bottom: calc(env(safe-area-inset-bottom) + 30rpx);
  122. background-color: #FFFFFF;
  123. border-top: 1rpx solid #F0F4FC;
  124. .btn-bottom {
  125. display: flex;
  126. justify-content: center;
  127. align-items: center;
  128. width: 100%;
  129. height: 80rpx;
  130. background: linear-gradient(135deg, #1F6CFF 0%, #0052D9 100%);
  131. color: #FFFFFF;
  132. font-size: 28rpx;
  133. font-weight: 600;
  134. border-radius: 40rpx;
  135. transition: all 0.3s;
  136. box-shadow: 0 12rpx 24rpx rgba(31, 108, 255, 0.25);
  137. &:active {
  138. opacity: 0.8;
  139. transform: scale(0.98);
  140. box-shadow: 0 6rpx 12rpx rgba(31, 108, 255, 0.2);
  141. }
  142. }
  143. }
  144. }
  145. }