im聊天模块,我的群聊样式调整;通讯录页面优化处理;我的二维码样式重构;

This commit is contained in:
2022-02-17 13:04:10 +08:00
parent 88493f7fa6
commit 7c9a8f702d
11 changed files with 194 additions and 162 deletions

View File

@@ -48,11 +48,11 @@
action(type, item) {
if (type === 'isFriend') {
// ,后期可以跳转到信息介绍页面,先留在这里
return uni.showToast({
title: '已是好友,无需重复添加',
icon: 'none',
duration: 2000
});
// return uni.showToast({
// title: '已是好友,无需重复添加',
// icon: 'none',
// duration: 2000
// });
}
this.$emit('action', {
type,
@@ -94,7 +94,7 @@
.name {
width: 100%;
color: $text-color;
font-size: $title-size + 2;
font-size: $title-size;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
@@ -106,7 +106,7 @@
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: $title-size-m;
font-size: $title-size-m - 2;
margin-top: $margin - 10;
color: $text-gray-m;
}
@@ -115,6 +115,7 @@
.agress-btn {
display: flex;
color: #fff;
font-size: $title-size-m;
span {
display: inline-block;

View File

@@ -46,7 +46,7 @@
<style lang="scss" scoped>
.message--cell {
display: flex;
padding: 20rpx 0 0 20rpx;
padding: 20rpx 10rpx 0 30rpx;
.avatar {
position: relative;
@@ -61,9 +61,10 @@
box-sizing: border-box;
position: relative;
flex: 1;
border-bottom-width: 0.5px !important;
border-color: $u-border-color !important;
border-color: #f9f9f9 !important;
border-bottom-style: solid;
.header {
@@ -84,10 +85,12 @@
}
.time {
font-size: $title-size-sm - 2;
font-size: $title-size-sm - 3;
color: $text-gray-m;
position: absolute;
right: 30rpx;
padding-top: 4rpx;
font-weight: normal;
}
}
}

View File

@@ -54,7 +54,7 @@
.preview {
word-break: break-all;
color: $text-gray-m;
padding-top: $padding - 22;
padding-top: 6rpx;
padding-bottom: $padding;
font-size: $title-size-m - 2;
height: 32rpx;