none.vue 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <template>
  2. <view>
  3. <ujp-navbar title="充电中" :is-back="false">
  4. <view class="slot-wrap">
  5. <view class="navbar-left"></view>
  6. <view class="navbar-right">
  7. <u-icon name="shuaxin" custom-prefix="custom-icon" color="#1677ff" size="40"></u-icon>
  8. </view>
  9. </view>
  10. </ujp-navbar>
  11. <view class="chargeInfo">
  12. <p>暂无充电车辆</p>
  13. </view>
  14. <view class="chargeBtn">
  15. 查看附近充电桩
  16. </view>
  17. <u-tabbar v-model="current" :list="tabbarList" :mid-button="true" active-color="#1677ff"></u-tabbar>
  18. </view>
  19. </template>
  20. <script>
  21. export default {
  22. data() {
  23. return {
  24. tabbarList: [{
  25. iconPath: "motuoche-diandongche",
  26. selectedIconPath: "motuoche-diandongche",
  27. text: '充电',
  28. count: 0,
  29. isDot: true,
  30. customIcon: true,
  31. },
  32. {
  33. iconPath: "/@/assets/img/min_button_select.png",
  34. selectedIconPath: "/@/assets/img/min_button_select.png",
  35. text: '充电中',
  36. midButton: true,
  37. customIcon: true,
  38. },
  39. {
  40. iconPath: "31wode",
  41. selectedIconPath: "31wode",
  42. text: '我的',
  43. count: 0,
  44. isDot: false,
  45. customIcon: true,
  46. },
  47. ],
  48. current: 0
  49. }
  50. },
  51. methods: {
  52. }
  53. }
  54. </script>
  55. <style lang="scss" scoped>
  56. .slot-wrap {
  57. display: flex;
  58. align-items: center;
  59. justify-content: space-between;
  60. flex: 1;
  61. }
  62. .navbar-right {
  63. display: flex;
  64. margin-right: 20rpx;
  65. align-items: center;
  66. }
  67. .chargeInfo{
  68. text-align: center;
  69. padding:100px 0 50px;
  70. p{
  71. color:#999;
  72. font-size: 20px;
  73. margin-top: 10px;
  74. }
  75. }
  76. .chargeBtn{
  77. padding: 10px 20px;
  78. border-radius:22px ;
  79. width: 150px;
  80. border: 2px solid #1677FF;
  81. color:#1677FF;
  82. margin: 0 auto;
  83. }
  84. </style>