@using Common.Dtos.Conversation
پیام های اخیر شما ...
@foreach (var item in Conversations)
{
@GetTitleCon(item.LastText)
- @item.ExperFullName (@item.LastMsgdate @item.LastMsgtime)
@if (item.status == Common.Enums.ConversationStatus.InProgress && item.NoReadCount > 0)
{
@item.NoReadCount
}
}
@code {
[Parameter] public EventCallback OnMultipleOfThree { get; set; }
[Parameter] public List Conversations { get; set; }
string GetTitleCon(string str)
{
if (str.Length > 15) return str.Substring(0, 15) + "...";
return str;
}
}