style.css 7.6 KB

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