index.wxss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. page {
  2. box-sizing: border-box;
  3. padding-bottom: 180rpx;
  4. overflow: hidden;
  5. width: 100%;
  6. height: 100%;
  7. }
  8. .map {
  9. z-index: 1;
  10. width: 100%;
  11. height: 100%;
  12. }
  13. .card {
  14. width: 100%;
  15. height: 180rpx;
  16. z-index: 2;
  17. box-sizing: border-box;
  18. padding: 20rpx;
  19. position: fixed;
  20. bottom: 0;
  21. background: white;
  22. box-shadow: 0 -1rpx 6rpx rgba(0, 0, 0, 0.12);
  23. }
  24. .card-bar {
  25. height: 50rpx;
  26. line-height: 50rpx;
  27. }
  28. .card-bar-name {
  29. font-size: 30rpx;
  30. }
  31. .card-bar .sign {
  32. margin-right: 10rpx;
  33. color: var(--grey);
  34. font-size: 24rpx;
  35. float: right;
  36. }
  37. .card-bar-img-signal {
  38. margin-right: 20rpx;
  39. margin-top: 8rpx;
  40. float: right;
  41. width: 30rpx;
  42. height: 30rpx;
  43. }
  44. .card-bar-img-battery {
  45. margin-right: 20rpx;
  46. margin-top: 8rpx;
  47. float: right;
  48. width: 36rpx;
  49. height: 36rpx;
  50. }
  51. .card-bar-date {
  52. float: right;
  53. margin-top: 5rpx;
  54. background: rgba(89, 170, 255, 0.2);
  55. text-align: center;
  56. font-size: 22rpx;
  57. color: #2d8cf0;
  58. border-radius: 20rpx;
  59. width: 120rpx;
  60. height: 40rpx;
  61. line-height: 40rpx;
  62. }
  63. .card-content {
  64. color: var(--darkGray);
  65. font-size: 28rpx;
  66. box-sizing: border-box;
  67. width: 100%;
  68. height: 100%;
  69. padding-top: 10rpx;
  70. }
  71. .debug {
  72. border-radius: 10rpx;
  73. z-index: 99;
  74. min-height: 270rpx;
  75. box-sizing: border-box;
  76. padding: 10rpx;
  77. width: 280rpx;
  78. position: absolute;
  79. top: 30rpx;
  80. right: 30rpx;
  81. background: rgba(0, 0, 0, .4);
  82. }
  83. .debug view {
  84. color: white;
  85. width: 100%;
  86. line-height: 36rpx;
  87. font-size: 24rpx;
  88. }