style.css 7.3 KB

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