fix: simplify chat empty state
This commit is contained in:
@@ -122,7 +122,7 @@ onUnmounted(() => {
|
||||
</div>
|
||||
|
||||
<!-- 飘过的代码行 - 左侧 -->
|
||||
<div class="flying-code left-side">
|
||||
<div v-if="showBackground" class="flying-code left-side">
|
||||
<div class="code-row" style="--i: 0">
|
||||
const handleSubmit = async () => {
|
||||
</div>
|
||||
@@ -138,7 +138,7 @@ onUnmounted(() => {
|
||||
</div>
|
||||
|
||||
<!-- 飘过的代码行 - 右侧 -->
|
||||
<div class="flying-code right-side">
|
||||
<div v-if="showBackground" class="flying-code right-side">
|
||||
<div class="code-row" style="--i: 0">function createApp(config) {</div>
|
||||
<div class="code-row" style="--i: 1">const state = reactive({});</div>
|
||||
<div class="code-row" style="--i: 2">watch(() => props.value, cb);</div>
|
||||
@@ -152,7 +152,7 @@ onUnmounted(() => {
|
||||
</div>
|
||||
|
||||
<!-- 数据粒子流 -->
|
||||
<div class="particles">
|
||||
<div v-if="showBackground" class="particles">
|
||||
<span
|
||||
v-for="p in particles"
|
||||
:key="p.id"
|
||||
@@ -178,7 +178,7 @@ onUnmounted(() => {
|
||||
<!-- 机器人工作台 -->
|
||||
<div class="workstation">
|
||||
<!-- 思考气泡 -->
|
||||
<div class="thought-bubble">
|
||||
<div v-if="showBackground" class="thought-bubble">
|
||||
<span class="thought-text">{{ thoughts[currentThought] }}</span>
|
||||
<div class="bubble-dots"><span></span><span></span><span></span></div>
|
||||
</div>
|
||||
@@ -284,7 +284,7 @@ onUnmounted(() => {
|
||||
<!-- 桌子 -->
|
||||
<div class="desk">
|
||||
<!-- 小显示器在桌上 -->
|
||||
<div class="mini-monitor">
|
||||
<div v-if="showBackground" class="mini-monitor">
|
||||
<div class="monitor-frame">
|
||||
<div class="mini-screen">
|
||||
<div class="py-code">
|
||||
@@ -340,7 +340,7 @@ onUnmounted(() => {
|
||||
</div>
|
||||
|
||||
<!-- 飘浮代码片段 -->
|
||||
<div class="floating">
|
||||
<div v-if="showBackground" class="floating">
|
||||
<span class="code-snippet" style="--x: 8%; --y: 15%; --d: 0s">const app =</span>
|
||||
<span class="code-snippet" style="--x: 78%; --y: 20%; --d: 0.8s">async () =></span>
|
||||
<span class="code-snippet" style="--x: 5%; --y: 75%; --d: 1.6s">return data</span>
|
||||
|
||||
Reference in New Issue
Block a user