eleCarMap.wxss 3.0 KB

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