selectBusiness.wxss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. /* pages/indexPages/selectBusiness/selectBusiness.wxss */
  2. .search-container {
  3. padding: 35rpx 70rpx 35rpx 60rpx;
  4. width: 100%;
  5. height: 140rpx;
  6. background: #f1f1f1;
  7. box-sizing: border-box;
  8. }
  9. .search-box {
  10. width: 100%;
  11. height: 70rpx;
  12. border-radius: 35rpx;
  13. background: #ffffff;
  14. display: flex;
  15. align-items: center;
  16. box-sizing: border-box;
  17. box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.07);
  18. }
  19. .search-icon {
  20. margin: 0 20rpx;
  21. width: 35rpx;
  22. height: 35rpx;
  23. display: flex;
  24. align-items: center;
  25. }
  26. .search-icon>image {
  27. width: 100%;
  28. height: auto;
  29. }
  30. .search-input {
  31. width: 0;
  32. flex: 1;
  33. height: 100%;
  34. }
  35. .search-input>input {
  36. width: 100%;
  37. height: 100%;
  38. font-family: "苹方R";
  39. font-size: 26rpx;
  40. }
  41. .containers {
  42. padding: 0 0;
  43. width: 100%;
  44. height: calc(100vh - 150rpx);
  45. display: flex;
  46. box-sizing: border-box;
  47. }
  48. .left-container {
  49. position: relative;
  50. width: 260rpx;
  51. height: 100%;
  52. background: #f1f1f1;
  53. }
  54. .left-business-title {
  55. padding: 0 20rpx;
  56. width: 100%;
  57. height: 106rpx;
  58. display: flex;
  59. align-items: center;
  60. box-sizing: border-box;
  61. }
  62. .left-business-title-active {
  63. position: relative;
  64. background: #ffffff;
  65. }
  66. .left-business-title-active::before {
  67. position: absolute;
  68. bottom: -30rpx;
  69. right: 0;
  70. z-index: 1;
  71. content: "";
  72. width: 30rpx;
  73. height: 30rpx;
  74. background: radial-gradient(circle at 0 30rpx, transparent 30rpx, #FFFFFF 0rpx);
  75. }
  76. .left-business-title-active::after {
  77. position: absolute;
  78. top: -30rpx;
  79. right: 0;
  80. z-index: 1;
  81. content: "";
  82. width: 30rpx;
  83. height: 30rpx;
  84. background: radial-gradient(circle at 0rpx 0rpx, transparent 30rpx, #FFFFFF 0rpx);
  85. }
  86. .left-business-title-icon {
  87. margin-right: 10rpx;
  88. width: 40rpx;
  89. height: 100%;
  90. display: flex;
  91. align-items: center;
  92. }
  93. .left-business-title-icon>image {
  94. width: 100%;
  95. height: auto;
  96. }
  97. .left-business-title-name {
  98. width: 0;
  99. flex: 1;
  100. height: 40rpx;
  101. line-height: 40rpx;
  102. font-family: "苹方M";
  103. font-size: 28rpx;
  104. color: #595959;
  105. overflow: hidden;
  106. text-overflow: ellipsis;
  107. white-space: nowrap;
  108. transition: all 0.3s;
  109. }
  110. .left-business-title-name-active {
  111. color: #4686F6;
  112. }
  113. .right-container {
  114. width: 0;
  115. flex: 1;
  116. height: 100%;
  117. }
  118. .right-business-content {
  119. margin: auto;
  120. padding: 0 0;
  121. width: calc(100% - 60rpx);
  122. box-sizing: border-box;
  123. }
  124. .content-list {
  125. padding: 25rpx 0;
  126. width: 100%;
  127. min-height: 90rpx;
  128. display: flex;
  129. align-items: center;
  130. box-sizing: border-box;
  131. }
  132. .content-list-one {
  133. position: sticky;
  134. top: 0;
  135. z-index: 9;
  136. min-height: 106rpx;
  137. border-bottom: 0.7px solid #eeeeee;
  138. background: #ffffff;
  139. }
  140. .list-name {
  141. margin: 0 20rpx;
  142. width: 0;
  143. flex: 1;
  144. font-family: "苹方R";
  145. font-size: 26rpx;
  146. line-height: 40rpx;
  147. color: #5D5D5D;
  148. display: flex;
  149. align-items: center;
  150. }
  151. .list-name-title {
  152. color: #010101;
  153. font-family: "苹方M";
  154. }
  155. .list-icon {
  156. width: 10rpx;
  157. height: 40rpx;
  158. display: flex;
  159. align-items: center;
  160. }
  161. .list-icon>image {
  162. width: 100%;
  163. height: auto;
  164. }
  165. .active {
  166. opacity: 0.6;
  167. }