|
@@ -11,7 +11,7 @@ try {
|
|
}
|
|
}
|
|
|
|
|
|
// 需要永久存储,且下次APP启动需要取出的,在state中的变量名
|
|
// 需要永久存储,且下次APP启动需要取出的,在state中的变量名
|
|
-let saveStateKeys = ['firendItem','userData','pushRes','myTip','taskTip','contractTip','liangxinTip','packet','linkItem','memberItem','memberItemIndex','chatItem'];
|
|
|
|
|
|
+let saveStateKeys = ['firendItem','userData','pushRes','myTip','taskTip','contractTip','liangxinTip','packet','linkItem','memberItem','memberItemIndex','chatItem','listTab'];
|
|
|
|
|
|
// 保存变量到本地存储中
|
|
// 保存变量到本地存储中
|
|
const saveLifeData = function(key, value) {
|
|
const saveLifeData = function(key, value) {
|
|
@@ -85,6 +85,47 @@ const store = new Vuex.Store({
|
|
// { src:require('@/static/image/circleBanner/3.jpg'), isCheck:false },
|
|
// { src:require('@/static/image/circleBanner/3.jpg'), isCheck:false },
|
|
// { src:require('@/static/image/circleBanner/4.jpg'), isCheck:false },
|
|
// { src:require('@/static/image/circleBanner/4.jpg'), isCheck:false },
|
|
],
|
|
],
|
|
|
|
+ // 版本
|
|
|
|
+ listTab: [
|
|
|
|
+ {
|
|
|
|
+ iconPath: "https://taohaoliang.oss-cn-beijing.aliyuncs.com/tmp/zixun.png",
|
|
|
|
+ selectedIconPath: "https://taohaoliang.oss-cn-beijing.aliyuncs.com/tmp/zixun_check.png",
|
|
|
|
+ text: '资讯',
|
|
|
|
+ customIcon: false,
|
|
|
|
+ pagePath:'/pages/sale/information'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ iconPath: "https://taohaoliang.oss-cn-beijing.aliyuncs.com/tmp/jiaoyi.png",
|
|
|
|
+ selectedIconPath: "https://taohaoliang.oss-cn-beijing.aliyuncs.com/tmp/jiaoyi_check.png",
|
|
|
|
+ text: '交易',
|
|
|
|
+ customIcon: false,
|
|
|
|
+ pagePath:'/pages/buy/transaction'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ iconPath: "chat",
|
|
|
|
+ selectedIconPath: "chat",
|
|
|
|
+ text: '粮信',
|
|
|
|
+ midButton: true,
|
|
|
|
+ customIcon: false,
|
|
|
|
+ pagePath:'/pages/home/home'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ iconPath: "https://taohaoliang.oss-cn-beijing.aliyuncs.com/tmp/wuliu.png",
|
|
|
|
+ selectedIconPath: "https://taohaoliang.oss-cn-beijing.aliyuncs.com/tmp/wuliu_check.png",
|
|
|
|
+ text: '物流',
|
|
|
|
+ customIcon: false,
|
|
|
|
+ pagePath:'/pages/tran/tran'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ iconPath: "https://taohaoliang.oss-cn-beijing.aliyuncs.com/tmp/wode.png",
|
|
|
|
+ selectedIconPath: "https://taohaoliang.oss-cn-beijing.aliyuncs.com/tmp/wode_check.png",
|
|
|
|
+ text: '我的',
|
|
|
|
+ count: lifeData.myTip?lifeData.myTip: 0,
|
|
|
|
+ isDot: false,
|
|
|
|
+ customIcon: false,
|
|
|
|
+ pagePath:'/pages/user/user'
|
|
|
|
+ },
|
|
|
|
+ ]
|
|
},
|
|
},
|
|
mutations: {
|
|
mutations: {
|
|
$uStore(state, payload) {
|
|
$uStore(state, payload) {
|