This commit is contained in:
aaron 2025-05-11 18:57:35 +08:00
parent 6a015b644c
commit 808c063e98
3 changed files with 26 additions and 4 deletions

View File

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

View File

@ -7,14 +7,18 @@
<!-- 产品名称和描述 -->
<h1 class="hero-title"><span class="accent">tradus</span></h1>
<p class="hero-subtitle">基于大语言模型构建的智能投研助理</p>
<p class="hero-subtitle">基于AI大语言模型的智能投研助理</p>
<!-- 下载按钮 -->
<div class="hero-actions">
<a href="https://cos.beefast.co/tradus_1.0.apk" class="btn btn-primary">
<span class="button-icon">📱</span>
<span class="button-text">下载 Android 版本</span>
<span class="button-text">下载 Android App</span>
</a>
<div class="btn btn-secondary disabled">
<span class="button-icon">📱</span>
<span class="button-text">iOS App 开发中</span>
</div>
</div>
</div>
</template>
@ -124,6 +128,24 @@
box-shadow: 0 6px 12px rgba(51, 85, 255, 0.2);
}
.btn-secondary {
background-color: rgba(51, 85, 255, 0.1);
color: #3355ff;
border: none;
}
.btn-secondary.disabled {
background-color: rgba(100, 116, 139, 0.1);
color: #64748b;
cursor: not-allowed;
opacity: 0.8;
}
.btn-secondary.disabled:hover {
transform: none;
box-shadow: none;
}
.button-icon {
font-size: 1.4rem;
}

View File

@ -18,7 +18,7 @@ const openAuthModal = (mode: 'login' | 'register') => {
<section class="hero-section">
<div class="hero-content">
<h1 class="hero-title"><span class="accent">tradus</span></h1>
<p class="hero-subtitle">基于大语言模型构建的智能投研助理</p>
<p class="hero-subtitle">基于AI大语言模型的智能投研助理</p>
<div class="hero-actions" v-if="!isAuthenticated">
<button class="btn btn-primary" @click="openAuthModal('login')">登录</button>
<button class="btn btn-secondary" @click="openAuthModal('register')">注册</button>