|
|
@@ -1,4 +1,4 @@
|
|
|
-<script setup>
|
|
|
+<script setup>
|
|
|
import { computed, nextTick, onBeforeUnmount, onMounted, ref } from 'vue'
|
|
|
import lottie from 'lottie-web'
|
|
|
import { clearSession, loadSession, saveSession } from './services/auth'
|
|
|
@@ -320,6 +320,7 @@ const copy = {
|
|
|
logoutTitle: 'Are you sure you want to log out?',
|
|
|
logoutBody: 'Do you want to log out of Simubus as 3180349346@qq.com?',
|
|
|
logoutAction: 'Log Out Of The Account',
|
|
|
+ topbarUnlock: 'unlock',
|
|
|
cancel: 'Cancel',
|
|
|
profileName: 'Andy',
|
|
|
profileEmail: '56998882589@gmail.com',
|
|
|
@@ -329,8 +330,8 @@ const copy = {
|
|
|
},
|
|
|
zh: {
|
|
|
login: '登录',
|
|
|
- heroTitle: 'Simubus - 电路接线仿真软件',
|
|
|
- heroSubtitle: '你的虚拟电路实验室。',
|
|
|
+ heroTitle: 'Simubus - 电气接线仿真软件',
|
|
|
+ heroSubtitle: '你的虚拟电气实验室。',
|
|
|
iosDownload: 'iOS 下载',
|
|
|
androidDownload: 'Android 下载',
|
|
|
featureOneTitle: '交互式电路设计体验',
|
|
|
@@ -376,6 +377,7 @@ const copy = {
|
|
|
logoutTitle: '确定要退出登录吗?',
|
|
|
logoutBody: '你要退出 3180349346@qq.com 的 Simubus 账号吗?',
|
|
|
logoutAction: '退出当前账号',
|
|
|
+ topbarUnlock: '解锁',
|
|
|
cancel: '取消',
|
|
|
profileName: 'Andy',
|
|
|
profileEmail: '56998882589@gmail.com',
|
|
|
@@ -404,7 +406,7 @@ const messages = computed(() => copy[currentLocale.value])
|
|
|
|
|
|
<div class="header-actions">
|
|
|
<template v-if="isAuthenticated">
|
|
|
- <button class="header-pro-badge" type="button" @click="openProDestination"><span class="header-pro-badge__prefix">unlock</span><span class="header-pro-badge__brand">Simubus PRO</span></button>
|
|
|
+ <button class="header-pro-badge" type="button" @click="openProDestination"><span class="header-pro-badge__prefix">{{ messages.topbarUnlock }}</span><span class="header-pro-badge__brand">Simubus PRO</span></button>
|
|
|
<div class="header-profile-menu" @mouseenter="openProfileMenu" @mouseleave="closeProfileMenu">
|
|
|
<button class="header-avatar-button" type="button" @click="openProfileMenu">
|
|
|
<img class="header-avatar-image" :src="session?.avatarUrl || 'https://www.figma.com/api/mcp/asset/ad158d05-a000-4d0d-b32d-5e1881f01559'" alt="User avatar" />
|
|
|
@@ -593,7 +595,7 @@ const messages = computed(() => copy[currentLocale.value])
|
|
|
<h2>{{ messages.quickLinksTitle }}</h2>
|
|
|
<a>{{ messages.quickLinks[0] }}</a>
|
|
|
<a>{{ messages.quickLinks[1] }}</a>
|
|
|
- <a class="active">{{ messages.quickLinks[2] }}</a>
|
|
|
+ <a>{{ messages.quickLinks[2] }}</a>
|
|
|
<a>{{ messages.quickLinks[3] }}</a>
|
|
|
<a>{{ messages.quickLinks[4] }}</a>
|
|
|
</section>
|
|
|
@@ -650,3 +652,5 @@ const messages = computed(() => copy[currentLocale.value])
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
|
+
|
|
|
+
|