form.css 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468
  1. .agreement-mask[data-v-c8509778] {
  2. position: fixed;
  3. top: 0;
  4. left: 0;
  5. width: 100%;
  6. height: 100%;
  7. background-color: rgba(0, 0, 0, 0.6);
  8. z-index: 1000;
  9. display: flex;
  10. align-items: center;
  11. justify-content: center;
  12. }
  13. .agreement-container[data-v-c8509778] {
  14. width: 18.75rem;
  15. max-height: 80vh;
  16. background-color: #ffffff;
  17. border-radius: 0.625rem;
  18. display: flex;
  19. flex-direction: column;
  20. overflow: hidden;
  21. animation: fadeIn-c8509778 0.3s ease;
  22. }
  23. .agreement-header[data-v-c8509778] {
  24. padding: 0.9375rem;
  25. text-align: center;
  26. border-bottom: 0.0625rem solid #f5f5f5;
  27. }
  28. .agreement-title[data-v-c8509778] {
  29. font-size: 1rem;
  30. font-weight: bold;
  31. color: #333333;
  32. }
  33. .agreement-body[data-v-c8509778] {
  34. flex: 1;
  35. padding: 0.9375rem;
  36. font-size: 0.875rem;
  37. line-height: 1.6;
  38. color: #666666;
  39. max-height: 50vh;
  40. }
  41. .agreement-footer[data-v-c8509778] {
  42. padding: 0.9375rem;
  43. border-top: 0.0625rem solid #f5f5f5;
  44. }
  45. .confirm-btn[data-v-c8509778] {
  46. width: 100%;
  47. height: 2.5rem;
  48. line-height: 2.5rem;
  49. background-color: #ff5722;
  50. color: #ffffff;
  51. border-radius: 1.25rem;
  52. font-size: 0.875rem;
  53. }
  54. @keyframes fadeIn-c8509778 {
  55. from {
  56. opacity: 0;
  57. transform: scale(0.9);
  58. }
  59. to {
  60. opacity: 1;
  61. transform: scale(1);
  62. }
  63. }
  64. /* 页面背景 */
  65. body {
  66. background-color: #F5F6F8;
  67. }
  68. .container {
  69. padding: 0.625rem;
  70. /* 底部留白给按钮 */
  71. }
  72. /* 卡片通用样式 */
  73. .card {
  74. background-color: #fff;
  75. border-radius: 0.625rem;
  76. padding: 0.9375rem;
  77. margin-bottom: 0.625rem;
  78. }
  79. /* 表单行 */
  80. .form-item {
  81. display: flex;
  82. align-items: center;
  83. margin-bottom: 0.9375rem;
  84. }
  85. .form-item:last-child {
  86. margin-bottom: 0;
  87. }
  88. /* 标签宽度固定 */
  89. .label {
  90. width: 3.75rem;
  91. font-size: 0.9375rem;
  92. font-weight: bold;
  93. color: #333;
  94. margin-right: 0.625rem;
  95. flex-shrink: 0;
  96. }
  97. /* 灰色输入框容器 */
  98. .input-box {
  99. flex: 1;
  100. height: 2.5rem;
  101. background-color: #F8F8F8;
  102. /* 灰色背景 */
  103. border-radius: 0.25rem;
  104. display: flex;
  105. align-items: center;
  106. padding: 0 0.625rem;
  107. font-size: 0.875rem;
  108. color: #333;
  109. }
  110. .input {
  111. flex: 1;
  112. height: 100%;
  113. font-size: 0.875rem;
  114. }
  115. /* 站点显示容器 */
  116. .station-display {
  117. display: flex;
  118. flex-direction: column;
  119. justify-content: center;
  120. line-height: 1.4;
  121. padding: 0.3125rem 0;
  122. }
  123. .area-tag {
  124. font-size: 0.6875rem;
  125. color: #999;
  126. margin-bottom: 0.125rem;
  127. }
  128. .station-name {
  129. font-size: 0.875rem;
  130. color: #333;
  131. font-weight: 500;
  132. }
  133. /* 特殊样式: 手机号前缀 */
  134. .prefix-area {
  135. display: flex;
  136. align-items: center;
  137. margin-right: 0.625rem;
  138. height: 100%;
  139. /* 确保高度撑满 */
  140. }
  141. .prefix {
  142. color: #333;
  143. margin-right: 0.15625rem;
  144. }
  145. .arrow-down {
  146. font-size: 0.625rem;
  147. color: #999;
  148. line-height: 1;
  149. /* 消除行高影响 */
  150. }
  151. /* 特殊样式: 获取验证码 */
  152. .get-code-text {
  153. color: #FF5722;
  154. font-size: 0.875rem;
  155. font-weight: bold;
  156. margin-left: 0.625rem;
  157. }
  158. /* 特殊样式: 性别单选 */
  159. .gender-group {
  160. display: flex;
  161. align-items: center;
  162. }
  163. .radio-item {
  164. display: flex;
  165. align-items: center;
  166. margin-right: 1.25rem;
  167. font-size: 0.9375rem;
  168. color: #333;
  169. }
  170. .radio-icon {
  171. margin-right: 0.3125rem;
  172. font-size: 1rem;
  173. color: #ccc;
  174. /* 默认灰色 */
  175. }
  176. .radio-icon.active {
  177. color: #FF5722;
  178. /* 选中橙色 */
  179. }
  180. .radio-label.active {
  181. color: #FF5722;
  182. font-weight: bold;
  183. }
  184. /* 特殊样式: 箭头与图标 */
  185. .arrow-right {
  186. color: #ccc;
  187. font-size: 0.75rem;
  188. margin-left: auto;
  189. /* 推到最右 */
  190. }
  191. .eye-icon {
  192. padding: 0.3125rem;
  193. color: #ccc;
  194. }
  195. /* 服务类型区域 */
  196. .section-title {
  197. font-size: 0.9375rem;
  198. font-weight: bold;
  199. color: #333;
  200. margin-bottom: 0.625rem;
  201. }
  202. .service-types {
  203. display: flex;
  204. flex-wrap: wrap;
  205. gap: 0.625rem;
  206. margin-bottom: 0.9375rem;
  207. }
  208. .type-btn {
  209. width: calc((100% - 1.25rem) / 3);
  210. /* 每行3个,间距20rpx */
  211. height: 2.5rem;
  212. background-color: #F8F8F8;
  213. border-radius: 0.25rem;
  214. display: flex;
  215. align-items: center;
  216. justify-content: center;
  217. font-size: 0.875rem;
  218. color: #333;
  219. font-weight: 500;
  220. }
  221. .type-btn.selected {
  222. background-color: #FFF3E0;
  223. /* 浅橙背景 */
  224. color: #FF5722;
  225. font-weight: bold;
  226. }
  227. /* 底部操作区 (非固定) */
  228. .footer-actions {
  229. margin-top: 1.25rem;
  230. padding: 0 0.3125rem;
  231. padding-bottom: 1.875rem;
  232. /* 底部留白 */
  233. }
  234. /* 底部协议 */
  235. .agreement-row {
  236. display: flex;
  237. align-items: center;
  238. margin-bottom: 0.9375rem;
  239. /* 增加间距 */
  240. }
  241. .checkbox {
  242. width: 1rem;
  243. height: 1rem;
  244. border: 0.0625rem solid #ccc;
  245. border-radius: 0.125rem;
  246. margin-right: 0.46875rem;
  247. display: flex;
  248. align-items: center;
  249. justify-content: center;
  250. }
  251. .checkbox.checked {
  252. border-color: #FF5722;
  253. background-color: #FF5722;
  254. }
  255. .check-mark {
  256. color: #fff;
  257. font-size: 0.6875rem;
  258. }
  259. .agree-text {
  260. font-size: 0.8125rem;
  261. color: #999;
  262. }
  263. /* 底部按钮 */
  264. .footer-btn-area {
  265. width: 100%;
  266. margin-top: 1.25rem;
  267. /* 增加上间距 */
  268. }
  269. .submit-btn {
  270. background: linear-gradient(90deg, #FF6F00 0%, #FF5722 100%);
  271. color: #fff;
  272. font-size: 0.875rem;
  273. /* 14号字体 */
  274. font-weight: bold;
  275. height: 2.8125rem;
  276. line-height: 2.8125rem;
  277. border-radius: 1.40625rem;
  278. box-shadow: 0 0.3125rem 0.625rem rgba(255, 87, 34, 0.2);
  279. }
  280. .submit-btn::after {
  281. border: none;
  282. }
  283. /* 自定义日期选择器弹窗 */
  284. .picker-mask {
  285. position: fixed;
  286. top: 0;
  287. left: 0;
  288. right: 0;
  289. bottom: 0;
  290. background-color: rgba(0, 0, 0, 0.5);
  291. z-index: 999;
  292. visibility: hidden;
  293. opacity: 0;
  294. transition: all 0.3s;
  295. }
  296. .picker-mask.show {
  297. visibility: visible;
  298. opacity: 1;
  299. }
  300. .picker-content {
  301. position: absolute;
  302. bottom: 0;
  303. left: 0;
  304. width: 100%;
  305. background-color: #fff;
  306. border-radius: 0.625rem 0.625rem 0 0;
  307. transform: translateY(100%);
  308. transition: all 0.3s;
  309. }
  310. .picker-mask.show .picker-content {
  311. transform: translateY(0);
  312. }
  313. .picker-header {
  314. display: flex;
  315. justify-content: space-between;
  316. align-items: center;
  317. padding: 0.9375rem;
  318. border-bottom: 1px solid #eee;
  319. font-size: 1rem;
  320. }
  321. .picker-btn-cancel {
  322. color: #999;
  323. }
  324. .picker-title {
  325. font-weight: bold;
  326. color: #333;
  327. }
  328. .picker-btn-confirm {
  329. color: #FF5722;
  330. font-weight: bold;
  331. }
  332. .picker-view {
  333. width: 100%;
  334. height: 12.5rem;
  335. }
  336. .picker-item {
  337. line-height: 50px;
  338. /* picker-view-column 默认高度需要配合 */
  339. text-align: center;
  340. font-size: 1rem;
  341. color: #333;
  342. }
  343. /* 猴子图标样式 (复用 eye-icon 容器) */
  344. .monkey-icon {
  345. padding: 0.3125rem;
  346. display: flex;
  347. align-items: center;
  348. justify-content: center;
  349. }
  350. .svg-icon {
  351. width: 1.25rem;
  352. height: 1.25rem;
  353. }
  354. /* 弹窗通用列表 (覆盖) */
  355. .picker-content {
  356. height: 25rem;
  357. /* 增加高度以容纳层级 */
  358. display: flex;
  359. flex-direction: column;
  360. }
  361. .picker-body {
  362. flex: 1;
  363. display: flex;
  364. overflow: hidden;
  365. padding: 0 0.9375rem 0.9375rem;
  366. }
  367. /* 左侧:已选路径垂直时间轴 */
  368. .timeline-area {
  369. width: 6.25rem;
  370. border-right: 1px solid #f5f5f5;
  371. padding-right: 0.625rem;
  372. display: flex;
  373. flex-direction: column;
  374. }
  375. .timeline-item {
  376. position: relative;
  377. padding-bottom: 1.25rem;
  378. padding-left: 0.9375rem;
  379. color: #333;
  380. font-size: 0.875rem;
  381. }
  382. .timeline-item:last-child {
  383. padding-bottom: 0;
  384. }
  385. .timeline-dot {
  386. position: absolute;
  387. left: 0;
  388. top: 0.375rem;
  389. width: 0.4375rem;
  390. height: 0.4375rem;
  391. border-radius: 50%;
  392. background-color: #eee;
  393. }
  394. .timeline-item.active .timeline-dot {
  395. background-color: #FF5722;
  396. box-shadow: 0 0 0 0.125rem rgba(255, 87, 34, 0.2);
  397. }
  398. .timeline-item.active {
  399. font-weight: bold;
  400. color: #FF5722;
  401. }
  402. /* 虚线连接 (除最后一个外的点都有线) */
  403. .timeline-item:not(:last-child)::after {
  404. content: '';
  405. position: absolute;
  406. left: 0.1875rem;
  407. top: 0.9375rem;
  408. bottom: -0.3125rem;
  409. width: 0.0625rem;
  410. background-color: #f0f0f0;
  411. }
  412. /* 右侧:待选列表 */
  413. .list-area {
  414. flex: 1;
  415. padding-left: 0.9375rem;
  416. overflow-y: auto;
  417. }
  418. .list-item {
  419. padding: 0.75rem 0;
  420. border-bottom: 1px solid #f9f9f9;
  421. font-size: 0.875rem;
  422. color: #666;
  423. }
  424. .list-item:active {
  425. background-color: #f5f5f5;
  426. }
  427. /* 弹窗通用列表 */
  428. .picker-list {
  429. max-height: 18.75rem;
  430. overflow-y: auto;
  431. padding: 0.625rem 0;
  432. }
  433. /* 城市选择项 (仿图1) */
  434. .city-item {
  435. display: flex;
  436. align-items: center;
  437. padding: 0.75rem 1.25rem;
  438. font-size: 0.9375rem;
  439. color: #333;
  440. }
  441. .city-item.active {
  442. color: #FF5722;
  443. font-weight: bold;
  444. }
  445. .dot-radio {
  446. width: 0.5rem;
  447. height: 0.5rem;
  448. border-radius: 50%;
  449. background-color: #eee;
  450. margin-right: 0.625rem;
  451. position: relative;
  452. }
  453. .city-item.active .dot-radio {
  454. background-color: #FF5722;
  455. box-shadow: 0 0 0 0.1875rem rgba(255, 87, 34, 0.2);
  456. }
  457. /* 站点选择项 (仿图2) */
  458. .station-item {
  459. padding: 0.9375rem 1.25rem;
  460. font-size: 0.9375rem;
  461. color: #333;
  462. border-bottom: 1px solid #f9f9f9;
  463. }
  464. .station-item:last-child {
  465. border-bottom: none;
  466. }