金诚优选前端代码
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.

462 lines
11 KiB

  1. @import '../../../common/css/global';
  2. #find{
  3. .search-box {
  4. position: relative;
  5. z-index: 50;
  6. width: 100%;
  7. padding: 10px 15px;
  8. background-color: #FFFFFF;
  9. font-size: 14px;
  10. overflow: hidden;
  11. .search {
  12. display: flex;
  13. align-items: center;
  14. background: #EEEEEE;
  15. padding-left: 10px;
  16. border-radius: 4px;
  17. }
  18. input {
  19. height: 40px;
  20. line-height: 40px;
  21. flex: 1;
  22. padding: 0 10px;
  23. }
  24. }
  25. .no-data{
  26. text-align: center;
  27. padding: 20px;
  28. color:#999999;
  29. }
  30. .banner {
  31. position: relative;
  32. z-index: 50;
  33. width: 100%;
  34. padding: 0px 15px 10px 15px;
  35. background-color: #FFFFFF;
  36. swiper {
  37. height: 180px;
  38. border-radius: 4px;
  39. overflow: hidden;
  40. }
  41. image {
  42. width: 100%;
  43. height: 100%;
  44. vertical-align: middle;
  45. object-fit: cover;
  46. }
  47. }
  48. .menu-box{
  49. position: relative;
  50. z-index: 50;
  51. .navbar{
  52. z-index: 50;
  53. position: relative;
  54. display: flex;
  55. height: 45px;
  56. align-items: center;
  57. font-size: 12px;
  58. color:#666666;
  59. background-color: #FFFFFF;
  60. padding: 0 10px;
  61. .item{
  62. padding: 0 3px;
  63. height: 100%;
  64. line-height: 45px;
  65. display: flex;
  66. align-items: center;
  67. overflow: hidden;
  68. //text-overflow: ellipsis;
  69. white-space: nowrap;
  70. flex: 1;
  71. //max-width: 40%;
  72. span{
  73. width: 100%;
  74. display: inline-block;
  75. font-size: 12px;
  76. height: 95%;
  77. overflow: hidden;
  78. //text-overflow: ellipsis;
  79. white-space: nowrap;
  80. text-align: center;
  81. .iconfont{
  82. display: inline-block;
  83. font-size: 12px;
  84. &.icon-jiantou {
  85. transform:rotate(90deg);
  86. }
  87. }
  88. }
  89. &.active{
  90. span{
  91. border-bottom: 2px solid @mainColor;
  92. border-radius: 1px;
  93. color:@mainColor;
  94. }
  95. }
  96. }
  97. }
  98. .more-list{
  99. z-index: 50;
  100. position: absolute;
  101. width: 100%;
  102. background-color: #FFFFFF;
  103. padding:20px 15px 6px 15px;
  104. .item{
  105. display: inline-block;
  106. width: 25%;
  107. text-align: center;
  108. color: #666666;
  109. font-size: 13px;
  110. line-height: 24px;
  111. padding-bottom: 18px;
  112. overflow: hidden;
  113. text-overflow: ellipsis;
  114. white-space: nowrap;
  115. &.active{
  116. color: @mainColor;
  117. }
  118. }
  119. }
  120. }
  121. .no-data{
  122. text-align: center;
  123. padding: 20px;
  124. color:#999999;
  125. }
  126. .content-box{
  127. .something__box{
  128. margin-top: 11px;
  129. .li-item{
  130. margin-bottom: 5px;
  131. .something__item{
  132. background: #fff;
  133. padding: 10px 15px 12px 15px;
  134. .item__user{
  135. display: flex;
  136. .user__img{
  137. width: 52px;
  138. height: 42px;
  139. padding-right: 10px;
  140. image{
  141. width: 100%;
  142. height: 100%;
  143. }
  144. }
  145. .user__title{
  146. flex: 1;
  147. display: flex;
  148. justify-content: space-between;
  149. .title__box{
  150. .title__title{
  151. span{
  152. font-size: 15px;
  153. color: #4A4A4A;
  154. padding-right: 10px;
  155. font-weight: bold;
  156. }
  157. .title__tag{
  158. display: inline-block;
  159. border: 1px solid @globalColor;
  160. border-radius: 40px;
  161. color: @globalColor;
  162. font-size: 11px;
  163. padding: 0px 8px;
  164. }
  165. }
  166. }
  167. .title__stick{
  168. i{
  169. color: @globalColor;
  170. font-size: 25px;
  171. }
  172. }
  173. }
  174. }
  175. .item__content{
  176. padding-left: 52px;
  177. .item__title{
  178. font-size: 14px;
  179. &.actives{
  180. font-size: 14px;
  181. overflow : hidden;
  182. text-overflow: ellipsis;
  183. display: -webkit-box;
  184. -webkit-line-clamp: 4;
  185. -webkit-box-orient: vertical;
  186. }
  187. }
  188. .read__more{
  189. font-size: 12px;
  190. color: #008CEE;
  191. display: inline-block;
  192. line-height: 33px;
  193. }
  194. .item__list{
  195. display: flex;
  196. flex-wrap: wrap;
  197. padding: 10px 30px 0 0;
  198. margin-bottom: 8px;
  199. ::after{
  200. content: "";
  201. display: block;
  202. clear: both;
  203. height: 0;
  204. overflow: hidden;
  205. visibility: hidden;
  206. }
  207. .img{
  208. width: 100%;
  209. image{
  210. width: 100%;
  211. }
  212. }
  213. .list__li{
  214. width: 31%;
  215. margin: 0 2% 2% 0;
  216. view{
  217. position: relative;
  218. width: 100%;
  219. height: 0;
  220. overflow: hidden;
  221. margin: 0;
  222. padding-bottom: 100%;
  223. background-position: center;
  224. background-repeat: no-repeat;
  225. background-size: cover;
  226. span{
  227. display: block;
  228. position: absolute;
  229. width: 100%;
  230. top: 0;
  231. bottom: 0;
  232. }
  233. }
  234. }
  235. }
  236. .time-txet{
  237. color: #999999;
  238. font-size: 11px;
  239. line-height: 16px;
  240. padding-bottom: 8px;
  241. }
  242. .goods-box{
  243. display: flex;
  244. align-items: center;
  245. background-color:#F3F3F3;
  246. padding: 10px 15px 10px 11px;
  247. .left-box{
  248. width: 60px;
  249. height: 60px;
  250. image{
  251. width: 100%;
  252. height: 100%;
  253. }
  254. }
  255. .right-box{
  256. flex: 1;
  257. padding-left: 14px;
  258. overflow: hidden;
  259. .name{
  260. color:#111111;
  261. font-size: 12px;
  262. line-height: 20px;
  263. height: 40px;
  264. margin-bottom:6px;
  265. display: -webkit-box;
  266. -webkit-box-orient: vertical;
  267. -webkit-line-clamp: 2;
  268. overflow: hidden;
  269. }
  270. .money{
  271. }
  272. }
  273. }
  274. .tags{
  275. display: flex;
  276. align-items: center;
  277. padding-bottom: 12px;
  278. flex-wrap: wrap;
  279. .tag-item{
  280. font-size: 12px;
  281. color:#999999;
  282. line-height: 16px;
  283. padding: 3px 10px;
  284. margin-right: 12px;
  285. border-radius:2px;
  286. border:1px solid rgba(238,238,238,1);
  287. margin-bottom: 5px;
  288. }
  289. }
  290. .item_operation{
  291. padding-top: 10px;
  292. display: flex;
  293. justify-content: space-between;
  294. align-items: center;
  295. .operation__item{
  296. position: relative;
  297. flex: 1;
  298. font-size: 12px;
  299. color: #4A4A4A;
  300. &.actvie{
  301. i{
  302. color: @globalColor;
  303. }
  304. color: @globalColor;
  305. }
  306. i{
  307. font-size: 12px;
  308. padding-right: 5px;
  309. }
  310. &:nth-child(2){
  311. text-align: center;
  312. }
  313. &:last-child{
  314. text-align: end;
  315. }
  316. .getinfo{
  317. position: absolute;
  318. width: 100%;
  319. height: 100%;
  320. opacity: 0;
  321. top: 0;
  322. left: 0;
  323. }
  324. }
  325. }
  326. }
  327. }
  328. .bottom-btn{
  329. display: flex;
  330. align-items: center;
  331. height:45px;
  332. background-color: #FFFFFF;
  333. .btn{
  334. text-align: center;
  335. font-size:12px;
  336. color: #666666;
  337. flex: 1;
  338. span{
  339. font-size: 12px;
  340. }
  341. &.active{
  342. color: @mainColor;
  343. }
  344. }
  345. }
  346. }
  347. .index__end{
  348. padding: 10px;
  349. text-align: center;
  350. font-size: 12px;
  351. color: #888;
  352. }
  353. }
  354. }
  355. .maks{
  356. position: fixed;
  357. top:0;
  358. bottom: 0;
  359. left: 0;
  360. right: 0;
  361. background:rgba(17,17,17,0.6);
  362. }
  363. .filter-box{
  364. position: fixed;
  365. top: 0;
  366. bottom: 0;
  367. left: 0;
  368. right: 0;
  369. background:rgba(17,17,17,0.6);
  370. z-index: 51;
  371. text-align: right;
  372. .content{
  373. position: relative;
  374. text-align: left;
  375. display: inline-block;
  376. background-color:#FFFFFF;
  377. padding:20px 0px 0 0px;
  378. height: 100%;
  379. width: 85%;
  380. .select{
  381. .topic{
  382. padding: 0 20px;
  383. color:#333333;
  384. font-size: 14px;
  385. line-height: 20px;
  386. padding-bottom: 10px;
  387. span{
  388. color:#999999;
  389. font-size: 12px;
  390. line-height: 17px;
  391. }
  392. }
  393. .list{
  394. padding: 0 15px 20px 15px;
  395. display: flex;
  396. flex-wrap: wrap;
  397. .item{
  398. text-align: center;
  399. width: 29%;
  400. color: #333333;
  401. font-size: 12px;
  402. height: 28px;
  403. line-height: 28px;
  404. border-radius: 2px;
  405. background-color:#EEEEEE;
  406. margin: 0 5px 10px 5px;
  407. overflow: hidden;
  408. &.active{
  409. background-color: #FFFFFF;
  410. border-radius:2px;
  411. border:1px solid @mainColor;
  412. color: @mainColor;
  413. }
  414. }
  415. }
  416. }
  417. .btn-box{
  418. position: absolute;
  419. display: flex;
  420. bottom: 0;
  421. left: 0;
  422. width: 100%;
  423. height:50px;
  424. align-items: center;
  425. .btn{
  426. height: 100%;
  427. flex: 1;
  428. text-align: center;
  429. font-size:16px;
  430. line-height: 50px;
  431. }
  432. .reset{
  433. background:#FFFCFC;
  434. border:1px solid #EEEEEE;
  435. color:#111111;
  436. }
  437. .confirm{
  438. background: @mainColor;
  439. color: #FFFFFF;
  440. }
  441. }
  442. }
  443. }
  444. .flex-menu-box {
  445. position: fixed;
  446. top: 0;
  447. left: 0;
  448. right: 0;
  449. }
  450. }