map.wxss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. /* pages/map/map.wxss */
  2. page {
  3. height: 100%;
  4. }
  5. /* 搜索区 */
  6. .search{
  7. display: flex;
  8. position: relative;
  9. width: 100%;
  10. height: 60rpx;
  11. }
  12. /* 搜索输入框 */
  13. .searchInput{
  14. width: 78%;
  15. height: 60rpx;
  16. margin-left: 20rpx;
  17. border: 1rpx solid gray;
  18. border-radius: 30rpx;
  19. padding-left: 30rpx;
  20. }
  21. /* 搜索按钮 */
  22. .searchBtn{
  23. margin-left: 20rpx;
  24. font-size: 36rpx;
  25. line-height: 60rpx;
  26. }
  27. /* 地图区 */
  28. .myMap {
  29. margin-top: 20rpx;
  30. width: 100%;
  31. height: 93%;
  32. }
  33. /* 右下角两个按钮样式 */
  34. .locat{
  35. display: flex;
  36. flex-direction: column;
  37. justify-content: center;
  38. align-items: center;
  39. position: absolute;
  40. bottom: 60rpx;
  41. right: 30rpx;
  42. }
  43. /* 我的位置按钮 */
  44. .iconBtn{
  45. margin-bottom: 20rpx;
  46. width: 80rpx;
  47. height: 80rpx;
  48. }
  49. /* 返回按钮 */
  50. .iconBtn2{
  51. margin-bottom: 20rpx;
  52. width: 60rpx;
  53. height: 60rpx;
  54. }
  55. /* 搜索区 */
  56. .searchContain{
  57. background-color: #fff;
  58. position: fixed;
  59. top: 64rpx;
  60. width: 100%;
  61. height: 100%;
  62. padding-left: 30rpx;
  63. }
  64. /* 搜索区列表 */
  65. .searchList{
  66. z-index: 3;
  67. background-color: #fff;
  68. padding: 20rpx 0 0 0;
  69. }
  70. /* 蒙层样式 */
  71. .mask{
  72. z-index: 2;
  73. /* background-color: rgba(0,0,0,.3); */
  74. position: fixed;
  75. top: 0;
  76. left: 0;
  77. right: 0;
  78. bottom: 0;
  79. }
  80. /* 搜索内容区 */
  81. .searchContent{
  82. display: flex;
  83. flex-direction: column;
  84. position: relative;
  85. width: 100%;
  86. height: 60rpx;
  87. }