huhaobangding.wxss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655
  1. .container2 {
  2. padding: 30rpx;
  3. background-color: rgba(242, 246, 250, 1);
  4. min-height: 100vh;
  5. display: flex;
  6. flex-direction: column;
  7. box-sizing: border-box;
  8. padding-top: 230rpx;
  9. padding-left: 24rpx;
  10. padding-right: 24rpx;
  11. }
  12. .custom-nav {
  13. background-color: rgba(46, 130, 255, 1);
  14. display: flex;
  15. align-items: center;
  16. height: 90rpx;
  17. margin-bottom: 24rpx;
  18. position: fixed;
  19. top: 0;
  20. left: 0;
  21. right: 0;
  22. z-index: 1000;
  23. padding: 0 20rpx;
  24. padding-top: 88rpx; /* 适配iPhone状态栏,44px转换为88rpx */
  25. }
  26. .back-icon {
  27. position: fixed;
  28. top: 115rpx;
  29. left: 30rpx;
  30. z-index: 999;
  31. width: 40rpx;
  32. height: 40rpx;
  33. }
  34. .nav-title {
  35. flex: 1;
  36. text-align: center;
  37. font-size: 34rpx;
  38. color: #fff;
  39. }
  40. .form-group1 {
  41. background-color: #FFFFFF;
  42. border-radius: 16rpx;
  43. padding: 0 24rpx;
  44. margin-top: -35rpx;
  45. margin-bottom: 24rpx;
  46. box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
  47. }
  48. .form-group2 {
  49. background-color: #FFFFFF;
  50. border-radius: 16rpx;
  51. padding: 0 24rpx;
  52. margin-bottom: 24rpx;
  53. box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
  54. }
  55. .form-item {
  56. display: flex;
  57. align-items: center;
  58. padding: 30rpx 0;
  59. }
  60. .label {
  61. width: 120rpx;
  62. color: #2e3038;
  63. font-size: 32rpx;
  64. text-align: left;
  65. margin-right: 20rpx;
  66. display: flex;
  67. align-items: center;
  68. white-space: nowrap;
  69. }
  70. input {
  71. flex: 1;
  72. font-size: 32rpx;
  73. font-weight: 400;
  74. color: rgba(170, 177, 192, 1);
  75. padding: 0 20rpx;
  76. text-align: right;
  77. }
  78. .placeholder {
  79. color: rgba(170, 177, 192, 1);
  80. text-align: right;
  81. font-size: 32rpx;
  82. font-weight: 400;
  83. }
  84. .placeholdersecond {
  85. color: #999999;
  86. text-align: left;
  87. font-size: 28rpx;
  88. }
  89. .verify-btn {
  90. color: #0066FF;
  91. font-size: 28rpx;
  92. padding-left: 30rpx;
  93. }
  94. .group-select {
  95. background-color: #FFFFFF;
  96. border-radius: 16rpx;
  97. padding: 0 24rpx;
  98. padding-top: 10rpx;
  99. margin-bottom: 30rpx;
  100. position: relative;
  101. overflow: visible;
  102. }
  103. .section-title {
  104. font-size: 32rpx;
  105. font-weight: 400;
  106. color: rgba(46, 48, 56, 1);
  107. padding: 20rpx 0;
  108. display: flex;
  109. align-items: center;
  110. justify-content: space-between;
  111. position: relative;
  112. }
  113. .section-title::after {
  114. content: '';
  115. position: absolute;
  116. left: 0;
  117. right: 0;
  118. bottom: 0;
  119. height: 1rpx;
  120. background-color: #EEEEEE;
  121. }
  122. .tag-group {
  123. display: flex;
  124. flex-wrap: nowrap;
  125. justify-content: space-between;
  126. overflow-x: auto;
  127. white-space: nowrap;
  128. width: 100%;
  129. padding: 30rpx 0;
  130. -webkit-overflow-scrolling: touch;
  131. }
  132. .tag {
  133. display: inline-block;
  134. flex: 1;
  135. flex-shrink: 0;
  136. min-width: calc((100% - 60rpx) / 6);
  137. margin-right: 10rpx;
  138. padding: 12rpx 10rpx;
  139. background-color: rgba(242, 245, 250, 1);
  140. border-radius: 4rpx;
  141. font-size: 26rpx;
  142. color: rgba(0, 0, 0, 1);
  143. text-align: center;
  144. box-sizing: border-box;
  145. }
  146. .tag:last-child {
  147. margin-right: 0;
  148. }
  149. .tag.active {
  150. background-color: #E6F0FF;
  151. color: #0066FF;
  152. }
  153. .custom-group {
  154. position: relative;
  155. left: 0;
  156. right: 0;
  157. background-color: #FFFFFF;
  158. padding: 0rpx 12rpx 24rpx 0rpx;
  159. }
  160. .custom-input {
  161. display: flex;
  162. align-items: center;
  163. background-color: rgba(242, 245, 250, 1);
  164. border-radius: 4rpx;
  165. padding: 24rpx;
  166. margin: 0;
  167. }
  168. .custom-input input {
  169. text-align: left;
  170. }
  171. .count {
  172. font-size: 26rpx;
  173. color: #999999;
  174. margin-left: 24rpx;
  175. }
  176. .submit-btn {
  177. margin: 50rpx 5%;
  178. width: 90%;
  179. }
  180. .submit-btn button {
  181. background-color: rgba(46, 130, 255, 1);
  182. color: rgba(255, 255, 255, 1);
  183. font-size: 36rpx;
  184. border-radius: 44rpx;
  185. width: 100%;
  186. height: 88rpx;
  187. line-height: 88rpx;
  188. }
  189. .pay-btn-hover {
  190. transform: scale(0.95);
  191. opacity: 0.9;
  192. background-color: #0080b0;
  193. box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  194. }
  195. .pay-btn {
  196. width: 100%;
  197. height: 80rpx;
  198. line-height: 80rpx;
  199. background-color: #0080ff;
  200. color: white;
  201. font-size: 32rpx;
  202. border-radius: 40rpx;
  203. margin: 30rpx auto 0;
  204. }
  205. .tips {
  206. position: fixed;
  207. bottom: 100rpx;
  208. padding: 0 30rpx;
  209. }
  210. .tips text {
  211. display: block;
  212. font-size: 28rpx;
  213. color: rgba(163, 163, 163, 1);
  214. line-height: 1.8;
  215. margin-bottom: 10rpx;
  216. }
  217. .check-auth-btn {
  218. background-color: rgba(45, 128, 254, 0.12);
  219. font-family: 'PingFang SC', sans-serif;
  220. border-radius: 4rpx;
  221. padding: 10rpx 20rpx;
  222. color: rgba(31, 103, 212, 1);
  223. font-size: 26rpx;
  224. }
  225. .drawer-mask {
  226. position: fixed;
  227. top: 0;
  228. left: 0;
  229. right: 0;
  230. bottom: 0;
  231. background-color: rgba(0, 0, 0, 0.5);
  232. z-index: 100;
  233. }
  234. .drawer-container {
  235. position: fixed;
  236. left: 0;
  237. right: 0;
  238. bottom: 0;
  239. background-color: #FFFFFF;
  240. border-radius: 24rpx 24rpx 0 0;
  241. z-index: 101;
  242. padding: 40rpx 30rpx;
  243. transform: translateY(100%);
  244. transition: transform 0.3s ease-out;
  245. max-height: 80vh;
  246. display: flex;
  247. flex-direction: column;
  248. overflow-y: visible;
  249. overflow-x: hidden;
  250. }
  251. .drawer-container.show {
  252. transform: translateY(0);
  253. }
  254. .drawer-title {
  255. text-align: center;
  256. font-size: 32rpx;
  257. color: #333333;
  258. font-weight: 500;
  259. margin-bottom: 40rpx;
  260. }
  261. .auth-method {
  262. display: flex;
  263. align-items: center;
  264. padding: 30rpx 0;
  265. border-bottom: 1rpx solid #EEEEEE;
  266. }
  267. .auth-method:last-child {
  268. border-bottom: none;
  269. }
  270. .auth-method-icon {
  271. width: 40rpx;
  272. height: 40rpx;
  273. margin-right: 20rpx;
  274. }
  275. .auth-method-content {
  276. flex: 1;
  277. }
  278. .auth-method-title {
  279. font-size: 30rpx;
  280. color: #333333;
  281. margin-bottom: 8rpx;
  282. }
  283. .auth-method-desc {
  284. font-size: 26rpx;
  285. color: #999999;
  286. }
  287. .auth-method-action {
  288. padding: 10rpx 30rpx;
  289. background-color: #0066FF;
  290. border-radius: 30rpx;
  291. color: #FFFFFF;
  292. font-size: 26rpx;
  293. }
  294. .drawer-close {
  295. width: 100%;
  296. height: 10rpx;
  297. background-color: #D8D8D8;
  298. border-radius: 5rpx;
  299. margin: 0 auto 30rpx;
  300. max-width: 80rpx;
  301. }
  302. /* 预览图样式 */
  303. .preview {
  304. display: flex;
  305. align-items: center;
  306. margin-left: 10rpx;
  307. color: #007bff;
  308. cursor: pointer;
  309. }
  310. .preview-icon {
  311. width: 32rpx;
  312. height: 32rpx;
  313. margin-right: 10rpx;
  314. }
  315. .preview-text {
  316. font-size: 28rpx;
  317. color: rgba(104, 108, 128, 1);
  318. }
  319. .preview-modal {
  320. position: fixed;
  321. top: 0;
  322. left: 0;
  323. width: 100%;
  324. height: 100%;
  325. background: rgba(0, 0, 0, 0.7);
  326. display: flex;
  327. justify-content: center;
  328. align-items: center;
  329. z-index: 1000;
  330. opacity: 0;
  331. visibility: hidden;
  332. transition: all 0.3s;
  333. }
  334. .preview-modal.show {
  335. opacity: 1;
  336. visibility: visible;
  337. }
  338. .preview-content {
  339. width: 90%;
  340. display: flex;
  341. flex-direction: column;
  342. align-items: center;
  343. position: relative;
  344. }
  345. .preview-image {
  346. width: 100%;
  347. max-height: 80vh;
  348. }
  349. .close-preview-btn {
  350. margin-top: 30rpx;
  351. padding: 20rpx 60rpx;
  352. background: #FFFFFF;
  353. color: #333333;
  354. border-radius: 40rpx;
  355. font-size: 28rpx;
  356. }
  357. /* 页面标题样式 */
  358. .page-title {
  359. font-size: 36rpx;
  360. font-weight: bold;
  361. text-align: center;
  362. padding: 30rpx 0;
  363. border-bottom: 2rpx solid #eee;
  364. margin-bottom: 30rpx;
  365. }
  366. /* 必填标记样式 */
  367. .required {
  368. color: #f00;
  369. margin-left: 4rpx;
  370. }
  371. /* 选填标记样式 */
  372. .optional {
  373. color: #999;
  374. font-size: 28rpx;
  375. font-weight: normal;
  376. margin-left: 10rpx;
  377. }
  378. /* 水站公司选择器样式 */
  379. .picker-container {
  380. display: flex;
  381. align-items: center;
  382. justify-content: flex-end;
  383. flex: 1;
  384. height: 100%;
  385. padding-right: 20rpx;
  386. }
  387. .picker-text {
  388. color: #999;
  389. text-align: right;
  390. }
  391. .arrow-right {
  392. width: 0;
  393. height: 0;
  394. border-left: 12rpx solid transparent;
  395. border-right: 12rpx solid transparent;
  396. border-top: 16rpx solid #333;
  397. margin-left: 20rpx;
  398. }
  399. /* 水站公司选择器模态框 */
  400. .picker-mask {
  401. position: fixed;
  402. top: 0;
  403. left: 0;
  404. right: 0;
  405. bottom: 0;
  406. background: rgba(0, 0, 0, 0.5);
  407. z-index: 1000;
  408. }
  409. .picker-container-modal {
  410. position: fixed;
  411. bottom: -600rpx;
  412. left: 0;
  413. right: 0;
  414. background: #fff;
  415. z-index: 1001;
  416. transition: all 0.3s ease;
  417. height: 600rpx;
  418. }
  419. .picker-container-modal.show {
  420. bottom: 0;
  421. }
  422. .picker-header {
  423. display: flex;
  424. justify-content: space-between;
  425. align-items: center;
  426. padding: 20rpx 30rpx;
  427. border-bottom: 2rpx solid #eee;
  428. }
  429. .picker-cancel, .picker-confirm {
  430. font-size: 28rpx;
  431. padding: 10rpx 20rpx;
  432. }
  433. .picker-cancel {
  434. color: #999;
  435. }
  436. .picker-confirm {
  437. color: rgba(46, 130, 255, 1);
  438. }
  439. .picker-title {
  440. font-size: 32rpx;
  441. color: #333;
  442. }
  443. .water-company-picker {
  444. height: 500rpx;
  445. width: 100%;
  446. }
  447. .picker-item {
  448. line-height: 100rpx;
  449. text-align: center;
  450. }
  451. /* 确保水站公司和户号户名分开显示 */
  452. .water-station-card {
  453. background-color: #FFFFFF;
  454. border-radius: 18rpx;
  455. padding: 30rpx 40rpx;
  456. margin-bottom: 30rpx;
  457. box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
  458. }
  459. .user-info-card {
  460. background-color: #FFFFFF;
  461. border-radius: 18rpx;
  462. padding: 0 40rpx;
  463. margin-bottom: 30rpx;
  464. box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
  465. }
  466. .divider {
  467. height: 1rpx;
  468. background-color: #EEEEEE;
  469. width: 100%;
  470. }
  471. /* 标签输入限制提示 */
  472. .char-limit {
  473. font-size: 24rpx;
  474. color: #999;
  475. text-align: right;
  476. margin-top: 10rpx;
  477. }
  478. .char-limit.error {
  479. color: #FF4D4F;
  480. }
  481. /* 电话查询容器 */
  482. .phone-query-container {
  483. display: flex;
  484. flex-direction: column;
  485. height: 350rpx;
  486. position: relative;
  487. background-color: #fff;
  488. border-radius: 8rpx;
  489. margin-top: 10rpx;
  490. margin-left: -24rpx;
  491. box-shadow: 0 2rpx 6rpx rgba(0, 0, 0, 0.05);
  492. overflow: hidden;
  493. }
  494. /* 电话查询列表样式 */
  495. .phone-query-list {
  496. flex: 1;
  497. padding: 0;
  498. height: 350rpx;
  499. position: relative;
  500. }
  501. .phone-query-scroll {
  502. height: 100%;
  503. width: 100%;
  504. }
  505. /* 移除原有的滚动条样式,使用更适合移动端的简洁样式 */
  506. .phone-query-scroll::-webkit-scrollbar {
  507. width: 4rpx;
  508. }
  509. .phone-query-scroll::-webkit-scrollbar-thumb {
  510. background-color: rgba(46, 130, 255, 0.3);
  511. border-radius: 2rpx;
  512. }
  513. .phone-query-scroll::-webkit-scrollbar-track {
  514. background-color: transparent;
  515. }
  516. .phone-query-item {
  517. padding: 20rpx 0;
  518. border-bottom: 1rpx solid #EEEEEE;
  519. }
  520. .phone-query-item:last-child {
  521. border-bottom: none;
  522. }
  523. .phone-query-name {
  524. font-size: 28rpx;
  525. color: #333;
  526. margin-bottom: 10rpx;
  527. padding-left: 60rpx;
  528. }
  529. .phone-query-contact {
  530. display: flex;
  531. align-items: center;
  532. font-size: 28rpx;
  533. color: #2E82FF;
  534. margin-bottom: 10rpx;
  535. padding-left: 60rpx;
  536. }
  537. .phone-query-contact text {
  538. flex: 1;
  539. white-space: nowrap;
  540. overflow: hidden;
  541. text-overflow: ellipsis;
  542. }
  543. .phone-query-time {
  544. font-size: 26rpx;
  545. color: #999;
  546. padding-left: 60rpx;
  547. }
  548. /* 拨打电话按钮样式 */
  549. .call-btn {
  550. background-color: #E6F0FF;
  551. color: #2E82FF;
  552. font-size: 28rpx;
  553. padding: 10rpx 30rpx;
  554. border-radius: 30rpx;
  555. margin-left: 20rpx;
  556. white-space: nowrap;
  557. flex-shrink: 0;
  558. }
  559. .scroll-arrow {
  560. font-size: 28rpx;
  561. margin-left: 8rpx;
  562. color: #2E82FF;
  563. font-weight: bold;
  564. }
  565. /* 隐藏滚动条但保留功能(可选) */
  566. .tag-group::-webkit-scrollbar {
  567. display: none;
  568. }