add-project.scss 3.7 KB

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