From c765784d2d2d4db55bfcb629cc3f6ec0b57dddcc Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Sat, 26 Feb 2022 22:34:41 +0800
Subject: [PATCH] 样式
---
store/state.js | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++-----
1 files changed, 50 insertions(+), 5 deletions(-)
diff --git a/store/state.js b/store/state.js
index 067fd27..db93dc9 100644
--- a/store/state.js
+++ b/store/state.js
@@ -1,15 +1,60 @@
+import websocket from "./websocket.js"
+import positions from "./positions.js"
+import apis from "./apiConfig.js"
const state = {
+ examDetail: {}, // 考试详情
+ questionList: [], // 考试考题列表
+ queTypeArr:[0,0,0,0,0],
loging: false,
message: {
- useName: '过客 ',
+ useName: '过客',
},
logPath: '',
- piAPI: 'http://s16s652780.51mypc.cn/api/',
+ piAPI: apis.api,
+ // piAPI: 'http://223.82.109.183:2082/api/',
+ // piAPI: 'http://192.168.0.110:83/',
+ //piAPI: 'http://223.82.109.183:2082/api/',
+ BaopiAPI: 'http://223.82.109.183:2080/api/',
puserName: '',
puserID: '',
- puserIphone:'',
- avatar:"",
+ 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
+export default state
\ No newline at end of file
--
Gitblit v1.9.3