Blame view

src/components/config.js 2.12 KB
00e29fae   Andy   add 官网嵌入车主平台 架构
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
  let config = {
      "entity": null,
      "childs": [
          {
              "entity": {
                  "id": 1, //id标识
                  "title": "中心首页", //菜单标题
                  "icon": "el-icon-s-home",//菜单logo
                  "url": "/views/dashboard",//菜单路径
              },
          },
          {
              "entity": {
                "id": 2,
                "title": "我的钱包",
                "icon": "el-icon-bank-card",
                "url": "example",
              },
              "childs": [
                {
                  "entity": {
                    "id": 2-1,
                    "title": "我的账户",
                    "url": "account",
                  },
                  "childs": null
                },
                {
                  "entity": {
                    "id": 2-2,
                    "title": "我的卡券",
                    "url": "cardticket",
                  }
                },
              ]
          },
          {
            "entity": {
              "id": 3,
              "title": "我的订单",
              "icon": "el-icon-tickets",
              "url": "order",
            },
  
          },
          {
              "entity": {
                "id": 4,
                "title": "欠费补缴",
                "icon": "el-icon-document-checked",
                "url": "payback",
              }
          },
          {
              "entity": {
                "id": 5,
                "title": "我的车辆",
                "icon": "el-icon-truck",
                "url": "mycar",
              }
          },
          {
              "entity": {
                "id": 6,
                "title": "个人中心",
                "icon": "el-icon-s-custom",
                "url": "mycar",
              },
            "childs": [
              {
                "entity": {
                  "id": 6-1,
                  "title": "个人资料",
                  "url": "information",
                },
                "childs": null
              },
              {
                "entity": {
                  "id": 6-2,
                  "title": "我的评价",
                  "url": "myevaluate",
                }
              },
            ]
          },
      ]
  }
  export default config