select-district.wxss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. /* component/select-district/select-district.wxss */
  2. .cover {
  3. height: 100%;
  4. width: 100%;
  5. background: #fff;
  6. padding-bottom: 120rpx;
  7. box-sizing: border-box;
  8. }
  9. .district {
  10. height: 100%;
  11. width: 100%;
  12. position: relative;
  13. display: flex;
  14. flex-direction: column;
  15. }
  16. .district-title {
  17. font-size: 38rpx;
  18. color: #31364c;
  19. padding: 15rpx 30rpx;
  20. box-sizing: border-box;
  21. display: flex;
  22. align-items: center;
  23. justify-content: space-between;
  24. border-bottom: 1rpx solid #eaebee;
  25. }
  26. .district-title-img {
  27. width: 35rpx;
  28. height: 35rpx;
  29. }
  30. .district-content {
  31. width: 100%;
  32. display: flex;
  33. }
  34. .province, .city, .area {
  35. flex: 1;
  36. height: calc(100vh - 220rpx);
  37. display: flex;
  38. flex-direction: column;
  39. overflow-y: scroll;
  40. }
  41. .province-item {
  42. width: 250rpx;
  43. height: 88rpx;
  44. /* padding: 30rpx 0; */
  45. flex-shrink: 0;
  46. font-size: 28rpx;
  47. color: #31364c;
  48. background: #f8f8f8;
  49. display: flex;
  50. align-items: center;
  51. justify-content: center;
  52. }
  53. .province-action {
  54. background: #fff;
  55. color: #31364c;
  56. }
  57. .city {
  58. border-right: 1rpx solid #eaebee;
  59. }
  60. .city-item, .area-item {
  61. width: 250rpx;
  62. height: 88rpx;
  63. /* padding: 0 5rpx; */
  64. flex-shrink: 0;
  65. font-size: 28rpx;
  66. color: #888a8e;
  67. display: flex;
  68. align-items: center;
  69. justify-content: center;
  70. }
  71. .city-action, .area-action {
  72. color: #31364c;
  73. }
  74. .btn {
  75. width: 750rpx;
  76. height: 128rpx;
  77. background: #fff;
  78. position: absolute;
  79. bottom: 0;
  80. left: 0;
  81. display: flex;
  82. align-items: center;
  83. justify-content: center;
  84. }
  85. .button {
  86. width: 690rpx;
  87. height: 88rpx;
  88. font-size: 34rpx;
  89. color: #fff;
  90. text-align: center;
  91. line-height: 88rpx;
  92. background: linear-gradient(135deg, rgba(85, 104, 240, 1) 0%, rgba(130, 59, 255, 1) 100%);
  93. border-radius: 10rpx;
  94. }
  95. .safe-area-bottom {
  96. padding-bottom: constant(safe-area-inset-bottom);
  97. padding-bottom: env(safe-area-inset-bottom);
  98. }