|
@@ -3,36 +3,54 @@
|
|
|
class="page h-full flex flex-col bg-cover bg-center overflow-auto"
|
|
class="page h-full flex flex-col bg-cover bg-center overflow-auto"
|
|
|
:style="{ backgroundImage: `url(${isMobile ? h5Bg : pcBg})` }"
|
|
:style="{ backgroundImage: `url(${isMobile ? h5Bg : pcBg})` }"
|
|
|
>
|
|
>
|
|
|
- <n-page-header>
|
|
|
|
|
- <template #title>
|
|
|
|
|
- <div class="flex items-center py-3 lg:py-8 pl-4 lg:pl-52" @click="showConsoleEve">
|
|
|
|
|
- <n-avatar :size="isMobile ? 'small' : 'large'" :src="logo"></n-avatar>
|
|
|
|
|
- <span class="ml-3 text-white text-base lg:text-lg alimamaShuHeiTi">CHILLGPT </span>
|
|
|
|
|
- </div>
|
|
|
|
|
- </template>
|
|
|
|
|
- <template #extra>
|
|
|
|
|
- <div class="flex items-center py-3 lg:py-8 pr-4 lg:pr-52">
|
|
|
|
|
- <template v-if="isLogin">
|
|
|
|
|
- <n-button text v-if="isMobile" @click="goMine">
|
|
|
|
|
- <user-avatar avatarType="small" onlyAvatar />
|
|
|
|
|
|
|
+ <NConfigProvider
|
|
|
|
|
+ :theme-overrides="{
|
|
|
|
|
+ Button: {
|
|
|
|
|
+ heightSmall: '24px'
|
|
|
|
|
+ }
|
|
|
|
|
+ }"
|
|
|
|
|
+ >
|
|
|
|
|
+ <n-page-header>
|
|
|
|
|
+ <template #title>
|
|
|
|
|
+ <div class="flex items-center py-3 lg:py-8 pl-4 lg:pl-15 2xl:pl-52" @click="showConsoleEve">
|
|
|
|
|
+ <n-avatar :size="isMobile ? 'small' : 'medium'" :src="logo"></n-avatar>
|
|
|
|
|
+ <span class="ml-[6px] lg:ml-3 text-white text-base lg:text-lg alimamaShuHeiTi">CHILLGPT </span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template #extra>
|
|
|
|
|
+ <div class="flex items-center py-3 lg:py-[30px] pr-4 lg:pr-15 2xl:pr-52">
|
|
|
|
|
+ <n-button text class="!p-[8px] !mr-[8px] lg:!p-[12px] lg:!mr-[12px]" @click="showDesc = true">
|
|
|
|
|
+ <img
|
|
|
|
|
+ class="w-[20px] h-[20px] lg:w-[24px] lg:h-[24px]"
|
|
|
|
|
+ src="@/assets/icon_jieshao.png"
|
|
|
|
|
+ alt=""
|
|
|
|
|
+ />
|
|
|
|
|
+ <span class="text-white ml-[4px] lg:ml-[6px] text-xs lg:text-sm">介绍</span>
|
|
|
</n-button>
|
|
</n-button>
|
|
|
- <n-popover placement="bottom" trigger="click" v-else>
|
|
|
|
|
- <template #trigger>
|
|
|
|
|
- <n-button text>
|
|
|
|
|
- <user-avatar :avatarType="isMobile ? 'small' : 'large'" onlyAvatar />
|
|
|
|
|
- </n-button>
|
|
|
|
|
- </template>
|
|
|
|
|
- <n-button size="small" @click="logout" text>退出登录</n-button>
|
|
|
|
|
- </n-popover>
|
|
|
|
|
- </template>
|
|
|
|
|
|
|
+ <template v-if="isLogin">
|
|
|
|
|
+ <n-button text v-if="isMobile" @click="goMine">
|
|
|
|
|
+ <user-avatar avatarType="small" onlyAvatar />
|
|
|
|
|
+ </n-button>
|
|
|
|
|
+ <n-popover placement="bottom" trigger="click" v-else>
|
|
|
|
|
+ <template #trigger>
|
|
|
|
|
+ <n-button text>
|
|
|
|
|
+ <user-avatar :avatarType="isMobile ? 'small' : 'medium'" onlyAvatar />
|
|
|
|
|
+ </n-button>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <n-button size="small" @click="logout" text>退出登录</n-button>
|
|
|
|
|
+ </n-popover>
|
|
|
|
|
+ </template>
|
|
|
|
|
|
|
|
- <template v-else>
|
|
|
|
|
- <n-button v-if="!isMobile" type="primary" round @click="showLogin = true"> 登录 </n-button>
|
|
|
|
|
- <n-button v-else @click="$router.push('/login')" quaternary type="primary">登录</n-button>
|
|
|
|
|
- </template>
|
|
|
|
|
- </div>
|
|
|
|
|
- </template>
|
|
|
|
|
- </n-page-header>
|
|
|
|
|
|
|
+ <template v-else>
|
|
|
|
|
+ <n-button v-if="!isMobile" type="primary" round @click="showLogin = true"> 登录 </n-button>
|
|
|
|
|
+ <n-button v-else round @click="$router.push('/login')" type="primary" size="small"
|
|
|
|
|
+ >登录</n-button
|
|
|
|
|
+ >
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </n-page-header>
|
|
|
|
|
+ </NConfigProvider>
|
|
|
|
|
|
|
|
<div class="flex flex-col items-center content-center flex-1 pt-4 pb-24 lg:py-32 page-content">
|
|
<div class="flex flex-col items-center content-center flex-1 pt-4 pb-24 lg:py-32 page-content">
|
|
|
<img src="@/assets/brand.png" class="w-3/4 max-w-3xl" alt="" />
|
|
<img src="@/assets/brand.png" class="w-3/4 max-w-3xl" alt="" />
|
|
@@ -123,6 +141,39 @@
|
|
|
</n-card>
|
|
</n-card>
|
|
|
</n-modal>
|
|
</n-modal>
|
|
|
</NConfigProvider>
|
|
</NConfigProvider>
|
|
|
|
|
+
|
|
|
|
|
+ <NConfigProvider
|
|
|
|
|
+ :theme="lightTheme"
|
|
|
|
|
+ :theme-overrides="{
|
|
|
|
|
+ Card: {
|
|
|
|
|
+ colorModal: 'linear-gradient(180deg, rgba(196, 218, 255, 1), #fbf1ff)'
|
|
|
|
|
+ },
|
|
|
|
|
+ Input: {
|
|
|
|
|
+ border: '1px solid #2B3038'
|
|
|
|
|
+ }
|
|
|
|
|
+ }"
|
|
|
|
|
+ >
|
|
|
|
|
+ <n-modal v-model:show="showDesc" class="!max-w-xl !w-[85%] !rounded-[12px]">
|
|
|
|
|
+ <n-card content-style="padding:2px">
|
|
|
|
|
+ <div
|
|
|
|
|
+ class="pt-[20px] rounded-[12px]"
|
|
|
|
|
+ style="background: linear-gradient(180deg, #e8f2ff 0%, #fbf1ff 100%)"
|
|
|
|
|
+ >
|
|
|
|
|
+ <img class="w-[180px] block mx-[auto]" src="@/assets/png-wenzi.png" alt="" />
|
|
|
|
|
+ <div class="text-center text-[10px] text-[#2900D499] uppercase">CHILLGPT introduce</div>
|
|
|
|
|
+ <div class="text-black text-sm px-4 pb-[22px] pt-[10px]">
|
|
|
|
|
+ <p>
|
|
|
|
|
+ 为维持高速稳定的客户体验,ChillGPT采用微软Microsoft
|
|
|
|
|
+ Azure云服务器,微软Azure是业界第一名的智能AI、物联网、混合云,集机器学习、数据分析与信息系统服务集大成,是唯一在中国正式商用的国际公有云。OpenAi公司的ChatGPT即部署于微软Azure,确保了两者的同源与互通。
|
|
|
|
|
+ </p>
|
|
|
|
|
+ <p class="mt-[10px]">
|
|
|
|
|
+ 针对国内用户的使用习惯,ChillGPT专门对微信生态进行了全面优化,用户不用跳转到外部浏览器,将ChillGPT保存到“收藏”内,即可完成一键登录、使用,复制、分享等功能,在微信上的响应速度、使用体验远超同类产品。
|
|
|
|
|
+ </p>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </n-card>
|
|
|
|
|
+ </n-modal>
|
|
|
|
|
+ </NConfigProvider>
|
|
|
</n-el>
|
|
</n-el>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -137,6 +188,7 @@ import {
|
|
|
NModal,
|
|
NModal,
|
|
|
NConfigProvider,
|
|
NConfigProvider,
|
|
|
darkTheme,
|
|
darkTheme,
|
|
|
|
|
+ lightTheme,
|
|
|
NEl,
|
|
NEl,
|
|
|
NPopover,
|
|
NPopover,
|
|
|
useMessage,
|
|
useMessage,
|
|
@@ -160,6 +212,7 @@ import imgItem06 from '@/assets/png-06.png'
|
|
|
import imgItem07 from '@/assets/png-07.png'
|
|
import imgItem07 from '@/assets/png-07.png'
|
|
|
import { init as initEruda } from '@/utils/console'
|
|
import { init as initEruda } from '@/utils/console'
|
|
|
import { useStorage } from '@vueuse/core'
|
|
import { useStorage } from '@vueuse/core'
|
|
|
|
|
+import borderImg from '@/assets/png-biankuang.png'
|
|
|
|
|
|
|
|
const { isMobile } = useBasicLayout()
|
|
const { isMobile } = useBasicLayout()
|
|
|
|
|
|
|
@@ -280,6 +333,9 @@ setTimeout(() => {
|
|
|
router.replace({ query: {} }).catch(() => {})
|
|
router.replace({ query: {} }).catch(() => {})
|
|
|
}
|
|
}
|
|
|
}, 300)
|
|
}, 300)
|
|
|
|
|
+
|
|
|
|
|
+//介绍
|
|
|
|
|
+const showDesc = ref(false)
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="less" scoped>
|
|
<style lang="less" scoped>
|