portal.less 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477
  1. @headerNavDetaulHeight : 70px;
  2. .wrap {
  3. width: 100%;
  4. margin: 0 auto;
  5. background: #ffffff;
  6. .portal-header {
  7. .portal-top {
  8. line-height: 35px;
  9. font-size: 12px;
  10. color: #999;
  11. background: #F3F3F3;
  12. >div {
  13. width: 1000px;
  14. margin: 0 auto;
  15. }
  16. .top-welcomeText {
  17. float: left;
  18. }
  19. .top-alink {
  20. float: right;
  21. a {
  22. color: #999;
  23. padding: 0 8px;
  24. border-left: 1px solid #999;
  25. }
  26. >a {
  27. &:first-child {
  28. border: none;
  29. }
  30. }
  31. }
  32. >span {
  33. padding-left: 20px;
  34. }
  35. }
  36. .header_nav_detail {
  37. height: @headerNavDetaulHeight;
  38. line-height: 68px;
  39. position: relative;
  40. border-bottom: 1px solid #4466bf;
  41. .container {
  42. width: 1000px;
  43. margin: 0 auto;
  44. padding-right: 0;
  45. padding-left: 0;
  46. .nav_content {
  47. position: relative;
  48. >li {
  49. float: left;
  50. width: 10%;
  51. font-size: 13px;
  52. height: @headerNavDetaulHeight;
  53. padding: 0;
  54. text-align: center;
  55. font-weight: bold;
  56. position: relative;
  57. &.active,
  58. &:hover {
  59. >a {
  60. color: #58a3ff;
  61. font-weight: bolder;
  62. font-size: 14px;
  63. }
  64. .secondary_navigation_nav {
  65. display: block;
  66. }
  67. &.hideSub .secondary_navigation_nav {
  68. display: none;
  69. }
  70. }
  71. >a {
  72. color: #333333;
  73. display: block;
  74. width: 100%;
  75. padding: 3px 1px; //border-right: 1px solid #ececec;
  76. line-height: 22px;
  77. margin-top: 25px;
  78. margin-bottom: 16px
  79. }
  80. .showSub .secondary_navigation_nav {
  81. display: block;
  82. }
  83. }
  84. }
  85. .secondary_navigation_nav {
  86. position: absolute;
  87. left: auto;
  88. top: @headerNavDetaulHeight;
  89. width: 450px;
  90. z-index: 100;
  91. display: none;
  92. li {
  93. float: left;
  94. width: 75px;
  95. line-height: 45px;
  96. text-align: center;
  97. a {
  98. margin: 15px 0;
  99. line-height: 1.25;
  100. border-right: 1px solid #ececec;
  101. color: #fff;
  102. font-size: 12px;
  103. font-weight: normal;
  104. width: 100%;
  105. display: block;
  106. }
  107. &.active,
  108. &:hover {
  109. background: rgba(0, 0, 0, 0.1);
  110. a {
  111. font-size: 13px;
  112. font-weight: bolder;
  113. border: none;
  114. }
  115. }
  116. &:last-child a {
  117. border: none;
  118. }
  119. }
  120. &.show {
  121. display: block;
  122. }
  123. }
  124. }
  125. .secondary_navigation {
  126. position: absolute;
  127. height: 45px;
  128. line-height: 45px;
  129. width: 100%;
  130. background: #58a3ff;
  131. opacity: 0.2;
  132. z-index: 99;
  133. display: block;
  134. }
  135. .logo {
  136. height: @headerNavDetaulHeight;
  137. line-height: 68px;
  138. img {
  139. vertical-align: middle;
  140. }
  141. }
  142. .search {
  143. line-height: 68px
  144. }
  145. }
  146. .glyphicon {
  147. font-size: 12px;
  148. font-weight: inherit;
  149. }
  150. .col-md-3 {
  151. width: 25%;
  152. float: left
  153. }
  154. .col-md-6 {
  155. width: 50%;
  156. float: left
  157. }
  158. .col-md-8 {
  159. width: 66.66666667%;
  160. float: left
  161. }
  162. .col-md-9 {
  163. width: 75%;
  164. float: left
  165. }
  166. }
  167. .footer {
  168. width: 100%;
  169. position: fixed;
  170. bottom: 0;
  171. left: 0;
  172. z-index: 1;
  173. text-align: center;
  174. padding: 6px 0;
  175. padding: 10px 0;
  176. text-align: center;
  177. background: #f0f0f0;
  178. p {
  179. line-height: 24px;
  180. }
  181. }
  182. .portal-nav {
  183. width: 1280px;
  184. height: 70px;
  185. margin: 0 auto;
  186. border-bottom: 1px solid #ececec;
  187. .nav-logoBox {
  188. float: left;
  189. width: 154px;
  190. height: 53px;
  191. padding-top: 53px;
  192. margin-top: 8px;
  193. position: relative;
  194. img {
  195. width: 154px;
  196. height: 53px;
  197. position: absolute;
  198. top: 0;
  199. left: 0;
  200. }
  201. }
  202. .nav-list {
  203. float: left;
  204. margin-left: 100px;
  205. li {
  206. float: left;
  207. width: 200px;
  208. height: 70px;
  209. line-height: 70px;
  210. text-align: center;
  211. a {
  212. display: inline-block;
  213. width: 200px;
  214. font-size: 18px;
  215. color: #333;
  216. }
  217. &:hover {
  218. background: #58a3ff;
  219. a {
  220. color: #fff;
  221. }
  222. }
  223. }
  224. .active {
  225. border-bottom: 2px solid #58a3ff;
  226. a {
  227. color: #58a3ff
  228. }
  229. }
  230. }
  231. }
  232. .portal-content {
  233. width: 1280px;
  234. margin: 0 auto; //background: #e0e0e0;
  235. padding-top: 56px;
  236. margin-bottom: 120px;
  237. .nav-search {
  238. float: right;
  239. height: 28px;
  240. width: 250px;
  241. margin-right: 50px;
  242. position: relative;
  243. >input {
  244. position: absolute;
  245. top: 0;
  246. left: 0;
  247. border-right: none;
  248. padding-left: 10px;
  249. width: 200px;
  250. border-top-left-radius: 14px;
  251. border-bottom-left-radius: 14px;
  252. border-top-right-radius: 0;
  253. border-bottom-right-radius: 0;
  254. }
  255. >button {
  256. position: absolute;
  257. right: 0;
  258. vertical-align: middle;
  259. border-top-left-radius: 0;
  260. border-bottom-left-radius: 0;
  261. border-top-right-radius: 14px;
  262. border-bottom-right-radius: 14px;
  263. border: none;
  264. height: 28px;
  265. background: #58a3ff;
  266. >img {
  267. vertical-align: middle;
  268. }
  269. }
  270. }
  271. .search-criteria {
  272. margin-bottom: 10px;
  273. border-bottom: 1px dotted #ccc;
  274. }
  275. .ant-radio-group {
  276. >label {
  277. border-radius: 0px;
  278. border: 1px solid #d9d9d9;
  279. margin-right: 10px;
  280. margin-bottom: 10px;
  281. }
  282. .ant-radio-button-wrapper-checked {
  283. border: 1px solid #58a3ff;
  284. box-shadow: none;
  285. }
  286. }
  287. .search-title {
  288. text-align: center;
  289. span {
  290. line-height: 28px;
  291. }
  292. }
  293. ul {
  294. box-sizing: border-box;
  295. margin-top: 20px;
  296. .user-detail {
  297. float: left;
  298. height: auto;
  299. width: 24%;
  300. background: #fff;
  301. border: 1px solid #d9d9d9;
  302. padding: 20px;
  303. margin-right: 12px;
  304. margin-bottom: 20px;
  305. .logo {
  306. height: 120px;
  307. width: 120px;
  308. position: relative;
  309. padding-top: 120px;
  310. margin: 0 auto;
  311. img {
  312. height: 120px;
  313. width: auto;
  314. position: absolute;
  315. top: 0;
  316. left: 0;
  317. }
  318. }
  319. >div:not(:first-child) {
  320. font-size: 16px;
  321. height: 24px;
  322. line-height: 24px;
  323. overflow: hidden;
  324. vertical-align: middle;
  325. color: #999;
  326. }
  327. .name {
  328. margin-top: 10px;
  329. text-align: center;
  330. color: #333;
  331. }
  332. .address {
  333. font-size: 18px;
  334. }
  335. .text-Number {
  336. color: #ea0862;
  337. font-size: 18px;
  338. }
  339. .text-unit {
  340. color: #333;
  341. font-size: 18px;
  342. }
  343. }
  344. }
  345. }
  346. .portal-carousel {
  347. margin: 20px 0;
  348. .slide-box {
  349. img {
  350. width: 100%;
  351. }
  352. }
  353. .slick-dots {
  354. >li {
  355. button {
  356. height: 4px;
  357. width: 20px;
  358. }
  359. }
  360. }
  361. }
  362. .portal-rate {
  363. &:hover {
  364. cursor: default;
  365. }
  366. }
  367. }
  368. .portal-desc-content {
  369. .ant-row {
  370. margin-bottom: 16px;
  371. }
  372. .interest {
  373. a,
  374. button {
  375. float: right;
  376. padding-right: 50px;
  377. line-height: 18px;
  378. i {
  379. vertical-align: middle;
  380. }
  381. }
  382. }
  383. }
  384. .detial_sub {
  385. line-height: 32px;
  386. .detial_sub_icon {
  387. vertical-align: middle;
  388. display: inline-block;
  389. height: 20px;
  390. width: 20px;
  391. padding-top: 20px;
  392. position: relative;
  393. img {
  394. position: absolute;
  395. top: 0;
  396. left: 0;
  397. height: 20px;
  398. }
  399. }
  400. .detial_sub_title {
  401. color: #666;
  402. margin-left: 6px;
  403. margin-right: 6px;
  404. }
  405. .detial_sub_text {
  406. color: #333;
  407. i {
  408. background: #ccc;
  409. border-radius: 2px;
  410. padding: 0 6px;
  411. margin-right: 6px;
  412. }
  413. }
  414. .money_text {
  415. color: #58a3ff;
  416. }
  417. .detial_sub_score {
  418. display: inline-block;
  419. width: 90px;
  420. >span {
  421. overflow: hidden;
  422. display: inline-block;
  423. vertical-align: top;
  424. }
  425. }
  426. }
  427. .detail_interest_sub {
  428. list-style: none;
  429. padding: 0 200px;
  430. margin-bottom: 20px;
  431. >li {
  432. margin-top: 20px;
  433. border: 1px solid #ececec;
  434. padding: 0 20px 20px;
  435. }
  436. .interest_list_title {
  437. line-height: 40px;
  438. padding-left: 60px;
  439. position: relative;
  440. >img {
  441. width: 30px;
  442. position: absolute;
  443. left: -12px;
  444. top: -1px;
  445. }
  446. >span {
  447. font-size: 20px;
  448. color: #58a3ff;
  449. }
  450. }
  451. .interest_list_name {
  452. position: relative;
  453. height: 24px;
  454. >p {
  455. font-size: 16px;
  456. text-align: right;
  457. padding-right: 120px;
  458. color: #58a3ff;
  459. }
  460. .interest_list_confirm {
  461. position: absolute;
  462. right: 10px;
  463. top: 2px;
  464. span {
  465. margin-right: 10px;
  466. }
  467. img {
  468. height: 22px;
  469. width: 22px;
  470. vertical-align: middle;
  471. }
  472. }
  473. }
  474. }