From 112ad7ceaf56b2a569301bd1ce40b9d00a18492c Mon Sep 17 00:00:00 2001 From: zhangdongxue Date: Fri, 28 Jan 2022 12:08:16 +0800 Subject: [PATCH] =?UTF-8?q?['=E5=90=8C=E6=AD=A5']?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 20 +++++++++++--------- pages/im/index.vue | 17 +++++++---------- 2 files changed, 18 insertions(+), 19 deletions(-) diff --git a/pages.json b/pages.json index 0b02e9b..c807204 100644 --- a/pages.json +++ b/pages.json @@ -453,7 +453,9 @@ "path": "pages/im/friends/mine", "name": "imFriendsMine", "style": { - "navigationBarTitleText": "我的资料" + "navigationBarTitleText": "我的二维码", + "navigationBarBackgroundColor": "#34CE98", + "navigationBarTextStyle": "white" } }, { @@ -573,14 +575,14 @@ "navigationBarBackgroundColor": "#34CE98", "navigationBarTextStyle": "white" } - },{ - "path" : "pages/im/private/chat", - "style" : { - "disableScroll": true, - "navigationBarTitleText": "聊天", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor":"#F3F6FB" - } + }, { + "path": "pages/im/private/chat", + "style": { + "disableScroll": true, + "navigationBarTitleText": "聊天", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#F3F6FB" + } } ], "tabBar": { diff --git a/pages/im/index.vue b/pages/im/index.vue index 0fff2fa..44bf3ef 100644 --- a/pages/im/index.vue +++ b/pages/im/index.vue @@ -36,10 +36,7 @@ - - + @@ -242,7 +239,7 @@ // header .custom-header { @extend .ios-top; - background: #fff; + background: $window-color; position: fixed; top: 0; left: 0; @@ -311,13 +308,14 @@ .message { background: white; - padding: 30rpx 30rpx 0 30rpx; + padding: 30rpx 0 0 30rpx; position: relative; display: flex; &.is-top { background: $window-color; + border-bottom: #e8e8e8; // background-color: rgba($color: $main-color, $alpha: 0.02); } @@ -333,7 +331,7 @@ margin-left: 30rpx; width: calc(100% - 46px); box-sizing: border-box; - border-bottom: solid 1rpx #eee; + border-bottom: solid 1rpx #f3f3f3; position: relative; .header { @@ -350,17 +348,16 @@ font-size: $title-size-sm; color: $text-gray-m; position: absolute; - right: 0; + right: 30rpx; } } .preview { word-break: break-all; color: $text-gray-m; - font-size: $title-size-sm + 2; padding-top: $padding - 20; padding-bottom: $padding; - padding-bottom: $padding; + font-size: $title-size-m; width: 500rpx; @extend .nowrap; }