diff --git a/pages.json b/pages.json index a1838ed..8e0bfba 100644 --- a/pages.json +++ b/pages.json @@ -1,6 +1,5 @@ { - "pages": [ - { + "pages": [{ "path": "pages/index/index", "name": "Index", "style": { @@ -140,15 +139,15 @@ "navigationBarTextStyle": "white" } }, - { - "path": "pages/setting/setting", - "name": "Setting", - "style": { - "navigationBarTitleText": "设置中心", - "navigationBarBackgroundColor": "#34CE98", - "navigationBarTextStyle": "white" - } - }, + { + "path": "pages/setting/setting", + "name": "Setting", + "style": { + "navigationBarTitleText": "设置中心", + "navigationBarBackgroundColor": "#34CE98", + "navigationBarTextStyle": "white" + } + }, { "path": "pages/store/index", "name": "Store", @@ -158,15 +157,13 @@ "app-plus": { "titleNView": { "backgroundColor": "#FFFFFF", - "buttons": [ - { - "float": "right", - "text": "\ue603", - "fontSrc": "/static/iconfont.ttf", - "color": "#000", - "fontSize": "20px" - } - ] + "buttons": [{ + "float": "right", + "text": "\ue603", + "fontSrc": "/static/iconfont.ttf", + "color": "#000", + "fontSize": "20px" + }] } } } @@ -372,8 +369,8 @@ "path": "pages/im/index", "name": "IM", "style": { - "navigationBarBackgroundColor": "#FFFFFF", - "navigationStyle":"custom" + "navigationBarBackgroundColor": "#FFFFFF", + "navigationStyle": "custom" } }, { @@ -386,14 +383,12 @@ "app-plus": { "titleNView": { "type": "default", - "buttons": [ - { - "float": "right", - "fontSrc": "/static/iconfont.ttf", - "text": "\ue607", - "fontSize": "20px" - } - ] + "buttons": [{ + "float": "right", + "fontSrc": "/static/iconfont.ttf", + "text": "\ue607", + "fontSize": "20px" + }] } } } @@ -409,28 +404,26 @@ "path": "pages/im/friends/index", "name": "imFriends", "style": { - "navigationBarTitleText": "我的好友", - "app-plus": { - "titleNView": { - "type": "default", - "buttons": [ - { - "float": "right", - "fontSrc": "/static/iconfont.ttf", - "text": "\ue603", - "fontSize": "20px" - } - ] - } - } + "navigationBarTitleText": "我的好友", + "app-plus": { + "titleNView": { + "type": "default", + "buttons": [{ + "float": "right", + "fontSrc": "/static/iconfont.ttf", + "text": "\ue603", + "fontSize": "20px" + }] + } + } } }, { "path": "pages/im/friends/pending", "name": "imFriendsPending", "style": { - "navigationBarTitleText": "新朋友", - "navigationBarBackgroundColor":"#F3F6FB" + "navigationBarTitleText": "新朋友", + "navigationBarBackgroundColor": "#F3F6FB" } }, { @@ -438,15 +431,15 @@ "name": "SearchFriend", "style": { "navigationBarTitleText": "好友搜索", - "navigationBarBackgroundColor":"#F3F6FB" + "navigationBarBackgroundColor": "#F3F6FB" } }, { "path": "pages/im/friends/info", "name": "imFriendsInfo", "style": { - "navigationBarTitleText": "好友资料", - "navigationBarBackgroundColor":"#F3F6FB" + "navigationBarTitleText": "好友资料", + "navigationBarBackgroundColor": "#FFFFFF" } }, { @@ -509,16 +502,14 @@ "titleNView": { "backgroundImage": "linear-gradient(to right, #34ce98, #22aa98)", "type": "transparent", - "buttons": [ - { - "float": "right", - "text": "\ue607", - "fontSrc": "/static/iconfont.ttf", - "color": "#FFF", - "fontSize": "20px", - "background": "rgba(0,0,0,0)" - } - ], + "buttons": [{ + "float": "right", + "text": "\ue607", + "fontSrc": "/static/iconfont.ttf", + "color": "#FFF", + "fontSize": "20px", + "background": "rgba(0,0,0,0)" + }], "backButton": { "background": "rgba(0,0,0,0)" } @@ -572,16 +563,15 @@ "name": "UserFiles", "style": { "navigationBarTitleText": "健康档案管理", - "navigationBarBackgroundColor": "#34CE98", - "navigationBarTextStyle": "white" + "navigationBarBackgroundColor": "#34CE98", + "navigationBarTextStyle": "white" } } ], "tabBar": { "borderStyle": "white", "selectedColor": "#34CE98", - "list": [ - { + "list": [{ "iconPath": "static/tabBar/tabBar_00.png", "selectedIconPath": "static/tabBar/tabBar_show_00.png", "pagePath": "pages/index/index", @@ -623,4 +613,4 @@ "easycom": { "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" } -} \ No newline at end of file +} diff --git a/pages/im/friends/info.vue b/pages/im/friends/info.vue index 069dac8..c63127a 100644 --- a/pages/im/friends/info.vue +++ b/pages/im/friends/info.vue @@ -4,135 +4,206 @@ - {{ userInfo.name }} - + {{ userInfo.username }} + + + + + {{ userInfo.address }} - - - - + + + + + + + + + + + + + + + + + + + + + 发送消息 + + + 音视频通话 + + diff --git a/pages/im/friends/pending.vue b/pages/im/friends/pending.vue index de0d291..66705c1 100644 --- a/pages/im/friends/pending.vue +++ b/pages/im/friends/pending.vue @@ -10,74 +10,94 @@ - + - + + + - + 暂无申请记录~