diff --git a/pages/im/friends/index.vue b/pages/im/friends/index.vue index 1811ed5..9d93e73 100644 --- a/pages/im/friends/index.vue +++ b/pages/im/friends/index.vue @@ -104,7 +104,9 @@ .name { flex: 1; padding-left: $padding; - font-size: $title-size; + font-size: $title-size + 2; + font-size: $title-size + 2; + color: #454545 !important; @extend .nowrap; } } diff --git a/pages/im/friends/info.vue b/pages/im/friends/info.vue index b9c505a..11663da 100644 --- a/pages/im/friends/info.vue +++ b/pages/im/friends/info.vue @@ -2,7 +2,7 @@ - + {{userInfo.name}} 地址:{{userInfo.address}} @@ -22,11 +22,11 @@ - + - + @@ -40,21 +40,21 @@ - + 删除好友 - - + + 发送消息 - + - 视频通话 + 音/视频通话 @@ -62,7 +62,7 @@ - + 申请好友 @@ -282,7 +282,7 @@ .nickname { line-height: 30px; font-size: $title-size + 6; - color: $text-color; + color: #454545; text-align: left; } @@ -309,26 +309,36 @@ .footer-item { margin: 0 $margin/2; text-align: center; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + box-sizing: border-box; .icon { background: $main-color; width: 88rpx; height: 88rpx; - line-height: 88rpx; - display: inline-block; + // line-height: 88rpx; + // display: inline-block; border-radius: 50%; + display: flex; + flex-direction: row; + align-items: center; + justify-content: center; + box-sizing: border-box; .icon-u { - margin-top: calc((88rpx/2) - 13px); - margin-left: calc((88rpx/2) - 13px); + // margin-top: calc((88rpx/2) - 13px); + // margin-left: calc((88rpx/2) - 13px); } } .text { color: $main-color; - font-size: $title-size-m; + font-size: $title-size-m - 2; text-align: center; - padding-top: 10rpx; + padding-top: 16rpx; } } } @@ -339,12 +349,14 @@ background: white; margin: $margin; border-radius: $radius; - + .u-border-bottom{ + border-bottom: solid 1rpx #f9f9f9 !important; + } .item { line-height: 100rpx; display: flex; align-items: center; - padding: 0 $padding; + padding:10rpx $padding; justify-content: space-between; font-size: $title-size-lg; diff --git a/pages/im/index.vue b/pages/im/index.vue index 81d01a4..5aa6310 100644 --- a/pages/im/index.vue +++ b/pages/im/index.vue @@ -29,17 +29,17 @@ - + - - + font-size="16" randomBgColor /> + @@ -248,7 +248,7 @@ // header .custom-header { @extend .ios-top; - background: $window-color; + background: #fff; position: fixed; top: 0; left: 0; @@ -296,7 +296,7 @@ .contents { background-color: $window-color; min-height: 100vh; - padding-top: 90rpx; + padding-top: 90rpx + 20rpx; box-sizing: border-box; .null-list { @@ -317,14 +317,14 @@ .message { background: white; - padding: 20rpx 30rpx; + padding: 30rpx 30rpx 0 30rpx; position: relative; display: flex; - &.u-border-bottom {} &.is-top { background: $window-color; + // background-color: rgba($color: $main-color, $alpha: 0.02); } .avatar { @@ -336,28 +336,38 @@ } .content { - padding-left: 30rpx; - width: calc(100% - 44px); + margin-left: 30rpx; + width: calc(100% - 46px); box-sizing: border-box; + border-bottom: solid 1rpx #eee; + position: relative; .header { display: flex; justify-content: space-between; .name { - font-size: $title-size + 4; + font-size: $title-size + 2; + color: #454545; + color: #454545; } .time { font-size: $title-size-sm; - color: $text-gray; + color: $text-gray-m; + position: absolute; + right: 0; } } .preview { word-break: break-all; - color: $text-gray; - font-size: $title-size-sm; + color: $text-gray-m; + font-size: $title-size-sm + 2; + padding-top: $padding - 20; + padding-bottom: $padding; + padding-bottom: $padding; + width: 500rpx; @extend .nowrap; } } @@ -413,4 +423,7 @@ } } } + .u-border-bottom{ + border-bottom: solid 1rpx #f9f9f9 !important; + } diff --git a/pages/im/private/call.nvue b/pages/im/private/call.nvue index 3535a78..47926d6 100644 --- a/pages/im/private/call.nvue +++ b/pages/im/private/call.nvue @@ -10,7 +10,8 @@ - + + {{userInfo.name}} 等待对方接听 已接通