position-select.scss 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. .position-select-page {
  2. display: flex;
  3. flex-direction: column;
  4. height: 100vh;
  5. background-color: #FFFFFF;
  6. .search-header {
  7. padding: 20rpx 40rpx;
  8. background-color: #FFFFFF;
  9. position: sticky;
  10. top: 0;
  11. z-index: 10;
  12. .search-box {
  13. display: flex;
  14. align-items: center;
  15. background-color: #F8FAFC;
  16. border-radius: 40rpx;
  17. padding: 0 30rpx;
  18. height: 72rpx;
  19. .icon-search {
  20. width: 24rpx;
  21. height: 24rpx;
  22. border: 3rpx solid #A0AABF;
  23. border-radius: 50%;
  24. position: relative;
  25. margin-right: 16rpx;
  26. flex-shrink: 0;
  27. &::after {
  28. content: '';
  29. position: absolute;
  30. width: 8rpx;
  31. height: 3rpx;
  32. background-color: #A0AABF;
  33. bottom: -2rpx;
  34. right: -4rpx;
  35. transform: rotate(45deg);
  36. }
  37. }
  38. input {
  39. flex: 1;
  40. font-size: 26rpx;
  41. color: #333333;
  42. }
  43. }
  44. }
  45. .content-body {
  46. flex: 1;
  47. display: flex;
  48. overflow: hidden;
  49. border-top: 1rpx solid #F0F4FC;
  50. .left-menu {
  51. width: 220rpx;
  52. background-color: #F8FAFC;
  53. height: 100%;
  54. flex-shrink: 0;
  55. .menu-item {
  56. padding: 32rpx 20rpx;
  57. font-size: 28rpx;
  58. color: #4D5666;
  59. text-align: left;
  60. padding-left: 24rpx;
  61. position: relative;
  62. &.active {
  63. background-color: #FFFFFF;
  64. color: #1F6CFF;
  65. font-weight: 600;
  66. .active-indicator {
  67. position: absolute;
  68. left: 0;
  69. top: 50%;
  70. transform: translateY(-50%);
  71. width: 8rpx;
  72. height: 32rpx;
  73. background-color: #1F6CFF;
  74. border-top-right-radius: 8rpx;
  75. border-bottom-right-radius: 8rpx;
  76. }
  77. }
  78. }
  79. }
  80. .right-content {
  81. flex: 1;
  82. height: 100%;
  83. background-color: #FFFFFF;
  84. padding: 0 30rpx;
  85. box-sizing: border-box;
  86. .category-section {
  87. padding-top: 30rpx;
  88. padding-bottom: 20rpx;
  89. .section-title {
  90. font-size: 28rpx;
  91. font-weight: bold;
  92. color: #1A1A1A;
  93. margin-bottom: 24rpx;
  94. }
  95. .tags-grid {
  96. display: flex;
  97. flex-wrap: wrap;
  98. gap: 20rpx;
  99. .tag-item {
  100. width: calc(50% - 10rpx);
  101. background-color: #F8FAFC;
  102. color: #4D5666;
  103. font-size: 24rpx;
  104. text-align: center;
  105. padding: 18rpx 0;
  106. border-radius: 8rpx;
  107. box-sizing: border-box;
  108. &:active {
  109. background-color: #EBF1FA;
  110. color: #1F6CFF;
  111. }
  112. &.selected {
  113. background-color: #EBF1FA;
  114. color: #1F6CFF;
  115. font-weight: 600;
  116. }
  117. }
  118. }
  119. }
  120. }
  121. }
  122. .search-results {
  123. flex: 1;
  124. background-color: #FFFFFF;
  125. .result-list {
  126. padding: 0 40rpx;
  127. .result-item {
  128. padding: 30rpx 0;
  129. border-bottom: 1rpx solid #F0F4FC;
  130. font-size: 30rpx;
  131. color: #333333;
  132. &:active {
  133. background-color: #F8FAFC;
  134. }
  135. &.selected {
  136. color: #1F6CFF;
  137. font-weight: 500;
  138. }
  139. }
  140. }
  141. .empty-state {
  142. padding-top: 200rpx;
  143. text-align: center;
  144. .empty-text {
  145. font-size: 28rpx;
  146. color: #999999;
  147. }
  148. }
  149. }
  150. }