style.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494
  1. .app {
  2. background: white;
  3. // min-height: 100vh;
  4. width: 100vw;
  5. display: flex;
  6. flex-direction: column;
  7. overflow-x: hidden;
  8. }
  9. #iframe-header {
  10. width: 100%;
  11. border: none;
  12. /* 设置初始高度为0,之后通过JS动态调整 */
  13. min-height: 265px;
  14. min-width: 1200px;
  15. position: relative;
  16. overflow: hidden;
  17. background-image: url("./header-bg.png");
  18. background-repeat: no-repeat;
  19. background-size: cover;
  20. & > * {
  21. overflow: hidden;
  22. }
  23. .top-row {
  24. color: white;
  25. margin-top: -2px;
  26. line-height: 30px;
  27. background: rgba(0, 0, 0, 0.2);
  28. font-size: 12px;
  29. .divider {
  30. padding: 0 10px;
  31. color: #ccc;
  32. }
  33. .text-link {
  34. cursor: pointer;
  35. &:hover {
  36. text-decoration: underline;
  37. }
  38. }
  39. .top-row-content {
  40. display: flex;
  41. flex-direction: row;
  42. justify-content: space-between;
  43. .top-row-left {
  44. display: flex;
  45. flex-direction: row;
  46. align-items: center;
  47. }
  48. .top-row-right {
  49. display: flex;
  50. flex-direction: row;
  51. align-items: center;
  52. }
  53. }
  54. }
  55. .second-row {
  56. padding: 13px 0 20px;
  57. width: 1200px;
  58. margin: 0 auto;
  59. display: flex;
  60. flex-direction: row;
  61. align-items: center;
  62. justify-content: flex-start;
  63. .gov-logo {
  64. width: 198px;
  65. height: 47px;
  66. cursor: pointer;
  67. background: url(./gov_logo.png) no-repeat;
  68. background-size: 100%;
  69. position: relative;
  70. }
  71. .divider {
  72. margin: 5px 19px 0 20px;
  73. width: 1px;
  74. height: 37px;
  75. background-color: #fff;
  76. opacity: 0.3;
  77. }
  78. .logo {
  79. width: 198px;
  80. height: 47px;
  81. cursor: pointer;
  82. background: url(./logo0925.svg) no-repeat;
  83. background-size: 100%;
  84. position: relative;
  85. }
  86. .region-box {
  87. display: flex;
  88. flex-direction: row;
  89. align-items: center;
  90. .position-logo {
  91. width: 20px;
  92. height: 20px;
  93. background: url("./icon-areaL.png") no-repeat;
  94. background-size: contain;
  95. }
  96. .province {
  97. margin-left: 5px;
  98. color: white;
  99. }
  100. .city {
  101. margin-left: 5px;
  102. border: 1px solid #f1f1f1;
  103. background: #f1f1f1;
  104. color: black;
  105. border-radius: 4px;
  106. padding: 0 10px;
  107. font-size: 14px;
  108. }
  109. }
  110. }
  111. .third-row {
  112. padding-top: 4px;
  113. box-sizing: border-box;
  114. width: 100%;
  115. border-bottom: 1px solid rgba(255,255,255,0.2);
  116. .tab-list {
  117. display: flex;
  118. flex-direction: row;
  119. width: 1200px;
  120. margin: 0 auto;
  121. }
  122. .tab-item {
  123. font-size: 15px;
  124. min-width: 40px;
  125. padding: 5px 10px 10px 10px;
  126. color: white;
  127. cursor: pointer;
  128. border-bottom: 4px solid rgba(255,255,255,0);
  129. transition: all 0.2s ease-in;
  130. &.active,&:hover {
  131. border-bottom: 4px solid rgba(255,255,255,0.6);
  132. }
  133. }
  134. }
  135. .page-title-row {
  136. padding-top: 40px;
  137. width: 1200px;
  138. margin: 0 auto;
  139. display: flex;
  140. flex-direction: row;
  141. align-items: center;
  142. .position-logo {
  143. width: 30px;
  144. height: 30px;
  145. background: url("./weizhitu.png") no-repeat;
  146. background-size: contain;
  147. }
  148. .page-title {
  149. margin-left: 10px;
  150. font-size: 24px;
  151. color: #666;
  152. }
  153. }
  154. }
  155. #iframe-footer {
  156. width: 100%;
  157. border: none;
  158. /* 设置初始高度为0,之后通过JS动态调整 */
  159. height: fit-content;
  160. min-height: 360px;
  161. position: relative;
  162. overflow: hidden;
  163. }
  164. @media (max-width: 1365px) {
  165. #iframe-footer {
  166. min-height: 600px;
  167. }
  168. }
  169. #app .container {
  170. display: flex;
  171. flex-direction: column;
  172. align-items: center;
  173. justify-content: flex-start;
  174. padding: 20px;
  175. height: 0;
  176. flex: 1;
  177. position: relative;
  178. .toast {
  179. position: absolute;
  180. left: 50%;
  181. transform: translateX(-50%);
  182. top: -40px;
  183. z-index: 999;
  184. width: 330px;
  185. background-color: #ffffff;
  186. box-shadow: 0 0 4px #d9d9d9;
  187. padding: 5px 10px;
  188. border-radius: 20px;
  189. font-size: 15px;
  190. text-align: center;
  191. color: #ffffff;
  192. opacity: 0;
  193. transition: all 0.3s ease-in;
  194. &.show {
  195. opacity: 1;
  196. top: 50px;
  197. }
  198. &.success {
  199. background-color: #00cf4a;
  200. box-shadow: 0 0 4px #069338;
  201. }
  202. &.error {
  203. background-color: #F44336;
  204. box-shadow: 0 0 4px #ff3a3a;
  205. }
  206. }
  207. }
  208. #app .form-wrap {
  209. width: 100%;
  210. max-width: 80vw;
  211. height: 0;
  212. min-height: 500px;
  213. flex: 1;
  214. .notice-box {
  215. padding: 20px;
  216. display: flex;
  217. flex-direction: column;
  218. align-items: center;
  219. justify-content: center;
  220. border: 1px solid #f1f1f1;
  221. border-radius: 2px;
  222. .title {
  223. font-size: 18px;
  224. padding: 10px;
  225. width: 100%;
  226. text-align: center;
  227. }
  228. .content {
  229. height: 400px;
  230. overflow-y: auto;
  231. width: 100%;
  232. font-size: 18px;
  233. border-top: 1px solid #f1f1f1;
  234. border-bottom: 1px solid #f1f1f1;
  235. }
  236. .region-list {
  237. width: 100%;
  238. display: flex;
  239. flex-direction: row;
  240. flex-wrap: wrap;
  241. justify-content: center;
  242. padding: 10px;
  243. margin: 0 auto;
  244. .region-item {
  245. width: 180px;
  246. height: 50px;
  247. cursor: pointer;
  248. border-radius: 8px;
  249. background: rgba(240, 240, 240, 1);
  250. border: 1px solid rgba(230, 230, 230, 1);
  251. position: relative;
  252. padding-left: 55px;
  253. margin: 20px 10px;
  254. &.enable {
  255. .text {
  256. color: rgba(30, 118, 239, 1);
  257. }
  258. border-radius: 8px;
  259. background: rgba(245, 249, 255, 1);
  260. border: 1px solid rgba(196, 221, 255, 1);
  261. }
  262. .text {
  263. line-height: 50px;
  264. font-size: 14px;
  265. }
  266. .region-bg {
  267. width: 50px;
  268. height: 70px;
  269. position: absolute;
  270. left: 0;
  271. bottom: 0;
  272. object-position: bottom;
  273. object-fit: contain;
  274. }
  275. }
  276. }
  277. .action {
  278. padding: 20px 0;
  279. display: flex;
  280. flex-direction: column;
  281. align-items: center;
  282. width: 100%;
  283. user-select: none;
  284. .checkbox {
  285. display: flex;
  286. flex-direction: row;
  287. align-items: center;
  288. input[type="checkbox"] {
  289. transform: scale(1.5); /* 放大复选框的大小 */
  290. margin-right: 10px; /* 添加一些右边距 */
  291. cursor: pointer;
  292. }
  293. input[type="checkbox"]:checked + label {
  294. color: #4269db; /* 当复选框被选中时,划掉标签文本 */
  295. cursor: pointer;
  296. }
  297. .text {
  298. font-size: 14px;
  299. }
  300. }
  301. }
  302. }
  303. .webview {
  304. width: 100%;
  305. min-height: 500px;
  306. iframe {
  307. width: 100%;
  308. min-height: 1000px;
  309. border: none;
  310. }
  311. }
  312. .result-box {
  313. display: flex;
  314. flex-direction: column;
  315. align-items: center;
  316. justify-content: center;
  317. width: 100%;
  318. height: 400px;
  319. padding: 20px;
  320. .success-logo {
  321. background-image: url("./success.png");
  322. background-size: contain;
  323. background-repeat: no-repeat;
  324. width: 340px;
  325. height: 232px;
  326. overflow: hidden;
  327. margin-left: 20px;
  328. }
  329. .title {
  330. font-size: 24px;
  331. padding: 20px 0;
  332. }
  333. .desc {
  334. font-size: 14px;
  335. }
  336. }
  337. }
  338. #app .button {
  339. margin-top: 10px;
  340. width: 200px;
  341. color: white;
  342. font-size: 14px;
  343. background: #4269db;
  344. border-radius: 4px;
  345. text-align: center;
  346. line-height: 28px;
  347. height: 28px;
  348. cursor: pointer;
  349. &:hover {
  350. opacity: 0.8;
  351. }
  352. &:active {
  353. opacity: 0.6;
  354. }
  355. &.disabled {
  356. background: #f1f1f1;
  357. color: rgba(0,0,0,.25);
  358. cursor: not-allowed;
  359. }
  360. &.is-white {
  361. background: white;
  362. color: rgb(42, 130, 228);
  363. border: 1px solid #cfcfcf;
  364. }
  365. }
  366. #app .submit-button {
  367. width: 100%;
  368. color: white;
  369. background: rgb(42, 130, 228);
  370. border: none;
  371. border-radius: 2px;
  372. opacity: 1;
  373. cursor: pointer;
  374. height: 36px;
  375. margin-top: 10px;
  376. &:hover {
  377. opacity: 0.8;
  378. }
  379. &:disabled {
  380. opacity: 0.5;
  381. }
  382. &.fixed {
  383. position: absolute;
  384. bottom: 40px;
  385. margin-top: 40px;
  386. width: calc(100% - 40px);
  387. }
  388. &.is-white {
  389. background: white;
  390. color: rgb(42, 130, 228);
  391. border: 1px solid #cfcfcf;
  392. }
  393. }
  394. #app .step-box {
  395. display: flex;
  396. flex-direction: row;
  397. align-items: center;
  398. width: 100%;
  399. max-width: calc(464px * 2 + 20px);
  400. margin-bottom: 20px;
  401. .step-item {
  402. display: flex;
  403. flex-direction: row;
  404. justify-content: center;
  405. align-items: center;
  406. flex: 1;
  407. position: relative;
  408. &:last-child {
  409. width: 80px;
  410. flex: none;
  411. }
  412. .content {
  413. display: flex;
  414. flex-direction: column;
  415. justify-content: center;
  416. align-items: center;
  417. min-width: 80px;
  418. }
  419. &.active {
  420. .number {
  421. color: white;
  422. background: #4269db;
  423. border: 1px solid #4269db;
  424. }
  425. .text {
  426. color: #4269db;
  427. }
  428. }
  429. .divider {
  430. width: 100%;
  431. background: #eaebef;
  432. height: 2px;
  433. margin-bottom: 30px;
  434. &.active {
  435. background: #4269db;
  436. }
  437. }
  438. .number {
  439. width: 24px;
  440. height: 24px;
  441. padding: 12px;
  442. background: white;
  443. border: 1px solid rgba(0,0,0,.25);
  444. margin-bottom: 10px;
  445. border-radius: 50%;
  446. text-align: center;
  447. line-height: 24px;
  448. color: rgba(0,0,0,.25);
  449. font-size: 24px;
  450. font-weight: 400;
  451. }
  452. .text {
  453. font-size: 16px;
  454. color: rgba(0,0,0,.25);
  455. }
  456. }
  457. }
  458. #app .policy {
  459. padding: 20px;
  460. font-size: 14px;
  461. min-height: 150px;
  462. position: relative;
  463. justify-content: flex-start;
  464. align-items: flex-start;
  465. width: 100%;display: flex;
  466. }
  467. #app .policy .dot-item {
  468. display: flex;
  469. flex-direction: row;
  470. align-items: center;
  471. width: fit-content;
  472. color: rgba(0, 0, 0, 1);
  473. text-decoration: none;
  474. }
  475. #app .policy .dot {
  476. width: 5px;
  477. height: 5px;
  478. border-radius: 50%;
  479. background: rgba(30, 118, 239, 1);
  480. display: inline-block;
  481. margin-right: 10px;
  482. }
  483. #app .policy .phone-box {
  484. position: absolute;
  485. right: 20px;
  486. display: flex;
  487. flex-direction: column;
  488. .phone-item {
  489. cursor: pointer;
  490. }
  491. }