From f1c54fca586a4d30e046b2a7ce4a18e02c3fe17e Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期五, 09 八月 2024 15:51:58 +0800 Subject: [PATCH] 完善对话 --- miniprogram/components/chat-components/normal-text/normal-text.scss | 26 +++++++++++++++++++++++++- 1 files changed, 25 insertions(+), 1 deletions(-) diff --git a/miniprogram/components/chat-components/normal-text/normal-text.scss b/miniprogram/components/chat-components/normal-text/normal-text.scss index 52b7a72..9aa9883 100644 --- a/miniprogram/components/chat-components/normal-text/normal-text.scss +++ b/miniprogram/components/chat-components/normal-text/normal-text.scss @@ -1 +1,25 @@ -/* components/chat-components/NormalText/normal-text.wxss */ \ No newline at end of file +/* components/chat-components/NormalText/normal-text.wxss */ + +.dot { + display: inline-block; + text-align: center; + margin: 0 auto; + overflow: hidden; + height: 1em; + line-height: 1em; + vertical-align: -0.25em; +} +.dot::before { + display: block; + content: '...\A..\A.'; + white-space: pre-wrap; + animation: dot 3s infinite step-start both; +} +@keyframes dot { + 33% { + transform: translateY(-2em); + } + 66% { + transform: translateY(-1em); + } +} \ No newline at end of file -- Gitblit v1.9.3