select-district.wxss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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. font-size: 28rpx;
  46. color: #31364c;
  47. background: #f8f8f8;
  48. display: flex;
  49. align-items: center;
  50. justify-content: center;
  51. }
  52. .province-action {
  53. background: #fff;
  54. color: #31364c;
  55. }
  56. .city {
  57. border-right: 1rpx solid #eaebee;
  58. }
  59. .city-item, .area-item {
  60. width: 250rpx;
  61. /* height: 88rpx; */
  62. padding: 30rpx 0;
  63. font-size: 28rpx;
  64. color: #888a8e;
  65. display: flex;
  66. align-items: center;
  67. justify-content: center;
  68. }
  69. .city-action, .area-action {
  70. color: #31364c;
  71. }
  72. .btn {
  73. width: 750rpx;
  74. height: 128rpx;
  75. background: #fff;
  76. position: absolute;
  77. bottom: 0;
  78. left: 0;
  79. display: flex;
  80. align-items: center;
  81. justify-content: center;
  82. }
  83. .button {
  84. width: 690rpx;
  85. height: 88rpx;
  86. font-size: 34rpx;
  87. color: #fff;
  88. text-align: center;
  89. line-height: 88rpx;
  90. background: linear-gradient(135deg, rgba(85, 104, 240, 1) 0%, rgba(130, 59, 255, 1) 100%);
  91. border-radius: 10rpx;
  92. }