This commit is contained in:
2022-02-16 15:44:20 +08:00
parent 8e66d0968e
commit 3e16fddb46
2 changed files with 10 additions and 10 deletions

View File

@@ -82,7 +82,7 @@
} }
.time { .time {
font-size: $title-size-sm; font-size: $title-size-sm - 2;
color: $text-gray-m; color: $text-gray-m;
position: absolute; position: absolute;
right: 30rpx; right: 30rpx;

View File

@@ -1,28 +1,28 @@
<template> <template>
<view> <view>
<view class="preview" v-if="msg.objectName=='RC:TxtMsg'"> <view class="preview" v-if="msg.objectName=='RC:TxtMsg'">
<text v-if="conversationType == 3">{{ user.name }}: </text>{{ msg.content || '' }} <text v-if="conversationType == 3">{{ user.name }}</text>{{ msg.content || '' }}
</view> </view>
<view class="preview" v-if="msg.objectName=='RC:HQVCMsg'"> <view class="preview" v-if="msg.objectName=='RC:HQVCMsg'">
<text v-if="conversationType == 3">{{ user.name }}: </text>[语音] <text v-if="conversationType == 3">{{ user.name }}</text>[语音]
</view> </view>
<view class="preview" v-if="msg.objectName=='RC:ImgMsg'"> <view class="preview" v-if="msg.objectName=='RC:ImgMsg'">
<text v-if="conversationType == 3">{{ user.name }}: </text>[图片] <text v-if="conversationType == 3">{{ user.name }}</text>[图片]
</view> </view>
<view class="preview" v-if="msg.objectName=='RC:GIFMsg'"> <view class="preview" v-if="msg.objectName=='RC:GIFMsg'">
<text v-if="conversationType == 3">{{ user.name }}: </text>[表情] <text v-if="conversationType == 3">{{ user.name }}</text>[表情]
</view> </view>
<view class="preview" v-if="msg.objectName=='RC:FileMsg'"> <view class="preview" v-if="msg.objectName=='RC:FileMsg'">
<text v-if="conversationType == 3">{{ user.name }}: </text>[文件] <text v-if="conversationType == 3">{{ user.name }}</text>[文件]
</view> </view>
<view class="preview" v-if="msg.objectName=='RC:LBSMsg'"> <view class="preview" v-if="msg.objectName=='RC:LBSMsg'">
<text v-if="conversationType == 3">{{ user.name }}: </text>[位置] <text v-if="conversationType == 3">{{ user.name }}</text>[位置]
</view> </view>
<view class="preview" v-if="msg.objectName=='RC:AudioMsg'"> <view class="preview" v-if="msg.objectName=='RC:AudioMsg'">
<text v-if="conversationType == 3">{{ user.name }}: </text>[语音通话] <text v-if="conversationType == 3">{{ user.name }}</text>[语音通话]
</view> </view>
<view class="preview" v-if="msg.objectName=='RC:VideoMsg'"> <view class="preview" v-if="msg.objectName=='RC:VideoMsg'">
<text v-if="conversationType == 3">{{ user.name }}: </text>[视频通话] <text v-if="conversationType == 3">{{ user.name }}</text>[视频通话]
</view> </view>
</view> </view>
</template> </template>
@@ -56,7 +56,7 @@
color: $text-gray-m; color: $text-gray-m;
padding-top: $padding - 22; padding-top: $padding - 22;
padding-bottom: $padding; padding-bottom: $padding;
font-size: $title-size-m; font-size: $title-size-m - 2;
height: 32rpx; height: 32rpx;
line-height: 32rpx; line-height: 32rpx;
width: 520rpx; width: 520rpx;