index.wxss 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. /**全局样式**/
  2. page,.container {
  3. width: 100%;
  4. box-sizing: border-box;
  5. }
  6. .container {
  7. width: 100%;height: 100%;
  8. }
  9. .nodata,.loading{
  10. padding:100rpx 0;text-align: center;font-size: 30rpx;color: #aaa;
  11. }
  12. /* 地图 */
  13. #myMap{
  14. width: 100%;height:260px;box-sizing: border-box;
  15. /* border-bottom: 1rpx solid #ccc; */
  16. }
  17. /* 详情 */
  18. .navType-detail{
  19. padding-bottom: 100rpx;
  20. }
  21. .navType-detail-title{
  22. font-size: 40rpx;font-weight: bold;
  23. }
  24. .navType-detail-title image{
  25. width: 40rpx;vertical-align: middle;position: relative;top: -3rpx;
  26. }
  27. .navType-detail-item{
  28. border-bottom: 1rpx solid #e0e0e0;padding:20rpx 20rpx 20rpx 10rpx;font-size: 35rpx;color: #222;
  29. position: relative;
  30. }
  31. .navType-detail-item:last-child{
  32. border: none;
  33. }
  34. .navType-detail-item.start,.navType-detail-item.end{
  35. font-size: 35rpx;color: #353535;
  36. }
  37. .navType-detail-item text{
  38. font-size: 25rpx;color: #aaa;display: block;
  39. }
  40. .navType-detail-wrap{
  41. padding-left: 30rpx;border-left: 2rpx dashed #ccc;margin-left: 20rpx;
  42. }
  43. .navType-detail-item::before{
  44. content: "";display: block;width: 30rpx;height: 30rpx;border-radius: 50%;box-sizing: border-box;
  45. background: #f5f5f5;border: 1rpx solid #ccc;position: absolute;left: -40rpx;top: 50%;margin-top: -15rpx;
  46. }
  47. .navType-detail-item.start::before{
  48. background: #18A15F;border: 1rpx solid #18A15F;
  49. }
  50. .navType-detail-item.end::before{
  51. background: #DD4E42;border: 1rpx solid #DD4E42;
  52. }
  53. /* 历史记录 */
  54. .history{
  55. height: 100%;width: 100%;background: #fff;
  56. }
  57. .history-item{
  58. border-bottom: 1rpx solid #e5e5e5;overflow: hidden;position: relative;box-sizing: border-box;
  59. }
  60. .history-item-wrap{
  61. display: block;width: 100%;height: 100%;box-sizing: border-box;font-size: 30rpx;
  62. background: #fff;position: relative;z-index: 2;
  63. transition: transform .30s linear 0s;
  64. }
  65. .item-nav{
  66. padding:35rpx 30rpx 35rpx 60rpx;position: relative;
  67. }
  68. .item-nav .icon{
  69. width: 35rpx;height: 35rpx;position: absolute;left: 20rpx;top: 40rpx;
  70. }
  71. .history-item-del{
  72. position: absolute;z-index: 1;right: 0;top: 0;height: 100%;width: 180rpx;text-align: center;
  73. background: #FB2531;color: #fff;box-sizing: border-box;padding-top: 50rpx;font-size: 35rpx;
  74. }
  75. .history-item-del text{
  76. position: absolute;height: 30rpx;display: block;top: 50%;margin-top: -20rpx;width: 100%;
  77. }
  78. .from{
  79. font-size: 35rpx;color: #333;padding-bottom: 5rpx;
  80. }
  81. .to{
  82. font-size: 30rpx;color: #aaa;
  83. }
  84. .delHistory{
  85. color: rgba(255,255,255,0.5);display: inline-block;float:right;margin-top: 35rpx;font-size: 25rpx;padding: 15rpx 30rpx;
  86. }
  87. .no-data{
  88. text-align: center;font-size: 25rpx;color: #aaa;width: 70%;padding: 100rpx 0;margin: 0 auto;
  89. }
  90. /* 页面样式 */
  91. page{
  92. background: #f5f5f5;
  93. }
  94. .container{
  95. padding: 0;
  96. }
  97. /*出行方案*/
  98. .navType{
  99. display: flex;
  100. }
  101. .navType-item{
  102. flex: 1;opacity: .25;text-align: center;
  103. transition: opacity .3s ease 0s;
  104. }
  105. .navType-icon{
  106. width: 50rpx;display: block;margin: 0 auto;
  107. }
  108. .navType-name{
  109. font-size: 25rpx;color: #000;padding-top: 10rpx;
  110. }
  111. .navType-sel{
  112. opacity: 1;
  113. }
  114. .navType-title{
  115. font-size: 25rpx;color: #000;padding: 25rpx 0;overflow: hidden;
  116. padding-left: 5rpx;display: inline-block;vertical-align: middle;
  117. }
  118. /* 标题 */
  119. .current-item{
  120. background: #fff;padding: 30rpx;box-sizing: border-box;margin-bottom: 30rpx;position: relative;
  121. border-bottom: 1rpx solid #eee;
  122. }
  123. .current-item .wrap{
  124. padding-bottom: 30rpx;margin-bottom: 30rpx;border-bottom: 1rpx dashed #e5e5e5;
  125. }
  126. .current-item .name,.myPosition{
  127. font-size: 30rpx;color: #333;
  128. }
  129. .current-item .address{
  130. font-size: 25rpx;color: #aaa;
  131. }
  132. .current-item .name,.current-item .address,.myPosition{
  133. width: 100%;white-space: normal;padding-left: 70rpx;padding-right: 30rpx;box-sizing: border-box;
  134. position: relative;
  135. }
  136. .current-item .t{
  137. display: inline-block;font-size: 25rpx;color: #bbb;width: 70rpx;
  138. position: absolute;left: 0;top: 5rpx;
  139. }
  140. .bottom-bar{
  141. position: fixed;bottom: 0;left: 0;width: 100%;box-sizing: border-box;
  142. padding: 30rpx;border-top:1rpx solid #e5e5e5;background: rgba(255,255,255,0.8);
  143. }
  144. .navTap{
  145. width: 100%;color: #fff;background: #1d6ed0;
  146. }
  147. /* 路线详情 */
  148. .navType-detail{
  149. padding: 30rpx;background: #fff;
  150. }
  151. /* 公交路线 */
  152. .transfer-list{
  153. padding-bottom:30rpx; border-top: 1rpx solid #eee;
  154. }
  155. .transfer-item{
  156. box-sizing: border-box;padding: 30rpx;
  157. font-size: 32rpx;color: #394047;background:#fff;border-bottom: 1rpx solid #eee;
  158. }
  159. .transfer-transport{
  160. padding-bottom: 15rpx;
  161. }
  162. .transfer-transport-name{
  163. display: inline-block;word-break: break-all;white-space: normal;
  164. }
  165. .route-info{
  166. font-size: 25rpx;color: #aaa;
  167. }
  168. .tip{
  169. font-size: 25rpx;color: #aaa;padding:0 30rpx;text-align: center;
  170. }