community.wxss 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. page {
  2. background: #fff;
  3. }
  4. .mars-mask {
  5. position: fixed;
  6. z-index: 9;
  7. left: 0;
  8. top: 0;
  9. width: 100%;
  10. height: 100%;
  11. }
  12. .header-content {
  13. width: 750rpx;
  14. padding-top: 20rpx;
  15. box-sizing: border-box;
  16. position: relative;
  17. }
  18. .header-content .header-bg {
  19. width: 100%;
  20. height: 340rpx;
  21. position: absolute;
  22. left: 0;
  23. top: 0;
  24. }
  25. .header-content .search-content {
  26. margin: 0 auto 36rpx;
  27. width: 670rpx;
  28. height: 64rpx;
  29. border-radius: 64rpx;
  30. background: #fff;
  31. position: relative;
  32. display: flex;
  33. }
  34. .header-content .search-content .city-content {
  35. height: 64rpx;
  36. padding: 0 16rpx;
  37. box-sizing: border-box;
  38. display: flex;
  39. align-items: center;
  40. font-size: 26rpx;
  41. color: #444;
  42. white-space: nowrap;
  43. font-weight: bold;
  44. }
  45. .header-content .search-content .city-content .search-icon {
  46. width: 28rpx;
  47. height: 28rpx;
  48. margin-right: 20rpx;
  49. margin-top: -2rpx;
  50. }
  51. .header-content .search-content .city-content .bottom-arrow {
  52. width: 12rpx;
  53. height: 6rpx;
  54. margin-left: 8rpx;
  55. }
  56. .header-content .search-ipt {
  57. flex: 1;
  58. }
  59. .header-content .ipt-class {
  60. line-height: 64rpx;
  61. height: 64rpx;
  62. font-size: 26rpx;
  63. color: #999;
  64. }
  65. .header-content .location-title {
  66. color: #fff;
  67. font-size: 26rpx;
  68. text-align: center;
  69. margin-bottom: 30rpx;
  70. position: relative;
  71. }
  72. .header-content .location-title.location-title-pad {
  73. margin-bottom: 66rpx;
  74. }
  75. .header-content .location-msg {
  76. font-size: 30rpx;
  77. width: 560rpx;
  78. height: 72rpx;
  79. margin: 0 auto 28rpx;
  80. line-height: 36rpx;
  81. position: relative;
  82. color: #fff;
  83. text-align: center;
  84. display: -webkit-box;
  85. -webkit-box-orient: vertical;
  86. -webkit-line-clamp: 2;
  87. overflow: hidden;
  88. text-overflow: initial;
  89. white-space: normal;
  90. }
  91. .header-content .switch-btn {
  92. width: 440rpx;
  93. height: 100rpx;
  94. border-radius: 100rpx;
  95. text-align: center;
  96. line-height: 100rpx;
  97. background: #fff;
  98. font-size: 32rpx;
  99. box-shadow: 0 0 40rpx rgba(0, 0, 0, 0.08);
  100. position: relative;
  101. margin: 0 auto;
  102. }
  103. .header-content .local-community-card {
  104. width: 690rpx;
  105. height: 360rpx;
  106. border-radius: 16rpx;
  107. box-shadow: 0 0 40rpx rgba(0, 0, 0, 0.08);
  108. margin: 0 auto;
  109. position: relative;
  110. }
  111. .header-content .local-community-card .local-distance {
  112. position: absolute;
  113. top: 86rpx;
  114. right: 12rpx;
  115. width: 170rpx;
  116. height: 40rpx;
  117. border-radius: 20rpx 0 0 20rpx;
  118. background: linear-gradient(to right, #ff5041, #ff695c);
  119. color: #fff;
  120. font-size: 22rpx;
  121. line-height: 40rpx;
  122. text-align: center;
  123. }
  124. .header-content .local-community-card .card-bg {
  125. position: absolute;
  126. width: 690rpx;
  127. height: 360rpx;
  128. left: 0;
  129. top: 0;
  130. }
  131. .header-content .local-community-card .head-pic {
  132. position: absolute;
  133. width: 120rpx;
  134. height: 120rpx;
  135. left: 286rpx;
  136. top: -60rpx;
  137. border-radius: 60rpx;
  138. background: #fff;
  139. display: flex;
  140. align-items: center;
  141. justify-content: center;
  142. box-shadow: 0 0 2rpx rgba(0, 0, 0, 0.2) inset;
  143. }
  144. .header-content .local-community-card .head-pic .head-pic-content {
  145. position: relative;
  146. width: 106rpx;
  147. height: 106rpx;
  148. border-radius: 50rpx;
  149. }
  150. .header-content .local-community-card .card-msg {
  151. position: relative;
  152. display: flex;
  153. flex-direction: column;
  154. align-items: center;
  155. padding-top: 94rpx;
  156. }
  157. .header-content .local-community-card .card-msg .group-master {
  158. font-size: 26rpx;
  159. line-height: 26rpx;
  160. color: #999;
  161. margin-bottom: 40rpx;
  162. }
  163. .header-content .local-community-card .card-msg .community-name {
  164. font-size: 40rpx;
  165. color: #444;
  166. line-height: 40rpx;
  167. margin-bottom: 30rpx;
  168. font-weight: bold;
  169. }
  170. .header-content .local-community-card .card-msg .community-address {
  171. width: 640rpx;
  172. font-size: 26rpx;
  173. line-height: 36rpx;
  174. color: #444;
  175. text-align: center;
  176. }
  177. .title {
  178. font-size: 40rpx;
  179. line-height: 40rpx;
  180. color: #444;
  181. border-left: 10rpx solid #ff695c;
  182. text-indent: 20rpx;
  183. font-weight: bold;
  184. }
  185. .community-list {
  186. padding-top: 60rpx;
  187. }
  188. .history-communities {
  189. border-bottom: 20rpx solid #f6f6f6;
  190. }
  191. .item-border {
  192. display: block;
  193. border-bottom: 1rpx solid #efefef;
  194. }
  195. .item-border:last-child {
  196. border: none;
  197. }
  198. /* 无社区提示 */
  199. .no-community {
  200. display: flex;
  201. flex-direction: column;
  202. align-content: center;
  203. align-items: center;
  204. }
  205. .flex-align {
  206. display: flex;
  207. flex-direction: column;
  208. align-content: center;
  209. align-items: center;
  210. padding: 100rpx 30rpx;
  211. }
  212. .no-community image {
  213. width: 200rpx;
  214. height: 200rpx;
  215. margin-bottom: 30rpx;
  216. }
  217. .link-apply {
  218. display: inline-block;
  219. color: #ff5777;
  220. }