This commit is contained in:
2022-02-11 17:47:27 +08:00
parent 5d8dc26e23
commit 7d85dadbe6
3 changed files with 13 additions and 6 deletions

View File

@@ -6,7 +6,7 @@
</view> </view>
<view class="content"> <view class="content">
<view class="header"> <view class="header">
<view class="name">{{ contact(item.targetId).name }}</view> <view class="name">{{ contact(item.targetId).name }} <span v-if="item.conversationType === 3" class='qun'>[]</span></view>
<view class="time">{{ item.sentTime|timeCustomCN }}</view> <view class="time">{{ item.sentTime|timeCustomCN }}</view>
</view> </view>
<message-preview class="preview" :msg="item.latestMessage" :conversationType="item.conversationType" <message-preview class="preview" :msg="item.latestMessage" :conversationType="item.conversationType"
@@ -71,6 +71,11 @@
font-size: $title-size + 2; font-size: $title-size + 2;
color: #454545; color: #454545;
color: #454545; color: #454545;
.qun{
color: $main-color;
font-size: $title-size-m;
margin-left: 4px;
}
} }
.time { .time {

View File

@@ -28,16 +28,17 @@
<style scoped lang="scss"> <style scoped lang="scss">
.msg--text { .msg--text {
.name { .name {
font-size: 24rpx; font-size: 26rpx;
line-height: 34rpx; padding-bottom: 10rpx;
color: $text-gray-m; color: $text-gray-m;
} }
.im--text { .im--text {
max-width: 500rpx; max-width: 508rpx;
padding: 20rpx; padding: 20rpx;
line-height: 44rpx; line-height: 46rpx;
font-size: 32rpx; font-size: 32rpx;
color: $text-color;
&.left { &.left {
border-radius: 0 20rpx 20rpx 20rpx; border-radius: 0 20rpx 20rpx 20rpx;

View File

@@ -126,7 +126,8 @@
.cell-item { .cell-item {
width: 690rpx; width: 690rpx;
justify-content: flex-start; justify-content: flex-start;
align-items: flex-start;
margin-top: 20rpx;
&.left { &.left {
flex-direction: row; flex-direction: row;