none.vue 1.7 KB

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