This commit is contained in:
aaron 2025-05-09 19:32:37 +08:00
parent b7197f1744
commit e515246514
4 changed files with 7 additions and 4 deletions

View File

@ -5,7 +5,7 @@ services:
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
image: tradus-web:1.0.17 image: tradus-web:1.0.18
container_name: tradus-web container_name: tradus-web
ports: ports:
- '6000:80' - '6000:80'

View File

@ -1066,7 +1066,7 @@ body {
.chat-container { .chat-container {
margin-left: 0; margin-left: 0;
padding-top: 4rem; padding-top: 2rem;
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
} }

View File

@ -895,7 +895,7 @@ const getIconPath = (agent: Agent) => {
.input-container { .input-container {
padding: 0.5rem; padding: 0.5rem;
padding-bottom: calc(0.5rem + env(safe-area-inset-bottom)); padding-bottom: calc(3.5rem + env(safe-area-inset-bottom));
} }
.message-content { .message-content {

View File

@ -23,6 +23,9 @@ const openAuthModal = (mode: 'login' | 'register') => {
<button class="btn btn-primary" @click="openAuthModal('login')">登录</button> <button class="btn btn-primary" @click="openAuthModal('login')">登录</button>
<button class="btn btn-secondary" @click="openAuthModal('register')">注册</button> <button class="btn btn-secondary" @click="openAuthModal('register')">注册</button>
</div> </div>
<div class="hero-actions" v-else>
<RouterLink to="/ai-agent" class="btn btn-primary">开始提问</RouterLink>
</div>
</div> </div>
</section> </section>
</div> </div>
@ -220,7 +223,7 @@ const openAuthModal = (mode: 'login' | 'register') => {
} }
.hero-subtitle { .hero-subtitle {
font-size: 1.1rem; font-size: 0.8rem;
margin-bottom: 2.5rem; margin-bottom: 2.5rem;
} }