detail.scss 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605
  1. @import "../scssCommon";
  2. .kaifainDetail {
  3. -webkit-overflow-scrolling: auto;
  4. .topArea {
  5. position: relative;
  6. margin: -85px 0 0 !important;
  7. width: 100vw;
  8. min-height: 500px;
  9. background: rgba(48, 89, 220, 1);
  10. background-repeat: no-repeat;
  11. background-size: cover;
  12. .topContent {
  13. width: 1000px;
  14. height: 100%;
  15. display: flex;
  16. justify-content: flex-start;
  17. align-items: center;
  18. margin: 0 auto;
  19. flex-direction: column;
  20. .title {
  21. margin-top: 160px;
  22. height:75px;
  23. font-size:42px;
  24. font-weight:600;
  25. color:rgba(255,255,255,1);
  26. line-height:75px;
  27. }
  28. .desc {
  29. width:744px;
  30. height:48px;
  31. font-size:17px;
  32. font-weight:400;
  33. color:rgba(255,255,255,1);
  34. line-height:24px;
  35. text-align: center;
  36. overflow: hidden;
  37. text-overflow: ellipsis;
  38. display: -webkit-box;
  39. -webkit-box-orient: vertical;
  40. -webkit-line-clamp: 2;
  41. }
  42. .btn {
  43. margin-top: 40px;
  44. width:191px;
  45. height:44px;
  46. border-radius:3px;
  47. border:1px solid rgba(255,255,255,1);
  48. display: flex;
  49. justify-content: center;
  50. align-items: center;
  51. cursor: pointer;
  52. p {
  53. height: 25px;
  54. font-size: 18px;
  55. font-weight: 600;
  56. color: rgba(255, 255, 255, 1);
  57. line-height: 25px;
  58. }
  59. }
  60. .companyInfo {
  61. cursor: pointer;
  62. margin-top: 50px;
  63. width:342px;
  64. height:51px;
  65. background:rgba(0,0,0,0.15);
  66. border-radius:4px;
  67. box-sizing: border-box;
  68. padding: 10px 12px;
  69. display: flex;
  70. align-items: center;
  71. justify-content: space-between;
  72. .left {
  73. display: flex;
  74. align-items: center;
  75. img {
  76. width:30px;
  77. height:30px;
  78. border-radius:15px;
  79. }
  80. .cname {
  81. height:17px;
  82. font-size:12px;
  83. font-weight:600;
  84. color:rgba(255,255,255,1);
  85. line-height:17px;
  86. margin-left: 8px;
  87. }
  88. .status {
  89. width: 38px;
  90. height: 17px;
  91. margin-left: 8px;
  92. background: url("~@/assets/img/kaifain/detail/confirmCompany@2x.png") no-repeat;
  93. background-size: cover;
  94. }
  95. }
  96. .right {
  97. flex-shrink: 0;
  98. .icon {
  99. width: 7px;
  100. height: 10px;
  101. background: url("~@/assets/img/kaifain/detail/rightIcon.png") no-repeat;
  102. background-size: cover;
  103. }
  104. }
  105. }
  106. }
  107. .bgChange {
  108. width: 40px;
  109. height: 40px;
  110. position: absolute;
  111. right: 0;
  112. top: 84px;
  113. cursor: pointer;
  114. background: url("~@/assets/img/kaifain/detail/bg_change@2x.png") no-repeat;
  115. background-size: cover;
  116. }
  117. }
  118. .contentArea {
  119. width: 1000px;
  120. margin: 0 auto;
  121. box-sizing: border-box;
  122. .bannerSelect {
  123. width:1000px;
  124. height:60px;
  125. background:rgba(255,255,255,1);
  126. box-shadow:0px 0px 0px 0px rgba(243,243,243,1);
  127. display: flex;
  128. justify-content: center;
  129. align-items: center;
  130. .cell {
  131. height:60px;
  132. font-size:16px;
  133. line-height:60px;
  134. font-weight:400;
  135. color:rgba(34,34,34,1);
  136. position: relative;
  137. cursor: pointer;
  138. &:nth-child(n+2) {
  139. margin-left: 100px;
  140. }
  141. &.selected {
  142. font-weight:600;
  143. color:rgba(34,34,34,1);
  144. &:after {
  145. content: " ";
  146. position: absolute;
  147. bottom: 0;
  148. left: 50%;
  149. transform: translate(-50%);
  150. width:40px;
  151. height:3px;
  152. background:rgba(48,142,255,1);
  153. border-radius:2px;
  154. }
  155. }
  156. }
  157. }
  158. .introArea {
  159. background-color: #fff;
  160. padding: 27px 36px;
  161. .title {
  162. height:27px;
  163. font-size:20px;
  164. font-weight:600;
  165. color:rgba(51,51,51,1);
  166. line-height:27px;
  167. text-align: left;
  168. }
  169. .introContent {
  170. }
  171. }
  172. .caseListArea {
  173. margin-top: 10px;
  174. padding: 40px 80px;
  175. background-color: #fff;
  176. .title {
  177. text-align: center;
  178. .word {
  179. height: 48px;
  180. font-size: 34px;
  181. font-weight: 500;
  182. color: rgba(34, 34, 34, 1);
  183. line-height: 48px;
  184. letter-spacing: 1px;
  185. }
  186. .line {
  187. margin: 10px auto 0;
  188. width: 40px;
  189. height: 4px;
  190. background: rgba(32, 148, 243, 1);
  191. border-radius: 4px;
  192. }
  193. }
  194. .list {
  195. margin-top: 62px;
  196. display: flex;
  197. width: 100%;
  198. .cell {
  199. width: 1038px;
  200. height: 200px;
  201. display: flex;
  202. justify-content: center;
  203. align-items: center;
  204. border-bottom: 1px solid #EDEDED;
  205. .left {
  206. flex-shrink: 0;
  207. font-size: 0;
  208. width: 160px;
  209. height: 160px;
  210. img {
  211. width: 160px;
  212. height: 160px;
  213. }
  214. }
  215. .right {
  216. flex-grow: 1;
  217. margin-left: 13px;
  218. height: 124px;
  219. display: flex;
  220. justify-content: space-between;
  221. flex-direction: column;
  222. .top {
  223. flex-grow: 1;
  224. .bTitle {
  225. font-size: 17px;
  226. font-weight: 600;
  227. color: rgba(34, 34, 34, 1);
  228. line-height: 24px;
  229. }
  230. .bStitle {
  231. margin-top: 9px;
  232. height: 40px;
  233. font-size: 14px;
  234. font-weight: 400;
  235. color: rgba(34, 34, 34, 1);
  236. line-height: 20px;
  237. }
  238. }
  239. .bottom {
  240. flex-shrink: 0;
  241. height: 26px;
  242. display: flex;
  243. align-items: center;
  244. cursor: pointer;
  245. .icon {
  246. width: 25px;
  247. height: 25px;
  248. background: url('~@/assets/img/kaifain/detail/icon_pdf@2x.png') no-repeat;
  249. background-size: cover;
  250. }
  251. .word {
  252. margin-left: 7px;
  253. height: 17px;
  254. font-size: 12px;
  255. font-weight: 600;
  256. color: rgba(51, 51, 51, 1);
  257. line-height: 17px;
  258. }
  259. }
  260. }
  261. }
  262. }
  263. }
  264. }
  265. }
  266. * {
  267. box-sizing: border-box;
  268. }
  269. .kaifainDetailMobile {
  270. margin: 0 !important;
  271. background-color: #fff;
  272. width: 100vw;
  273. height: 100vh;
  274. overflow-x: hidden;
  275. overflow-y: scroll;
  276. -webkit-overflow-scrolling: touch;
  277. .topArea {
  278. position: relative;
  279. margin: 0 0 0 !important;
  280. width: 100vw;
  281. background: rgba(48, 89, 220, 1);
  282. height: pxtovw(290);
  283. .bannerBg {
  284. position: absolute;
  285. left: 0;
  286. bottom: 0;
  287. width: 100vw;
  288. img {
  289. width: 100vw;
  290. height: auto;
  291. vertical-align: middle;
  292. }
  293. }
  294. .topContent {
  295. width: 100vw;
  296. height: 100%;
  297. display: flex;
  298. justify-content: flex-start;
  299. align-items: center;
  300. margin: 0 auto;
  301. flex-direction: column;
  302. &.noneMobileAPP {
  303. margin-top: pxtovw(-85);
  304. }
  305. .title {
  306. margin-top: pxtovw(128);
  307. height:pxtovw(36);
  308. font-size:pxtovw(25);
  309. font-weight:600;
  310. color:rgba(255,255,255,1);
  311. line-height:pxtovw(36);
  312. }
  313. .desc {
  314. margin-top: pxtovw(15);
  315. width: pxtovw(335);
  316. height:pxtovw(32);
  317. font-size:pxtovw(12);
  318. font-weight:400;
  319. color:rgba(255,255,255,1);
  320. line-height: pxtovw(16);
  321. text-align: center;
  322. overflow: hidden;
  323. text-overflow: ellipsis;
  324. display: -webkit-box;
  325. -webkit-box-orient: vertical;
  326. -webkit-line-clamp: 2;
  327. }
  328. .companyInfo {
  329. cursor: pointer;
  330. margin-top: pxtovw(15);
  331. width:pxtovw(237);
  332. height:pxtovw(41);
  333. background:rgba(0,0,0,0.15);
  334. border-radius:pxtovw(4);
  335. box-sizing: border-box;
  336. padding: pxtovw(10) pxtovw(12);
  337. display: flex;
  338. align-items: center;
  339. justify-content: space-between;
  340. .left {
  341. display: flex;
  342. align-items: center;
  343. img {
  344. width:pxtovw(20);
  345. height:pxtovw(20);
  346. border-radius: 50%;
  347. }
  348. .cname {
  349. font-size: pxtovw(14);
  350. font-weight:600;
  351. color:rgba(255,255,255,1);
  352. margin-left: 8px;
  353. transform-origin: left center;
  354. transform: scale(0.714);
  355. }
  356. .status {
  357. width: pxtovw(38);
  358. height: pxtovw(17);
  359. margin-left: pxtovw(8);
  360. background: url("~@/assets/img/kaifain/detail/confirmCompany@2x.png") no-repeat;
  361. background-size: cover;
  362. }
  363. }
  364. .right {
  365. flex-shrink: 0;
  366. .icon {
  367. width: 7px;
  368. height: 10px;
  369. background: url("~@/assets/img/kaifain/detail/rightIcon.png") no-repeat;
  370. background-size: cover;
  371. }
  372. }
  373. }
  374. }
  375. }
  376. .contentArea {
  377. width: 100vw;
  378. margin: 0 auto;
  379. box-sizing: border-box;
  380. .bannerSelect {
  381. width:100vw;
  382. height:pxtovw(45);
  383. background:rgba(255,255,255,1);
  384. box-shadow:0px 0px 0px 0px rgba(243,243,243,1);
  385. display: flex;
  386. justify-content: center;
  387. align-items: center;
  388. .cell {
  389. height:pxtovw(45);
  390. font-size:pxtovw(15);
  391. font-weight:500;
  392. color:#888888;
  393. line-height:pxtovw(45);
  394. position: relative;
  395. cursor: pointer;
  396. &:nth-child(n+2) {
  397. margin-left: pxtovw(47);
  398. }
  399. &.selected {
  400. font-weight:600;
  401. color:rgba(34,34,34,1);
  402. &:after {
  403. content: " ";
  404. position: absolute;
  405. bottom: 0;
  406. left: 50%;
  407. transform: translate(-50%);
  408. width:pxtovw(15);
  409. height:pxtovw(3);
  410. background:rgba(48,142,255,1);
  411. border-radius:pxtovw(2);
  412. }
  413. }
  414. }
  415. }
  416. .introArea {
  417. padding: pxtovw(10) pxtovw(14) pxtovw(10) pxtovw(14);
  418. background-color: #fff;
  419. .title {
  420. text-align: center;
  421. .word {
  422. font-size: pxtovw(24);
  423. font-weight: 500;
  424. color: rgba(34, 34, 34, 1);
  425. letter-spacing: pxtovw(1);
  426. }
  427. .line {
  428. margin: pxtovw(8) auto;
  429. width: pxtovw(29);
  430. height: pxtovw(3);
  431. background: rgba(32, 148, 243, 1);
  432. border-radius: pxtovw(3);;
  433. }
  434. }
  435. .introContent {
  436. width: pxtovw(347);
  437. p {
  438. word-break: break-all;
  439. }
  440. }
  441. }
  442. .caseListArea {
  443. margin-top: 0;
  444. padding: 0;
  445. padding-top: pxtovw(30);
  446. background-color: #fff;
  447. padding-bottom: pxtovw(100);
  448. .title {
  449. text-align: center;
  450. .word {
  451. height: pxtovw(33);
  452. font-size: pxtovw(24);
  453. font-weight: 500;
  454. color: rgba(34, 34, 34, 1);
  455. line-height: pxtovw(33);
  456. letter-spacing: pxtovw(1);
  457. }
  458. .line {
  459. margin: pxtovw(8) auto;
  460. width: pxtovw(29);
  461. height: pxtovw(3);
  462. background: rgba(32, 148, 243, 1);
  463. border-radius: pxtovw(3);
  464. }
  465. }
  466. .list {
  467. margin-top: pxtovw(10);
  468. display: flex;
  469. width: 100%;
  470. padding: 0 pxtovw(10);
  471. .cell {
  472. width: 100vw;
  473. height: pxtovw(96);
  474. display: flex;
  475. justify-content: center;
  476. align-items: center;
  477. border-bottom: pxtovw(1) solid #EDEDED;
  478. .left {
  479. flex-shrink: 0;
  480. font-size: 0;
  481. width: pxtovw(72);
  482. height: pxtovw(72);
  483. img {
  484. width: pxtovw(72);
  485. height: pxtovw(72);
  486. }
  487. }
  488. .right {
  489. width: pxtovw(268);
  490. flex-grow: 1;
  491. margin-left: pxtovw(10);
  492. height: pxtovw(72);
  493. display: flex;
  494. justify-content: space-between;
  495. flex-direction: column;
  496. .top {
  497. display: flex;
  498. justify-content: center;
  499. flex-direction: column;
  500. .bStitle {
  501. height: auto;
  502. width: pxtovw(268);
  503. margin-top: 0;
  504. max-height: pxtovw(40);
  505. font-size: pxtovw(14);
  506. font-weight: 400;
  507. color: rgba(34, 34, 34, 1);
  508. line-height: pxtovw(20);
  509. overflow: hidden;
  510. text-overflow: ellipsis;
  511. display: -webkit-box;
  512. -webkit-box-orient: vertical;
  513. -webkit-line-clamp: 2;
  514. overflow: hidden;
  515. }
  516. }
  517. }
  518. }
  519. }
  520. }
  521. }
  522. .mobileBottomArea {
  523. width: 100vw;
  524. height: pxtovw(50);
  525. background:rgba(255,255,255,1);
  526. box-shadow:0px pxtovw(6) pxtovw(23) 0px rgba(13,24,36,0.07);
  527. position: fixed;
  528. bottom: 0;
  529. left: 0;
  530. .mobileBottomBtn {
  531. margin: pxtovw(5) auto auto;
  532. width:pxtovw(355);
  533. height:pxtovw(40);
  534. background:rgba(48,142,255,1);
  535. box-shadow:0px 2px 6px 0px rgba(48,142,255,0.3);
  536. border-radius:2px;
  537. display: flex;
  538. justify-content: center;
  539. align-items: center;
  540. p {
  541. height:pxtovw(20);
  542. font-size:pxtovw(14);
  543. font-weight:500;
  544. color:rgba(255,255,255,1);
  545. line-height:pxtovw(20);
  546. }
  547. }
  548. }
  549. }
  550. .main {
  551. margin-top: 0 !important;
  552. }
  553. @media screen and (max-width: 960px) {
  554. .main {
  555. min-width: auto !important;
  556. }
  557. }
  558. @supports(bottom: env(safe-area-inset-bottom)) {
  559. .mobileBottomArea {
  560. height: calc(pxtovw(50) + env(safe-area-inset-bottom) );
  561. }
  562. }