blob: c2ae16e921fba64f186fe2e15d6544881dc370d5 [file] [log] [blame]
guangchao.xu070005a2020-12-07 09:56:40 +08001import Vue from 'vue'
2import Vuex from 'vuex'
3Vue.use(Vuex)
4
5const store = new Vuex.Store({
6 state: {
7 vuex_tabbar: [{
8 iconPath: "/static/images/tabbar/index.png",
9 selectedIconPath: "/static/images/tabbar/index_s.png",
10 text: '首页',
11 pagePath: '/pages/sub_tabbar/index'
12 },
13 {
14 iconPath: "/static/images/tabbar/life.png",
15 selectedIconPath: "/static/images/tabbar/life_s.png",
16 text: '生活',
17 pagePath: '/pages/sub_tabbar/life'
18 },
19
20 {
21 iconPath: "/static/images/tabbar/qrcode.png",
22 selectedIconPath: "/static/images/tabbar/qrcode.png",
23 text: '我的码',
24 midButton: true,
25 pagePath: '/pages/sub_tabbar/qrcode'
26 },
27 {
28 iconPath: "/static/images/tabbar/active.png",
29 selectedIconPath: "/static/images/tabbar/active_s.png",
30 text: '活动',
31 pagePath: '/pages/sub_tabbar/active'
32 },
33 {
34 iconPath: "/static/images/tabbar/mine.png",
35 selectedIconPath: "/static/images/tabbar/mine_s.png",
36 text: '我的',
37 pagePath: '/pages/sub_tabbar/mine'
38 }
39 ],
40 },
41 mutations: {
42
43 }
44})
45
46export default store