index.vue 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. <template>
  2. <view class="index">
  3. <view class="content_box">
  4. <!-- <view @click="to">套餐入口</view> -->
  5. <!-- 菜单 -->
  6. <Menu :list="menus"></Menu>
  7. </view>
  8. </view>
  9. </template>
  10. <script>
  11. import Banner from './components/Banner'
  12. import Menu from '@/components/Menu'
  13. export default {
  14. name: 'Index',
  15. components: {
  16. Banner,
  17. Menu
  18. },
  19. props: {},
  20. data: function() {
  21. return {
  22. bgcolor: '',
  23. bannerData: [{
  24. pic: require("../../static/banner.png")
  25. },
  26. {
  27. pic: "https://qiniu.liangzhuangzhu.com/头图01(1).jpg"
  28. },
  29. ],
  30. menus:[
  31. {
  32. name:"汽车商城",
  33. pic:require("../../static/qiche.png")
  34. },
  35. {
  36. name:"租车商城",
  37. pic:require("../../static/zuche.png")
  38. },
  39. {
  40. name:"综合商城",
  41. pic:require("../../static/shangcheng.png")
  42. },
  43. {
  44. name:"维修保养",
  45. pic:require("../../static/weixiu.png")
  46. },
  47. {
  48. name:"登记过户",
  49. pic:require("../../static/guohu.png")
  50. },
  51. {
  52. name:"积分兑换",
  53. pic:require("../../static/jifen.png")
  54. },
  55. {
  56. name:"车况检测",
  57. pic:require("../../static/jiancha.png")
  58. },
  59. {
  60. name:"车辆快评",
  61. pic:require("../../static/kuaiping.png")
  62. },
  63. {
  64. name:"预约洗车",
  65. pic:require("../../static/xiche.png")
  66. },
  67. {
  68. name:"维修保养",
  69. pic:require("../../static/baoyang.png")
  70. },
  71. {
  72. name:"VIN码查车",
  73. pic:require("../../static/vin.png")
  74. },
  75. {
  76. name:"违章查询",
  77. pic:require("../../static/weizhang.png")
  78. },
  79. {
  80. name:"驾照查分",
  81. pic:require("../../static/chafen.png")
  82. },
  83. {
  84. name:"分期计算",
  85. pic:require("../../static/jisuan.png")
  86. }
  87. ]
  88. }
  89. },
  90. methods: {
  91. to(){
  92. uni.navigateTo({
  93. url:'/pages/maintenance/maintainOrder/index',
  94. })
  95. }
  96. }
  97. }
  98. </script>
  99. <style>
  100. .index {
  101. background-color: #FFFFFF;
  102. }
  103. .content_box {
  104. background: #FFFFFF;
  105. }
  106. </style>