zengh
2022-05-09 52c39f5e2711e5535b689b66dfa5e100c7882b7f
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
// 获取服务数据
export function fakeSubscribeList() {
    return new Promise((resolute, reject) => {
        try {
            const list = [{
                    img: '/static/images/service/s1.png',
                    name: '违章查询',
                    url: ''
                },
                {
                    img: '/static/images/service/s2.png',
                    name: '限行信息',
                    url: ''
                },
                {
                    img: '/static/images/service/s3.png',
                    name: '油价查询',
                    url: ''
                },
                {
                    img: '/static/images/service/s4.png',
                    name: '消费记录',
                    url: ''
                },
                {
                    img: '/static/images/service/s5.png',
                    name: '保养记录',
                    url: ''
                },
                {
                    img: '/static/images/service/s6.png',
                    name: '油耗记录',
                    url: ''
                },
                {
                    img: '/static/images/service/s7.png',
                    name: '周边查询',
                    url: ''
                },
                {
                    img: '/static/images/service/s8.png',
                    name: '教育咨询',
                    url: ''
                }
            ];
            resolute(list);
        } catch (e) {
            //模拟接口请求失败
            reject(e);
        }
    })
}
 
export function fakeServiceList() {
    return new Promise((resolute, reject) => {
        try {
            const list = [{
                    name: '交通出行',
                    list: [{
                            img: '/static/images/service/t1.png',
                            name: '地铁',
                            url: ''
                        },
                        {
                            img: '/static/images/service/t2.png',
                            name: '公交',
                            url: ''
                        },
                        {
                            img: '/static/images/service/t3.png',
                            name: '自驾',
                            url: ''
                        },
                        {
                            img: '/static/images/service/t4.png',
                            name: '飞机',
                            url: ''
                        },
                        {
                            img: '/static/images/service/t5.png',
                            name: '动车',
                            url: ''
                        },
                        {
                            img: '/static/images/service/t6.png',
                            name: '火车',
                            url: ''
                        },
                        {
                            img: '/static/images/service/t7.png',
                            name: '摩托车',
                            url: ''
                        },
                        {
                            img: '/static/images/service/t8.png',
                            name: '自行车',
                            url: ''
                        }
                    ]
                },
                {
                    name: '社会保险',
                    list: [{
                            img: '/static/images/service/b1.png',
                            name: '人身保险',
                            url: ''
                        },
                        {
                            img: '/static/images/service/b2.png',
                            name: '财产保险',
                            url: ''
                        },
                        {
                            img: '/static/images/service/b3.png',
                            name: '火灾保险',
                            url: ''
                        },
                        {
                            img: '/static/images/service/b4.png',
                            name: '运输保险',
                            url: ''
                        },
                        {
                            img: '/static/images/service/b5.png',
                            name: '工程保险',
                            url: ''
                        },
                        {
                            img: '/static/images/service/b6.png',
                            name: '盗窃保险',
                            url: ''
                        },
                        {
                            img: '/static/images/service/b7.png',
                            name: '农业保险',
                            url: ''
                        },
                        {
                            img: '/static/images/service/b8.png',
                            name: '信用保险',
                            url: ''
                        }
                    ]
                },
            ]
            resolute(list);
        } catch (e) {
            //模拟接口请求失败
            reject(e);
        }
    })
}