huhaobangding.wxss 10 KB

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