You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
947 B
43 lines
947 B
import Vue from 'vue'
|
|
import Vuex from 'vuex'
|
|
|
|
import mutations from './mutations'
|
|
import actions from './actions.js'
|
|
|
|
Vue.use(Vuex)
|
|
|
|
const store = new Vuex.Store({
|
|
state: {
|
|
appInfo: {},
|
|
aidCity: {
|
|
aid: '0',
|
|
cityname: ''
|
|
},
|
|
userInfo: '',
|
|
ruzhushow: false,
|
|
kefushow: false,
|
|
phoneshow: false,
|
|
advertShow: false,
|
|
advertFlag: false,
|
|
codetime: '',
|
|
orderList: '',
|
|
cmtShareAppMsg: '',
|
|
tabBar: null, //底部菜单数据
|
|
hiddenTabBar: false, //隐藏底部菜单
|
|
dealerInfo:{} ,//分销设置信息
|
|
recomid:null ,//推荐人id
|
|
istabcontro:0 ,//选项卡1
|
|
selectCity:0 ,// 第一次进来选择地址
|
|
wxlogin:0 ,// 微信判断第一次登陆
|
|
mpshareInfo : {} ,//微信公共分享,
|
|
isCardshare:0,
|
|
couplePacket:0, //新人红包
|
|
festivalPacket:0, // 节日红包
|
|
isWxAudit:true, //小程序审核判断
|
|
storePrice:{}//同城配送购物车数据
|
|
},
|
|
// actions,
|
|
mutations
|
|
})
|
|
|
|
export default store
|
|
|