更新大理市民卡app
diff --git a/store/$u.mixin.js b/store/$u.mixin.js
new file mode 100644
index 0000000..94ed2ee
--- /dev/null
+++ b/store/$u.mixin.js
@@ -0,0 +1,27 @@
+import { mapState } from 'vuex'
+import store from "@/store"
+
+// 尝试将用户在根目录中的store/index.js的vuex的state变量,全部加载到全局变量中
+let $uStoreKey = [];
+try{
+	$uStoreKey = store.state ? Object.keys(store.state) : [];
+}catch(e){
+	
+}
+
+module.exports = {
+	created() {
+		// 将vuex方法挂在到$u中
+		// 使用方法为:如果要修改vuex的state中的user.name变量为"史诗" => this.$u.vuex('user.name', '史诗')
+		// 如果要修改vuex的state的version变量为1.0.1 => this.$u.vuex('version', '1.0.1')
+		this.$u.vuex = (name, value) => {
+			this.$store.commit('$uStore', {
+				name,value
+			})
+		}
+	},
+	computed: {
+		// 将vuex的state中的所有变量,解构到全局混入的mixin中
+		...mapState($uStoreKey)
+	}
+}
\ No newline at end of file
diff --git a/store/index.js b/store/index.js
new file mode 100644
index 0000000..c2ae16e
--- /dev/null
+++ b/store/index.js
@@ -0,0 +1,46 @@
+import Vue from 'vue'
+import Vuex from 'vuex'
+Vue.use(Vuex)
+
+const store = new Vuex.Store({
+	state: {
+		vuex_tabbar: [{
+				iconPath: "/static/images/tabbar/index.png",
+				selectedIconPath: "/static/images/tabbar/index_s.png",
+				text: '首页',
+				pagePath: '/pages/sub_tabbar/index'
+			},
+			{
+				iconPath: "/static/images/tabbar/life.png",
+				selectedIconPath: "/static/images/tabbar/life_s.png",
+				text: '生活',
+				pagePath: '/pages/sub_tabbar/life'
+			},
+			
+			{
+				iconPath: "/static/images/tabbar/qrcode.png",
+				selectedIconPath: "/static/images/tabbar/qrcode.png",
+				text: '我的码',
+				midButton: true,
+				pagePath: '/pages/sub_tabbar/qrcode'
+			},
+			{
+				iconPath: "/static/images/tabbar/active.png",
+				selectedIconPath: "/static/images/tabbar/active_s.png",
+				text: '活动',
+				pagePath: '/pages/sub_tabbar/active'
+			},
+			{
+				iconPath: "/static/images/tabbar/mine.png",
+				selectedIconPath: "/static/images/tabbar/mine_s.png",
+				text: '我的',
+				pagePath: '/pages/sub_tabbar/mine'
+			}
+		],
+	},
+	mutations: {
+		
+	}
+})
+
+export default store