diff --git a/main.js b/main.js index d270879..aeac986 100644 --- a/main.js +++ b/main.js @@ -13,6 +13,7 @@ $http.beforeRequest = function (options) { uni.showLoading({ title: '数据加载中' }) +<<<<<<< HEAD if (options.url.indexOf('/my/') !== -1) { if (options.url.indexOf('/getByUserId') !== -1){ options.header = { @@ -34,6 +35,11 @@ $http.beforeRequest = function (options) { } } if (options.url.indexOf('/getLoginInfo') !== -1) { +======= + + if (options.url.indexOf('/getLoginInfo') == -1) { + console.log('token',uni.getStorageSync('Gs-Token')) +>>>>>>> qzc-dev3 options.header = { 'gs-token': uni.getStorageSync('Gs-Token') } diff --git a/pages.json b/pages.json index f8f4b65..ad0b76f 100644 --- a/pages.json +++ b/pages.json @@ -30,23 +30,23 @@ "navigationBarTitleText" : "" } }, - { - "path" : "pages/personInfo/personInfo", - "style": - { - "navigationBarTitleText" : "" - } - }, - { - "path" : "pages/modifyPassword/modifyPassword", - "style" : - { - "navigationBarTitleText" : "" - } - }, - { - "path" : "pages/login/login", - "style" : + { + "path" : "pages/personInfo/personInfo", + "style": + { + "navigationBarTitleText" : "" + } + }, + { + "path" : "pages/modifyPassword/modifyPassword", + "style" : + { + "navigationBarTitleText" : "" + } + }, + { + "path" : "pages/login/login", + "style" : { "navigationBarTitleText" : "" } @@ -89,68 +89,93 @@ }, { - "path" : "pages/rain/rain", - "style" : - { - "navigationBarTitleText": "", - "enablePullDownRefresh": false - } + "path" : "pages/rain/rain", + "style" : + { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } }, { - "path" : "pages/rainDetail/rainDetail", - "style" : - { - "navigationBarTitleText": "", - "enablePullDownRefresh": false - } - + "path" : "pages/rainDetail/rainDetail", + "style" : + { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } }, { - "path" : "pages/hdDetail/hdDetail", - "style" : - { - "navigationBarTitleText": "", - "enablePullDownRefresh": false - } - + "path" : "pages/hdDetail/hdDetail", + "style" : + { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } }, { - "path" : "pages/skDetail/skDetail", - "style" : - { - "navigationBarTitleText": "", - "enablePullDownRefresh": false - } - + "path" : "pages/skDetail/skDetail", + "style" : + { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } }, { - "path": "pages/index/index", - "style": { - "navigationBarTitleText": "", - "navigationStyle": "custom" - } - } + "path": "pages/index/index", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + } + }, + { + "path" : "pages/orderFeedback/orderFeedback", + "style" : + { + "navigationBarTitleText" : "" + } + }, + { + "path" : "pages/orderFeedback/orderInformation", + "style" : + { + "navigationBarTitleText" : "" + } + }, + { + "path" : "pages/addressBook/follow", + "style" : + { + "navigationBarTitleText" : "" + } + }, + { + "path" : "pages/addressBook/myDept", + "style" : + { + "navigationBarTitleText" : "" + } + } ], "tabBar": { "color": "#333333", "selectedColor": "#eb4450", "list": [ - { - "pagePath": "pages/index/index", - "iconPath": "/static/tabs/my2_icon@2x.png", - "selectedIconPath": "static/tabs/my2_icon@2x.png", - "text": "pages" - }, { "pagePath": "pages/homeIndex/index", "iconPath": "/static/tabs/首页@2x.png", "selectedIconPath": "static/tabs/首页2@2x.png", "text": "首页" }, + { + "pagePath": "pages/addressBook/addressBook", + "iconPath": "/static/tabs/my2_icon@2x.png", + "selectedIconPath": "static/tabs/my2_icon@2x.png", + "text": "通讯录" + }, { "pagePath": "pages/mypage/mypage", "iconPath": "/static/images/my1.png", diff --git a/pages/addressBook/addressBook.vue b/pages/addressBook/addressBook.vue index abe6872..d513eba 100644 --- a/pages/addressBook/addressBook.vue +++ b/pages/addressBook/addressBook.vue @@ -8,20 +8,21 @@ shape="square" :showAction="false" v-model="keyword" + @change="getSearch" >
-
- +
+ 我的部门
-
- +
+ 关注人员
-