wip: 聊天 UI
This commit is contained in:
@@ -33,7 +33,7 @@ const dayjs = useDayjs()
|
||||
<div>{{ dayjs(chatSession.create_at * 1000).format('YYYY-MM-DD HH:mm:ss') }}</div>
|
||||
</div>
|
||||
<div
|
||||
@click="emit('remove', chatSession)"
|
||||
@click.stop="emit('remove', chatSession)"
|
||||
class="chat-card-remove-btn text-neutral-400 group-hover:opacity-100 group-hover:-translate-x-0.5"
|
||||
>
|
||||
<UIcon name="i-tabler-trash"/>
|
||||
@@ -44,7 +44,7 @@ const dayjs = useDayjs()
|
||||
<style lang="scss" scoped>
|
||||
.chat-card {
|
||||
@apply flex flex-col gap-2 bg-white dark:bg-neutral-800 px-4 py-3 rounded-lg relative border-2 border-transparent shadow-card;
|
||||
@apply transition duration-150 hover:bg-cyan-300/5;
|
||||
@apply transition-none duration-150 hover:bg-cyan-300/5;
|
||||
@apply select-none;
|
||||
|
||||
&.active {
|
||||
|
||||
Reference in New Issue
Block a user