保持搜索框中查看联系人信息时,搜索框不关闭

This commit is contained in:
bob
2024-10-15 23:31:05 +08:00
parent b93c671bb5
commit 4eda3f945a

View File

@@ -15,7 +15,7 @@ const onOpenSession = () => {
</script>
<template>
<div class="contact-item" @click="onOpenSession">
<div class="contact-item">
<AvatarIcon
class="avatar-contact-item"
:showName="props.contactInfo.nickName"
@@ -23,7 +23,7 @@ const onOpenSession = () => {
:showAvatarThumb="props.contactInfo.avatarThumb"
@click="onShowCard"
></AvatarIcon>
<div class="body">
<div class="body" @click="onOpenSession">
<div class="title">
<span class="name">{{ props.contactInfo.nickName }}</span>
<span class="account">{{ props.contactInfo.account }}</span>
@@ -53,6 +53,9 @@ const onOpenSession = () => {
.body {
margin-left: 10px;
flex: 1;
overflow: hidden;
.title {
height: 20px;
display: flex;