业务交流通
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.wxss 5.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322
  1. /**index.wxss**/
  2. .home-page {
  3. background: #f5f9ff;
  4. padding: 20rpx;
  5. min-height: 100%;
  6. padding-bottom: 120rpx;
  7. font-size: 26rpx;
  8. }
  9. /* 搜索块 */
  10. .search-view {
  11. height: 290rpx;
  12. border-radius: 20rpx;
  13. box-sizing: border-box;
  14. padding: 20rpx;
  15. margin-bottom: 30rpx;
  16. background-image: linear-gradient(45deg,
  17. #ffffff 0%,
  18. #e8eaf1 100%),
  19. linear-gradient(
  20. #f8f8f8,
  21. #f8f8f8);
  22. background-blend-mode: normal,
  23. normal;
  24. box-shadow: 0px 2px 26px 1px
  25. rgba(0, 0, 0, 0.06);
  26. position: relative;
  27. }
  28. .search-view .header-img{
  29. position: absolute;
  30. width: 249rpx;
  31. height: 231rpx;
  32. top: 78rpx;
  33. right: 46rpx;
  34. }
  35. .serach-input-view{
  36. position: relative;
  37. height: 68rpx;
  38. z-index: 999;
  39. }
  40. .serach-input-view .hhr-img{
  41. width: 68rpx;
  42. height: 68rpx;
  43. margin-top: 15rpx;
  44. }
  45. .serach-input-view .search-img-view{
  46. position: absolute;
  47. right: 52rpx;
  48. top: 30rpx;
  49. width: 29rpx;
  50. height: 29rpx;
  51. z-index: 666;
  52. }
  53. .serach-input-view .search-img{
  54. width: 100%;
  55. height: 100%;
  56. }
  57. .search-view .input-box {
  58. width: calc(100% - 100rpx);
  59. margin-left: 20rpx;
  60. }
  61. .search-view .weui-serach-input{
  62. background: #fff;
  63. height: 90rpx;
  64. line-height: 90rpx;
  65. box-sizing: border-box;
  66. padding-left: 40rpx;
  67. padding-right: 80rpx;
  68. border-radius: 44rpx;
  69. box-shadow: -2px 7px 13px 3px
  70. rgba(130, 130, 130, 0.03);
  71. }
  72. .phcolor {
  73. color: #b3bfcb;
  74. }
  75. .search-view .title{
  76. margin-top: 64rpx;
  77. font-size: 33rpx;
  78. font-weight: bold;
  79. padding-left: 40rpx;
  80. box-sizing: border-box;
  81. }
  82. .search-view .sub-title{
  83. font-weight: normal;
  84. }
  85. .search-view .set-attention{
  86. margin-top: 14rpx;
  87. padding-left: 40rpx;
  88. font-size: 24rpx;
  89. color: #556fb5!important;
  90. box-sizing: border-box;
  91. text-align: left;
  92. }
  93. .search-view .set-attention::after{
  94. display: none;
  95. }
  96. .search-view .set-attention[type=default][plain] {
  97. border: 0;
  98. }
  99. /* tab块 */
  100. .tab-view {
  101. height: 70rpx;
  102. margin-bottom: 20rpx;
  103. background: #fff;
  104. border-radius: 10rpx;
  105. padding: 0 20rpx;
  106. width: 100%;
  107. position: sticky;
  108. top: 0;
  109. z-index: 999;
  110. box-sizing: border-box;
  111. }
  112. .tab-view .tab-li {
  113. float: left;
  114. box-sizing: border-box;
  115. height: 70rpx;
  116. padding: 0 13rpx;
  117. }
  118. .tab-view .tab-span {
  119. display: inline-block;
  120. box-sizing: border-box;
  121. padding-top: 15rpx;
  122. }
  123. .tab-view .tab-span.isActive {
  124. color: #5e73e5;
  125. border-bottom: 2px solid #5e73e5;
  126. }
  127. .tab-view .tab-li.right{
  128. padding: 0;
  129. }
  130. .tab-view .tab-menu .van-dropdown-menu {
  131. height: 70rpx;
  132. background: transparent;
  133. box-shadow:none;
  134. }
  135. .tab-view .tab-menu .van-dropdown-menu__item {
  136. width: 0;
  137. }
  138. .tab-view .tab-menu .van-dropdown-menu__title{
  139. width: 0;
  140. padding: 0;
  141. size: 0;
  142. }
  143. .tab-view .tab-menu .van-ellipsis{
  144. display: none;
  145. }
  146. /* list块 */
  147. .list-view {
  148. background: #fff;
  149. /* height: 315rpx; */
  150. border-radius: 20rpx;
  151. margin-bottom: 20rpx;
  152. padding: 28rpx 18rpx;
  153. position: relative;
  154. }
  155. .list-loading {
  156. margin-top: 15vh;
  157. }
  158. .list-finished{
  159. color: #8c97c0;
  160. }
  161. .list-finished .finished-img{
  162. width: 25rpx;
  163. height: 25rpx;
  164. margin-right: 10rpx;
  165. position: relative;
  166. top: 1rpx;
  167. }
  168. /* list块-头部 */
  169. .list-avatar {
  170. height: 60rpx;
  171. line-height: 60rpx;
  172. }
  173. .list-chatHeads{
  174. width: 60rpx;
  175. height: 60rpx;
  176. border-radius: 50%;
  177. background: #999;
  178. }
  179. .list-chatHeads .chatHeads-img{
  180. width: 100%;
  181. height: 100%;
  182. border-radius: 50%;
  183. }
  184. /* 平台认证 */
  185. .list-certification {
  186. position: absolute;
  187. right: 0;
  188. top: 22rpx;
  189. width: 130rpx;
  190. height: 40rpx;
  191. line-height: 40rpx;
  192. background-color: #fff0be;
  193. border-radius: 18rpx 0 0 18rpx;
  194. text-align: center;
  195. color: #ef6f10;
  196. font-size: 20rpx;
  197. }
  198. .list-certification .certification-img{
  199. width: 26rpx;
  200. height: 27rpx;
  201. position: relative;
  202. top: 6rpx;
  203. }
  204. /* 名称 */
  205. .list-nick-name {
  206. margin-left: 15rpx;
  207. max-width: 300rpx;
  208. white-space:nowrap;
  209. overflow:hidden;
  210. text-overflow:ellipsis;
  211. font-weight: bold;
  212. }
  213. /* 主页 */
  214. .list-home {
  215. color: #827de5;
  216. border-radius: 16px;
  217. border: solid 1px #827de5;
  218. width: 96rpx;
  219. height: 32rpx;
  220. line-height: 32rpx;
  221. font-size: 20rpx;
  222. text-align: center;
  223. margin-top: 15rpx;
  224. margin-left: 15rpx;
  225. }
  226. .list-home .home-img{
  227. width: 22rpx;
  228. height: 23rpx;
  229. position: relative;
  230. top: 2rpx;
  231. }
  232. /* 内容容器 */
  233. .list-content {
  234. padding-left: 75rpx;
  235. padding-right: 15rpx;
  236. }
  237. /* 详情 */
  238. .list-details-text{
  239. margin: 15rpx 0;
  240. word-break: break-all;
  241. text-overflow: ellipsis;
  242. overflow: hidden;
  243. display: -webkit-box;
  244. -webkit-line-clamp: 3;
  245. -webkit-box-orient: vertical;
  246. }
  247. /* 标签 */
  248. .list-tag-view {
  249. margin-bottom: 20rpx;
  250. }
  251. .list-tag-view .list-tag{
  252. display: inline-block;
  253. width: 120rpx;
  254. height: 36rpx;
  255. border-radius: 18rpx;
  256. text-align: center;
  257. line-height: 36rpx;
  258. font-size: 20rpx;
  259. margin-right: 15rpx;
  260. }
  261. .list-tag-view .list-tag:nth-child(1){
  262. background-color: #e4f1f7;
  263. color: #3d97e6;
  264. }
  265. .list-tag-view .list-tag:nth-child(2){
  266. background-color: #f7eee4;
  267. color: #f29f61;
  268. }
  269. .list-tag-view .list-tag:nth-child(3){
  270. background-color: #eafee3;
  271. color: #80c269;
  272. }
  273. /* 底部 */
  274. .list-foot {
  275. height: 62rpx;
  276. line-height: 62rpx;
  277. }
  278. .list-foot-text-lf{
  279. color: #999;
  280. font-size: 24rpx;
  281. margin-right: 40rpx;
  282. }
  283. .list-foot-text-lf .browse-img{
  284. width: 24rpx;
  285. height: 18rpx;
  286. }
  287. .list-foot-text-lf .time-img{
  288. width: 24rpx;
  289. height: 24rpx;
  290. position: relative;
  291. top: 1rpx;
  292. }
  293. .list-foot-text-chat {
  294. height: 62rpx;
  295. width: 180rpx;
  296. background-color: #5e73e5;
  297. box-shadow: -1px 3px 12px 4px
  298. rgba(62, 95, 179, 0.14);
  299. border-radius: 31rpx;
  300. text-align: center;
  301. color: #fff;
  302. font-size: 24rpx;
  303. }
  304. .list-foot-text-chat .chat-img{
  305. width: 28rpx;
  306. height: 28rpx;
  307. position: relative;
  308. top: 4rpx;
  309. left: -10rpx;
  310. }