add-work.scss 3.8 KB

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