liuyg
2022-02-21 e3dcaeb0180a4e37347ac9ceb44c8a59ae7af37f
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
import websocket from "./websocket.js"
import positions from "./positions.js"
import apis from "./apiConfig.js"
const state = {
    loging: false,
    message: {
        useName: '过客',
    },
    logPath: '',
    piAPI: apis.api,
    // piAPI: 'http://223.82.109.183:2082/api/',
    // piAPI: 'http://192.168.0.108:83/',
    puserName: '',
    puserID: '',
    puserIphone: '',
    avatar: "../../static/logo.png",
    UserData: {},
    tabbar: [{
            pagePath: "/pages/home/home",
            text: "首页",
            iconPath: "/static/tabbar/index01.png",
            selectedIconPath: "/static/tabbar/index02.png"
        },
        {
            pagePath: "/pages/article/article",
            text: "资讯",
            iconPath: "/static/tabbar/article.png",
            selectedIconPath: "/static/tabbar/articleH.png"
        },
        {
            pagePath: "/pages/issue/issue",
            iconPath: "/static/tabbar/addIcon.png",
            selectedIconPath: "/static/tabbar/addSelectedIcon.png",
            text: "发布",
            midButton: true,
        },
        {
            pagePath: "/pages/business/business",
            text: "工作台",
            iconPath: "/static/tabbar/workbench.png",
            selectedIconPath: "/static/tabbar/workbenchH.png"
        },
        {
            pagePath: "/pages/myself/myself",
            text: "我的",
            iconPath: "/static/tabbar/my.png",
            selectedIconPath: "/static/tabbar/my-blue.png"
        }
    ],
    gotuGrabOrders: false,
    ...websocket.state,
    ...positions.state
}
 
export default state