fix: 增加教程导航
This commit is contained in:
@@ -360,7 +360,20 @@ function openContact() {
|
|||||||
联系我们
|
联系我们
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<a
|
||||||
|
href="https://ccnetcore.com/login"
|
||||||
|
target="_blank"
|
||||||
|
class="mt5 flex items-center gap-2 group"
|
||||||
|
style="color: #101d2c;"
|
||||||
|
title="点击跳转YiXinAI玩法指南专栏"
|
||||||
|
>
|
||||||
|
<span class="pc-text">前往 意社区 👉</span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div v-if="loginFormType === 'RegistrationForm'" class="form-container">
|
<div v-if="loginFormType === 'RegistrationForm'" class="form-container">
|
||||||
<span class="content-title"> 登录后免费使用完整功能 </span>
|
<span class="content-title"> 登录后免费使用完整功能 </span>
|
||||||
|
|
||||||
|
|||||||
@@ -231,7 +231,7 @@ function getWrapperClass(item: GetSessionListVO) {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 4px;
|
gap: 4px;
|
||||||
height: 200px;
|
height: 300px;
|
||||||
overflow: hidden auto;
|
overflow: hidden auto;
|
||||||
|
|
||||||
:deep(.popover-trigger-item-text) {
|
:deep(.popover-trigger-item-text) {
|
||||||
|
|||||||
@@ -176,6 +176,49 @@ function onProductPackage() {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="flex items-center gap-2">
|
<div class="flex items-center gap-2">
|
||||||
|
<!-- <div class="text-1.2xl font-bold text-gray-800 hover:text-blue-600 transition-colors"> -->
|
||||||
|
<!-- <a -->
|
||||||
|
<!-- href="https://ccnetcore.com/article/3a1bc4d1-6a7d-751d-91cc-2817eb2ddcde" -->
|
||||||
|
<!-- target="_blank" -->
|
||||||
|
<!-- class="flex items-center gap-2 group" -->
|
||||||
|
<!-- style="color: #E6A23C;" -->
|
||||||
|
<!-- title="点击跳转YiXinAI玩法指南专栏" -->
|
||||||
|
<!-- > -->
|
||||||
|
<!-- AI使用教程 -->
|
||||||
|
<!-- </a> -->
|
||||||
|
<!-- </div> -->
|
||||||
|
|
||||||
|
<div class="text-1.2xl font-bold text-gray-800 hover:text-blue-600 transition-colors">
|
||||||
|
<a
|
||||||
|
href="https://ccnetcore.com/article/3a1bc4d1-6a7d-751d-91cc-2817eb2ddcde"
|
||||||
|
target="_blank"
|
||||||
|
class="flex items-center gap-2 group"
|
||||||
|
style="color: #E6A23C;"
|
||||||
|
title="点击跳转YiXinAI玩法指南专栏"
|
||||||
|
>
|
||||||
|
<!-- PC端显示文字 -->
|
||||||
|
<span class="pc-text">AI使用教程</span>
|
||||||
|
<!-- 移动端显示图标,这里用一个示例SVG,实际可以换成你想要的 -->
|
||||||
|
<svg
|
||||||
|
class="inline md:hidden w-6 h-6 text-yellow-500"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
fill="none"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
stroke="currentColor"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
||||||
|
d="M12 14l9-5-9-5-9 5 9 5z"
|
||||||
|
/>
|
||||||
|
<path
|
||||||
|
stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
||||||
|
d="M12 14l6.16-3.422A12.083 12.083 0 0118 13.5c0 2.579-3.582 4.5-6 4.5s-6-1.921-6-4.5c0-.432.075-.85.198-1.244L12 14z"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
<el-button
|
<el-button
|
||||||
class="buy-btn flex items-center gap-2 px-5 py-2 font-semibold shadow-lg"
|
class="buy-btn flex items-center gap-2 px-5 py-2 font-semibold shadow-lg"
|
||||||
@click="onProductPackage"
|
@click="onProductPackage"
|
||||||
@@ -360,4 +403,22 @@ function onProductPackage() {
|
|||||||
0%, 100% { transform: translateY(0); }
|
0%, 100% { transform: translateY(0); }
|
||||||
50% { transform: translateY(-4px); }
|
50% { transform: translateY(-4px); }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 默认 PC 端文字显示,图标隐藏 */
|
||||||
|
.pc-text {
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
.mobile-icon {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 移动端显示图标,隐藏文字 */
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
.pc-text {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
.mobile-icon {
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
1
Yi.Ai.Vue3/types/import_meta.d.ts
vendored
1
Yi.Ai.Vue3/types/import_meta.d.ts
vendored
@@ -6,6 +6,7 @@ interface ImportMetaEnv {
|
|||||||
readonly VITE_WEB_ENV: string;
|
readonly VITE_WEB_ENV: string;
|
||||||
readonly VITE_WEB_BASE_API: string;
|
readonly VITE_WEB_BASE_API: string;
|
||||||
readonly VITE_API_URL: string;
|
readonly VITE_API_URL: string;
|
||||||
|
readonly VITE_BUILD_COMPRESS: string;
|
||||||
readonly VITE_SSO_SEVER_URL: string;
|
readonly VITE_SSO_SEVER_URL: string;
|
||||||
readonly VITE_APP_VERSION: string;
|
readonly VITE_APP_VERSION: string;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user