huhaobangding.wxss 9.1 KB

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