Исправлен чат

This commit is contained in:
2025-08-17 09:10:24 +03:00
parent a9f9a242ec
commit 5c9c53b117
3 changed files with 170 additions and 87 deletions

View File

@ -1,16 +1,24 @@
<div id="chatbox" class="sl__chat__layout">
<a class="font-1">1</a>
<a class="font-2">2</a>
</div>
<script type="text/template" id="chatlist_item">
<message id="{messageId}">
<top>
<author>{from}</author>
<heart />
<role />
</top>
<bottom>
<content>{message}</content>
<flag />
</body>
</bottom>
</message>
</script>
<script type="text/template" id="chatlist_event">
<event id="{messageId}">
<main>
<content>{content}</content>
</main>
</event>
</script>