eleCarMap.wxss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. /**index.wxss**/
  2. /* 不加page无法全屏 */
  3. page {
  4. height: 100%;
  5. }
  6. .view {
  7. width: 100%;
  8. height: 100%;
  9. }
  10. .mapBox{
  11. margin: 0 20rpx;
  12. width: calc(100% - 40rpx);
  13. height: 80%;
  14. overflow: hidden;
  15. }
  16. map {
  17. margin: 0 20rpx;
  18. width: calc(100% - 40rpx);
  19. height: calc(100% + 50rpx);
  20. background-color: #FFF;
  21. }
  22. .login_button {
  23. width: calc(100% - 270rpx);
  24. font-size: 32rpx;
  25. /* margin: 0rpx 32rpx; */
  26. font-family: 'Lucida Sans',
  27. 'Lucida Sans Regular',
  28. 'Lucida Grande',
  29. 'Lucida Sans Unicode',
  30. Geneva,
  31. Verdana,
  32. sans-serif;
  33. color: #fff;
  34. text-overflow: ellipsis;
  35. white-space: nowrap;
  36. background-color: #00a8dc;
  37. border-radius: 40rpx;
  38. height: 80rpx;
  39. border: none;
  40. margin: 70rpx auto;
  41. }
  42. .login_button_disable {
  43. width: calc(100% - 270rpx);
  44. font-size: 32rpx;
  45. /* margin: 0rpx 32rpx; */
  46. font-family: 'Lucida Sans',
  47. 'Lucida Sans Regular',
  48. 'Lucida Grande',
  49. 'Lucida Sans Unicode',
  50. Geneva,
  51. Verdana,
  52. sans-serif;
  53. color: #fff;
  54. text-overflow: ellipsis;
  55. white-space: nowrap;
  56. background-color: #c9c9c9;
  57. border-radius: 40rpx;
  58. height: 80rpx;
  59. border: none;
  60. margin: 70rpx 135rpx 0 135rpx;
  61. }
  62. .login_button.button-hover {
  63. background-color: #36a9a6;
  64. }
  65. .cardView{
  66. width: 160rpx;
  67. height: 60rpx;
  68. opacity:0.9;
  69. height: calc(100% - 5rpx);
  70. background-color: #FFFFFF;
  71. padding: 5rpx 5rpx;
  72. border-radius: 20rpx;
  73. display: flex;
  74. flex-direction: row;
  75. box-shadow: 9px 9px 9px #33333333;
  76. position: relative;
  77. margin-left:-5rpx
  78. }
  79. .triangle{
  80. width: 0px;
  81. height: 0px;
  82. border-top: 5px solid #FF0000;
  83. border-left: 5px solid transparent;
  84. border-right: 5px solid transparent;
  85. position: absolute;
  86. }
  87. .cardView .imgLeft{
  88. width: 50rpx;
  89. height: 50rpx;
  90. padding: 5rpx 5rpx;
  91. }
  92. .cardView .infoView{
  93. width: calc(100% - 80rpx);
  94. height: 100%;
  95. display: flex;
  96. flex-direction: column;
  97. justify-content: space-between;
  98. }
  99. .cardView .infoView .topView{
  100. width: 100%;
  101. height: calc(100% - 20rpx);
  102. display: flex;
  103. flex-direction: row;
  104. }
  105. .cardView .infoView .topView .title{
  106. width: 80%;
  107. height: 100%;
  108. font-size: 16rpx;
  109. line-height: 25rpx;
  110. color:#000000;
  111. text-align: center;
  112. padding-left: 10rpx;
  113. }
  114. .cardView .topView .power{
  115. width: 30rpx;
  116. height: 30rpx;
  117. padding-left: 20rpx;
  118. }
  119. .txt{
  120. text-align: center;
  121. color: #9A9A9A;
  122. width: 100%;
  123. font-size: 25rpx;
  124. height: 40rpx;
  125. line-height: 40rpx;
  126. padding-top: 20rpx;
  127. }
  128. .cardView .typeView{
  129. width: 100%;
  130. height: 30rpx;
  131. line-height: 25rpx;
  132. font-size: 16rpx;
  133. text-align: left;
  134. padding-left:16rpx;
  135. color: #9A9A9A;
  136. }
  137. /* .c_active{
  138. border:#35B2AB 5 solid
  139. } */
  140. .cardView.ele.c_active{
  141. border:#35B2AB 5rpx solid;
  142. }
  143. .cardView.park.c_active{
  144. border:#21ADFF 5rpx solid;
  145. }