city.wxss 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. /* components/city/city.wxss */
  2. .container {
  3. width: 100%;
  4. height: 100%;
  5. display: flex;
  6. align-items: center;
  7. justify-content: space-between;
  8. background: #fff;
  9. }
  10. .province,
  11. .city,
  12. .area {
  13. height: calc(100vh - 124rpx);
  14. overflow-y: scroll;
  15. }
  16. .city,
  17. .area {
  18. background: #F5F5F5;
  19. }
  20. .province-cell,
  21. .city-cell,
  22. .area-cell {
  23. width: 250rpx;
  24. height: 88rpx;
  25. padding: 0 20rpx;
  26. box-sizing: border-box;
  27. font-size: 28rpx;
  28. background: #EEEEEE;
  29. display: flex;
  30. align-items: center;
  31. justify-content: center;
  32. }
  33. .city-cell,
  34. .area-cell {
  35. color: #666666;
  36. background: #F5F5F5;
  37. }
  38. .area-cell {
  39. border-left: 1rpx solid #eee;
  40. box-sizing: border-box;
  41. }
  42. .province-cell.active {
  43. font-weight: 500;
  44. background: #F5F5F5;
  45. }
  46. .city-cell.active {
  47. color: #000;
  48. font-weight: 500;
  49. }
  50. .area-cell.active {
  51. color: #000;
  52. font-weight: 500;
  53. }
  54. .btn {
  55. width: 100%;
  56. height: 124rpx;
  57. background: #fff;
  58. position: fixed;
  59. bottom: 0;
  60. left: 0;
  61. display: flex;
  62. align-items: center;
  63. justify-content: center;
  64. }
  65. .button {
  66. height: 88rpx;
  67. width: 690rpx;
  68. color: #fff;
  69. background: #0177FF;
  70. border-radius: 10rpx;
  71. display: flex;
  72. align-items: center;
  73. justify-content: center;
  74. }