index.wxss 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557
  1. /* pages/search/index.wxss */
  2. page {
  3. background-color: #fff;
  4. }
  5. .search-box {
  6. width: 100%;
  7. height: 100%;
  8. }
  9. .fixed-box {
  10. width: 100%;
  11. height: 146rpx;
  12. }
  13. .top {
  14. position: fixed;
  15. top: 0;
  16. left: 0;
  17. width: 100%;
  18. z-index: 9;
  19. background-color: #fff;
  20. }
  21. .top-search {
  22. display: flex;
  23. align-items: center;
  24. padding: 0 30rpx;
  25. height: 80rpx;
  26. }
  27. .list-search-box {
  28. display: flex;
  29. align-items: center;
  30. width: 100%;
  31. padding: 0 20rpx;
  32. margin-right: 30rpx;
  33. height: 62rpx;
  34. background: #f2f2f2;
  35. border-radius: 90rpx;
  36. font-size: 24rpx;
  37. box-sizing: border-box;
  38. }
  39. .list-search-box input {
  40. width: 100%;
  41. font-size: 28rpx;
  42. letter-spacing: 6rpx;
  43. }
  44. .list-iconfont {
  45. margin-right: 10rpx;
  46. }
  47. .top-search .close {
  48. font-size: 26rpx;
  49. flex-shrink: 0;
  50. }
  51. .top .tabs {
  52. display: flex;
  53. justify-content: space-around;
  54. align-items: center;
  55. width: 100%;
  56. height: 60rpx;
  57. font-size: 26rpx;
  58. border-bottom: 2rpx solid #ececec;
  59. }
  60. .top .tabs .tab {
  61. position: relative;
  62. height: 100%;
  63. line-height: 60rpx;
  64. }
  65. .top .tabs .activateTab {
  66. color: #3493fb;
  67. }
  68. .top .tabs .activateTab::after {
  69. content: "";
  70. display: block;
  71. position: absolute;
  72. bottom: 0;
  73. width: 100%;
  74. height: 4rpx;
  75. background-color: #1684fc;
  76. }
  77. .content {
  78. padding: 30rpx 32rpx 30rpx 32rpx;
  79. box-sizing: border-box;
  80. }
  81. /* 潮兼职 */
  82. .categoryitem {
  83. padding: 30rpx 0 30rpx 0;
  84. box-sizing: border-box;
  85. background: white;
  86. border-bottom: 1px solid #e6e6e6;
  87. display: flex;
  88. /* align-items: center; */
  89. }
  90. .right-box {
  91. /* width: 544rpx; */
  92. flex: 1;
  93. box-sizing: border-box;
  94. }
  95. .img-sex {
  96. flex-shrink: 0;
  97. /* width: 142rpx; */
  98. /* display: flex;
  99. align-items: center; */
  100. }
  101. .per-img1 {
  102. width: 27rpx;
  103. height: 71rpx;
  104. flex-shrink: 0;
  105. margin-right: 80rpx;
  106. margin-left: 36rpx;
  107. }
  108. .per-img2 {
  109. width: 39rpx;
  110. height: 72rpx;
  111. flex-shrink: 0;
  112. margin-right: 72rpx;
  113. margin-left: 33rpx;
  114. }
  115. .per-img3 {
  116. /* width: 77rpx;
  117. height: 72rpx; */
  118. width: 125rpx;
  119. height: 126rpx;
  120. flex-shrink: 0;
  121. margin-right: 20rpx;
  122. /* margin-left: 17rpx; */
  123. }
  124. .categoryitem .label {
  125. font-size: 26rpx;
  126. font-weight: 400;
  127. color: #767676;
  128. margin-right: 10rpx;
  129. display: inline-block;
  130. }
  131. .categoryitem .label2 {
  132. box-sizing: content-box;
  133. font-size: 24rpx;
  134. font-weight: 400;
  135. color: #767676;
  136. height: 38rpx;
  137. line-height: 38rpx;
  138. padding: 0 12rpx;
  139. margin: 10rpx 10rpx 0 0;
  140. background: rgba(255, 255, 255, 0);
  141. border: 1px solid #d7d7d7;
  142. border-radius: 4rpx;
  143. display: inline-block;
  144. }
  145. .catetop {
  146. display: flex;
  147. flex-direction: row;
  148. align-items: center;
  149. justify-content: space-between;
  150. }
  151. .type-sex {
  152. display: flex;
  153. font-size: 26rpx;
  154. font-family: PingFang SC, PingFang SC-Regular;
  155. font-weight: 400;
  156. margin-top: 15rpx;
  157. align-items: flex-end;
  158. justify-content: space-between;
  159. position: relative;
  160. box-sizing: border-box;
  161. }
  162. .type-box-sex {
  163. display: flex;
  164. font-size: 26rpx;
  165. font-family: PingFang SC, PingFang SC-Regular;
  166. font-weight: 400;
  167. /* margin-top: 15rpx; */
  168. align-items: flex-end;
  169. justify-content: space-between;
  170. }
  171. .type {
  172. background: rgba(255, 255, 255, 0);
  173. border: 1px solid #d7d7d7;
  174. border-radius: 4px;
  175. padding: 4rpx 12rpx;
  176. color: #767676;
  177. }
  178. .sex {
  179. background: rgba(255, 255, 255, 0);
  180. border: 1px solid #d7d7d7;
  181. border-radius: 4px;
  182. padding: 4rpx 12rpx;
  183. color: #767676;
  184. margin-left: 14rpx;
  185. }
  186. .catetop text {
  187. font-size: 24rpx;
  188. font-weight: 500;
  189. text-align: left;
  190. color: #2b2b2b;
  191. /* line-height: 52rpx; */
  192. overflow: hidden;
  193. text-overflow: ellipsis;
  194. white-space: nowrap;
  195. }
  196. .catetop .titlex {
  197. width: 540rpx;
  198. color: #2b2b2b;
  199. font-size: 26rpx;
  200. font-family: "FZZhunYuan-M02S";
  201. font-weight: 400;
  202. text-overflow: ellipsis;
  203. display: -webkit-box;
  204. -webkit-line-clamp: 1;
  205. -webkit-box-orient: vertical;
  206. overflow: hidden;
  207. flex-shrink: 0;
  208. }
  209. .catetop .price {
  210. display: flex;
  211. flex-direction: row;
  212. align-items: center;
  213. }
  214. .catetop .price .p2 {
  215. font-size: 36rpx;
  216. font-weight: bold;
  217. color: #ec2e26;
  218. line-height: 45rpx;
  219. }
  220. .catetop .price .p1 {
  221. font-size: 26rpx;
  222. color: #ec2e26;
  223. line-height: 52rpx;
  224. }
  225. .catebottom {
  226. display: flex;
  227. justify-content: space-between;
  228. /* align-items: center; */
  229. margin-top: 13rpx;
  230. }
  231. .bot-left-type {
  232. font-size: 26rpx;
  233. font-family: PingFang SC, PingFang SC-Regular;
  234. font-weight: 400;
  235. color: #808080;
  236. }
  237. .time-icon {
  238. /* color: #ffdd36; */
  239. color: #999999 !important;
  240. }
  241. .bot-time {
  242. display: flex;
  243. margin-top: 15rpx;
  244. }
  245. .bot-right {
  246. display: flex;
  247. flex-direction: column;
  248. /* justify-content: space-between; */
  249. align-items: flex-end;
  250. position: absolute;
  251. right: 0;
  252. bottom: 0;
  253. }
  254. .time-box {
  255. font-size: 26rpx;
  256. font-family: PingFang SC, PingFang SC-Regular;
  257. font-weight: 400;
  258. color: #808080;
  259. margin-left: 9rpx;
  260. }
  261. .catebottom .adico {
  262. width: 17rpx;
  263. height: 24rpx;
  264. margin-right: 14rpx;
  265. display: inline-block;
  266. }
  267. .catebottom .address {
  268. display: inline-block;
  269. line-height: 24rpx;
  270. overflow: hidden;
  271. text-overflow: ellipsis;
  272. white-space: nowrap;
  273. width: 330rpx;
  274. font-size: 26rpx;
  275. font-weight: 400;
  276. text-align: left;
  277. color: #999999;
  278. }
  279. .catebottom .sub-btn-box {
  280. display: inline-block;
  281. width: calc(100% - 375rpx);
  282. text-align: right;
  283. vertical-align: text-top;
  284. margin-top: -10rpx;
  285. }
  286. .type-sex .sub-btn {
  287. background: #e6e6e6;
  288. border-radius: 28rpx;
  289. height: 55rpx;
  290. line-height: 55rpx;
  291. color: #0a0a0a;
  292. font-size: 28rpx;
  293. width: 150rpx;
  294. text-align: center;
  295. margin-top: 22rpx;
  296. }
  297. .type-sex .sub-btn.green {
  298. background: #2b58a5;
  299. color: #ffffff;
  300. }
  301. /* 最会玩 */
  302. .boxm {
  303. position: relative;
  304. text-align: center;
  305. width: 100%;
  306. opacity: 1;
  307. background: #ffffff;
  308. border-radius: 20rpx 20rpx 0 0;
  309. margin-bottom: 20rpx;
  310. border-bottom: 1px solid #e6e6e6;
  311. display: flex;
  312. padding-bottom: 28rpx;
  313. }
  314. .boxmfix {
  315. margin-bottom: 15rpx;
  316. }
  317. .icon-time {
  318. margin-right: 9rpx;
  319. font-size: 30rpx;
  320. color: #ffdc2f;
  321. }
  322. .icon-pel {
  323. font-size: 30rpx;
  324. color: #ffdc2f;
  325. margin-right: 9rpx;
  326. }
  327. .img-view > image {
  328. position: relative;
  329. border-radius: 20rpx;
  330. width: 240rpx;
  331. height: 240rpx;
  332. flex-shrink: 0;
  333. }
  334. .c-BBBBBB {
  335. color: #bbbbbb;
  336. }
  337. .txt-c-t {
  338. color: #171717;
  339. font-size: 32rpx;
  340. font-weight: bold;
  341. width: 80%;
  342. }
  343. .txt-c-time > label {
  344. font-size: 30rpx;
  345. margin-bottom: 5rpx;
  346. color: #33bcb2;
  347. font-weight: bold;
  348. }
  349. .img-view {
  350. width: 100%;
  351. height: 240rpx;
  352. opacity: 1;
  353. background: rgba(0, 0, 0, 0);
  354. border-radius: 20rpx 20rpx 0px 0;
  355. }
  356. .shadow {
  357. position: absolute;
  358. top: 0;
  359. left: 0;
  360. height: 100%;
  361. width: 100%;
  362. background: rgba(0, 0, 0, 0.5);
  363. border-radius: 24rpx;
  364. }
  365. .txt-t {
  366. position: absolute;
  367. top: 100rpx;
  368. left: 110rpx;
  369. font-family: "PingFang-SC-Bold";
  370. font-weight: Bold;
  371. color: #fff;
  372. font-size: 32rpx;
  373. }
  374. .txt-b {
  375. position: absolute;
  376. top: 160rpx;
  377. left: 165rpx;
  378. font-family: "PingFang-SC-Regular";
  379. font-weight: Regular;
  380. color: #fff;
  381. font-size: 10px;
  382. }
  383. .txt-con {
  384. /* width: 100%; */
  385. padding: 0 30rpx 0 30rpx;
  386. text-align: left;
  387. display: flex;
  388. flex-direction: column;
  389. justify-content: space-between;
  390. }
  391. .txt-con-fix .title {
  392. font-size: 28rpx;
  393. line-height: 40rpx;
  394. color: #292929;
  395. margin-bottom: 10rpx;
  396. font-family: PingFang SC, PingFang SC-Bold;
  397. font-weight: 700;
  398. text-overflow: ellipsis;
  399. display: -webkit-box;
  400. -webkit-line-clamp: 1;
  401. -webkit-box-orient: vertical;
  402. overflow: hidden;
  403. }
  404. .titem {
  405. width: 100%;
  406. }
  407. .address-type {
  408. display: flex;
  409. justify-content: space-between;
  410. align-items: center;
  411. padding-top: 9rpx;
  412. }
  413. .active-type {
  414. font-size: 24rpx;
  415. font-family: PingFang SC, PingFang SC-Regular;
  416. font-weight: 400;
  417. color: #333333;
  418. flex-shrink: 0;
  419. /* width: 118rpx; */
  420. }
  421. .active-item-address {
  422. display: flex;
  423. position: relative;
  424. }
  425. .icon-list-dizhi {
  426. /* position: absolute; */
  427. color: #ffdc2f !important;
  428. font-size: 30rpx !important;
  429. margin-right: 9rpx !important;
  430. /* top: 2rpx;
  431. left: -2rpx; */
  432. }
  433. .active-item-address .address-word {
  434. font-size: 24rpx;
  435. font-family: PingFang SC, PingFang SC-Regular;
  436. font-weight: 400;
  437. color: #999999;
  438. /* margin-left: 36rpx; */
  439. white-space: nowrap;
  440. text-overflow: ellipsis;
  441. overflow: hidden;
  442. word-break: break-all;
  443. width: 400rpx;
  444. }
  445. .status {
  446. position: absolute;
  447. left: 0;
  448. top: 0;
  449. font-size: 24rpx;
  450. padding: 0 20rpx;
  451. height: 39rpx;
  452. line-height: 39rpx;
  453. text-align: center;
  454. background: rgba(0, 0, 0, 0.6);
  455. z-index: 7;
  456. color: white;
  457. border-radius: 20rpx 0 0 0;
  458. }
  459. .activestatus {
  460. background: #ffdc2f;
  461. }
  462. .baostatus {
  463. background: #3be5b2;
  464. }
  465. .endstatus {
  466. background: #707070;
  467. }
  468. .nostatus {
  469. background: rgba(251, 177, 120, 0.9);
  470. }
  471. .mstatus {
  472. background: #ff3a3a;
  473. }
  474. .txt-con .item .time-box,
  475. .txt-con .address-type,
  476. .txt-con .num-price .num {
  477. display: flex;
  478. align-items: center;
  479. }
  480. .txt-con .item .time-box,
  481. .txt-con .num-price .num {
  482. font-size: 24rpx;
  483. color: #999999;
  484. }
  485. .txt-con .item .icon-box,
  486. .txt-con .address-type .icon-box,
  487. .txt-con .num-price .icon-box {
  488. width: 35rpx;
  489. text-align: left;
  490. margin-right: 9rpx;
  491. flex-shrink: 0;
  492. }
  493. .num-price {
  494. display: flex;
  495. justify-content: space-between;
  496. font-size: 28rpx;
  497. line-height: 36rpx;
  498. font-weight: 400;
  499. color: #333333;
  500. margin-bottom: 5rpx;
  501. font-family: PingFang SC, PingFang SC-Regular;
  502. margin-top: 8rpx;
  503. position: relative;
  504. }
  505. .price-h .p1 {
  506. font-size: 20rpx;
  507. font-weight: 500;
  508. text-align: left;
  509. color: #ec2e26;
  510. }
  511. .price-h .p2 {
  512. font-size: 30rpx;
  513. font-weight: bold;
  514. text-align: left;
  515. color: #ec2e26;
  516. }