huhaobangding.wxss 9.5 KB

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