diff --git a/App.vue b/App.vue
index be1b481..32e1062 100644
--- a/App.vue
+++ b/App.vue
@@ -1,5 +1,8 @@
-
diff --git a/pages/tabbar/home/home.vue b/pages/tabbar/home/home.vue
index 6fa963f..066b40e 100644
--- a/pages/tabbar/home/home.vue
+++ b/pages/tabbar/home/home.vue
@@ -1,36 +1,56 @@
-
-
-
-
-
-
-
-
-
-
-
-
- {{ item.title }}
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ 测试功能
-
-
- {{item.title}}
+
+
+
+
+ 测试功能
+
+
+
+
+
+ 测试功能
+
+
+
+
+
+ 测试功能
+
+
+
+
+
+
+
+
-
-
- 左边信息
+
+
+ {{item.title}}
-
- 右边信息
+
+
+ 左边信息
+
+
+ 右边信息
+
@@ -45,27 +65,6 @@
data() {
return {
searchValue: '123123',
- List: [{
- id: 1,
- img: '../../../static/logo.png',
- title: '九宫格布局1'
- },
- {
- id: 2,
- img: '../../../static/logo.png',
- title: '九宫格布局2'
- },
- {
- id: 3,
- img: '../../../static/logo.png',
- title: '九宫格布局3'
- },
- {
- id: 4,
- img: '../../../static/logo.png',
- title: '九宫格布局4'
- }
- ],
List1: [{
id: 1,
img: '../../../static/logo.png',
@@ -150,54 +149,9 @@
diff --git a/store/modules/user.js b/store/modules/user.js
index cb4702d..da7c6d7 100644
--- a/store/modules/user.js
+++ b/store/modules/user.js
@@ -31,6 +31,9 @@ export default {
return state.openId;
},
getUserInfo(state){
+ let userinfo = state.userinfo;
+ if ( userinfo.avatar=== "undefined" || userinfo.avatar=== "null" || userinfo.avatar=== "")
+ userinfo.avatar = "/static/avatar1.png"
return state.userinfo;
}
},