huhaobangding.wxss 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624
  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. }
  246. .drawer-container.show {
  247. transform: translateY(0);
  248. }
  249. .drawer-title {
  250. text-align: center;
  251. font-size: 32rpx;
  252. color: #333333;
  253. font-weight: 500;
  254. margin-bottom: 40rpx;
  255. }
  256. .auth-method {
  257. display: flex;
  258. align-items: center;
  259. padding: 30rpx 0;
  260. border-bottom: 1rpx solid #EEEEEE;
  261. }
  262. .auth-method:last-child {
  263. border-bottom: none;
  264. }
  265. .auth-method-icon {
  266. width: 40rpx;
  267. height: 40rpx;
  268. margin-right: 20rpx;
  269. }
  270. .auth-method-content {
  271. flex: 1;
  272. }
  273. .auth-method-title {
  274. font-size: 30rpx;
  275. color: #333333;
  276. margin-bottom: 8rpx;
  277. }
  278. .auth-method-desc {
  279. font-size: 26rpx;
  280. color: #999999;
  281. }
  282. .auth-method-action {
  283. padding: 10rpx 30rpx;
  284. background-color: #0066FF;
  285. border-radius: 30rpx;
  286. color: #FFFFFF;
  287. font-size: 26rpx;
  288. }
  289. .drawer-close {
  290. width: 100%;
  291. height: 10rpx;
  292. background-color: #D8D8D8;
  293. border-radius: 5rpx;
  294. margin: 0 auto 30rpx;
  295. max-width: 80rpx;
  296. }
  297. /* 预览图样式 */
  298. .preview {
  299. display: flex;
  300. align-items: center;
  301. margin-left: 10rpx;
  302. color: #007bff;
  303. cursor: pointer;
  304. }
  305. .preview-icon {
  306. width: 32rpx;
  307. height: 32rpx;
  308. margin-right: 10rpx;
  309. }
  310. .preview-text {
  311. font-size: 28rpx;
  312. color: rgba(104, 108, 128, 1);
  313. }
  314. .preview-modal {
  315. position: fixed;
  316. top: 0;
  317. left: 0;
  318. width: 100%;
  319. height: 100%;
  320. background: rgba(0, 0, 0, 0.7);
  321. display: flex;
  322. justify-content: center;
  323. align-items: center;
  324. z-index: 1000;
  325. opacity: 0;
  326. visibility: hidden;
  327. transition: all 0.3s;
  328. }
  329. .preview-modal.show {
  330. opacity: 1;
  331. visibility: visible;
  332. }
  333. .preview-content {
  334. width: 90%;
  335. display: flex;
  336. flex-direction: column;
  337. align-items: center;
  338. position: relative;
  339. }
  340. .preview-image {
  341. width: 100%;
  342. max-height: 80vh;
  343. }
  344. .close-preview-btn {
  345. margin-top: 30rpx;
  346. padding: 20rpx 60rpx;
  347. background: #FFFFFF;
  348. color: #333333;
  349. border-radius: 40rpx;
  350. font-size: 28rpx;
  351. }
  352. /* 页面标题样式 */
  353. .page-title {
  354. font-size: 36rpx;
  355. font-weight: bold;
  356. text-align: center;
  357. padding: 30rpx 0;
  358. border-bottom: 2rpx solid #eee;
  359. margin-bottom: 30rpx;
  360. }
  361. /* 必填标记样式 */
  362. .required {
  363. color: #f00;
  364. margin-left: 4rpx;
  365. }
  366. /* 选填标记样式 */
  367. .optional {
  368. color: #999;
  369. font-size: 28rpx;
  370. font-weight: normal;
  371. margin-left: 10rpx;
  372. }
  373. /* 水站公司选择器样式 */
  374. .picker-container {
  375. display: flex;
  376. align-items: center;
  377. justify-content: flex-end;
  378. flex: 1;
  379. height: 100%;
  380. padding-right: 20rpx;
  381. }
  382. .picker-text {
  383. color: #999;
  384. text-align: right;
  385. }
  386. .arrow-right {
  387. width: 0;
  388. height: 0;
  389. border-left: 12rpx solid transparent;
  390. border-right: 12rpx solid transparent;
  391. border-top: 16rpx solid #333;
  392. margin-left: 20rpx;
  393. }
  394. /* 水站公司选择器模态框 */
  395. .picker-mask {
  396. position: fixed;
  397. top: 0;
  398. left: 0;
  399. right: 0;
  400. bottom: 0;
  401. background: rgba(0, 0, 0, 0.5);
  402. z-index: 1000;
  403. }
  404. .picker-container-modal {
  405. position: fixed;
  406. bottom: -600rpx;
  407. left: 0;
  408. right: 0;
  409. background: #fff;
  410. z-index: 1001;
  411. transition: all 0.3s ease;
  412. height: 600rpx;
  413. }
  414. .picker-container-modal.show {
  415. bottom: 0;
  416. }
  417. .picker-header {
  418. display: flex;
  419. justify-content: space-between;
  420. align-items: center;
  421. padding: 20rpx 30rpx;
  422. border-bottom: 2rpx solid #eee;
  423. }
  424. .picker-cancel, .picker-confirm {
  425. font-size: 28rpx;
  426. padding: 10rpx 20rpx;
  427. }
  428. .picker-cancel {
  429. color: #999;
  430. }
  431. .picker-confirm {
  432. color: rgba(46, 130, 255, 1);
  433. }
  434. .picker-title {
  435. font-size: 32rpx;
  436. color: #333;
  437. }
  438. .water-company-picker {
  439. height: 500rpx;
  440. width: 100%;
  441. }
  442. .picker-item {
  443. line-height: 100rpx;
  444. text-align: center;
  445. }
  446. /* 确保水站公司和户号户名分开显示 */
  447. .water-station-card {
  448. background-color: #FFFFFF;
  449. border-radius: 18rpx;
  450. padding: 30rpx 40rpx;
  451. margin-bottom: 30rpx;
  452. box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
  453. }
  454. .user-info-card {
  455. background-color: #FFFFFF;
  456. border-radius: 18rpx;
  457. padding: 0 40rpx;
  458. margin-bottom: 30rpx;
  459. box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
  460. }
  461. .divider {
  462. height: 1rpx;
  463. background-color: #EEEEEE;
  464. width: 100%;
  465. }
  466. /* 标签输入限制提示 */
  467. .char-limit {
  468. font-size: 24rpx;
  469. color: #999;
  470. text-align: right;
  471. margin-top: 10rpx;
  472. }
  473. .char-limit.error {
  474. color: #FF4D4F;
  475. }
  476. /* 电话查询列表样式 */
  477. .phone-query-list {
  478. padding: 0 0rpx;
  479. max-height: 400rpx;
  480. overflow-y: auto;
  481. }
  482. .phone-query-item {
  483. padding: 20rpx 0;
  484. border-bottom: 1rpx solid #EEEEEE;
  485. }
  486. .phone-query-item:last-child {
  487. border-bottom: none;
  488. }
  489. .phone-query-name {
  490. font-size: 28rpx;
  491. color: #333;
  492. margin-bottom: 10rpx;
  493. padding-left: 60rpx;
  494. }
  495. .phone-query-contact {
  496. display: flex;
  497. align-items: center;
  498. justify-content: space-between;
  499. font-size: 28rpx;
  500. color: #2E82FF;
  501. margin-bottom: 10rpx;
  502. padding-left: 60rpx;
  503. }
  504. .phone-query-time {
  505. font-size: 26rpx;
  506. color: #999;
  507. padding-left: 60rpx;
  508. }
  509. /* 拨打电话按钮样式 */
  510. .call-btn {
  511. background-color: #E6F0FF;
  512. color: #2E82FF;
  513. font-size: 28rpx;
  514. padding: 10rpx 30rpx;
  515. border-radius: 30rpx;
  516. margin-left: 20rpx;
  517. }
  518. /* 调整电话查询联系方式样式 */
  519. .phone-query-contact {
  520. display: flex;
  521. align-items: center;
  522. justify-content: space-between;
  523. font-size: 28rpx;
  524. color: #2E82FF;
  525. margin-bottom: 10rpx;
  526. padding-left: 60rpx;
  527. }
  528. /* 确保按钮在小屏幕上也能正常显示 */
  529. @media screen and (max-width: 375px) {
  530. .phone-query-contact {
  531. flex-direction: column;
  532. align-items: flex-start;
  533. }
  534. .call-btn {
  535. margin-left: 0;
  536. margin-top: 10rpx;
  537. }
  538. }
  539. /* 隐藏滚动条但保留功能(可选) */
  540. .tag-group::-webkit-scrollbar {
  541. display: none;
  542. }