修改bug
parent
0a66a007a2
commit
c813f007bf
|
|
@ -58,7 +58,7 @@ export const useChat = defineStore("chat-store", {
|
|||
if (!uuid) {
|
||||
console.log(chat);
|
||||
const uuid = uuidv4()
|
||||
this.history.unshift({ id: uuid, title: chat.text })
|
||||
this.history.unshift({ id: uuid, title: chat.text.substring(0, 20) })
|
||||
this.chat.push({ id: uuid, messages: [{ [chat.id]: chat }] })
|
||||
this.active = uuid
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div class="h-46px flex items-center justify-between px-20px">
|
||||
<div class="h-46px leading-46px flex items-center justify-between px-20px">
|
||||
<div class="flex items-center flex-1 h-full">
|
||||
<SvgIcon class="text-white text-40px mr-13px" name="dh"></SvgIcon>
|
||||
<div
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
>
|
||||
<div
|
||||
@click="handleSelect"
|
||||
class="cursor-pointer text-white opacity-40 line-clamp-1 flex-1 text-22px"
|
||||
class="cursor-pointer text-white opacity-40 line-clamp-1 leading-46px flex-1 text-22px"
|
||||
v-if="!isEdit"
|
||||
>
|
||||
{{ data.title }}
|
||||
|
|
|
|||
|
|
@ -386,6 +386,7 @@ async function onConversation(action = 'next', file, fileText) {
|
|||
}
|
||||
|
||||
await fetchChatAPIOnce()
|
||||
chatStore.getHistory()
|
||||
loading.value = false
|
||||
userInfo.getUserInfo()
|
||||
} catch (error) {
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
height: '80%',
|
||||
}"
|
||||
>
|
||||
<div class="text-white">
|
||||
<div class="text-white px-30px">
|
||||
<div class="flex justify-between pt-40px">
|
||||
<div class="text-22px text-white text-opacity-40 w-full">
|
||||
<p class="text-30px font-bold text-white">感谢您对海兔AI的关注</p>
|
||||
|
|
@ -18,19 +18,12 @@
|
|||
<div class="mr-80px flex-1">
|
||||
<p>请留下您的信息</p>
|
||||
<p class="mt-10px">我们会尽快联系您!</p>
|
||||
<p class="mt-40px" v-if="website.info.web_footer_logo">了解更多,一键扫码咨询</p>
|
||||
</div>
|
||||
<div v-if="website.info.web_footer_logo" class="w-200px h-200px border flex-none mr-40px">
|
||||
<img
|
||||
class="w-full h-full"
|
||||
:src="website.info.web_footer_logo"
|
||||
alt=""
|
||||
srcset=""
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="p-17px flex-1 text-white mt-20px">
|
||||
<div class="text-27px mb-22px">
|
||||
<div class="required">需求类型</div>
|
||||
|
|
@ -125,6 +118,18 @@
|
|||
></van-field>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
v-if="website.info.web_footer_logo"
|
||||
class="flex-none mt-20px text-center"
|
||||
>
|
||||
<img
|
||||
class="w-200px h-200px mx-auto"
|
||||
:src="website.info.web_footer_logo"
|
||||
alt=""
|
||||
srcset=""
|
||||
/>
|
||||
<p class="mt-16px text-18px opacity-40">了解更多,一键扫码咨询</p>
|
||||
</div>
|
||||
<div class="text-right flex mt-30px">
|
||||
<van-button
|
||||
@click="handleSumbit"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
<TitleComp title="AI培训" :src="TitleSrc"></TitleComp>
|
||||
<div class="mt-38px text-27px font-bold">AI培训课程</div>
|
||||
<div class="text-22px mt-36px text-[#C2C5CA] leading-29px">
|
||||
历史8年,从未停止迭代更替,海兔作为海国图智研究院旗下主打的AI的品牌,核心导师均来自以清北教授团,阿里、亚马逊、工信部等,旨在不同行业的向企业和个人普及最先进的人工智能技术。助力企业和个人将AIGC技术运用到实际生产中去,达到降本增效的效果。
|
||||
历时8年,从末停止迭代更替,海兔作为海国图智研究院旗下主打的AI的品牌,核心导师均来自以清北教授团、阿里、亚马逊、工信部等,旨在向不同行业的企业和个人普及最先进的人工智能技术。助力企业和个人将AIGC技术运用到实际生产中去,达到降本增效的效果。
|
||||
</div>
|
||||
|
||||
<div class="mt-69px">
|
||||
|
|
|
|||
|
|
@ -31,17 +31,17 @@
|
|||
</van-dropdown-menu>
|
||||
</div>
|
||||
<div
|
||||
class="mt-80px text-35px text-[#886E43] font-bold"
|
||||
class="mt-40px text-35px text-[#886E43] font-bold"
|
||||
:style="{ color: current.color }"
|
||||
>
|
||||
权益内容
|
||||
</div>
|
||||
<van-divider class="my-4 border-[#FFF4E0]" />
|
||||
<van-divider class="!my-20px border-[#FFF4E0]" />
|
||||
<div class="flex justify-between items-center text-31px text-[#232323]">
|
||||
<div>字数上限</div>
|
||||
<div>{{ formatNumber(data.equity.words) }}</div>
|
||||
</div>
|
||||
<van-divider class="my-4 border-[#FFF4E0]" />
|
||||
<van-divider class="!my-20px border-[#FFF4E0]" />
|
||||
<div
|
||||
class="text-[#886E43] text-35px font-bold"
|
||||
:style="{ color: current.color }"
|
||||
|
|
@ -51,7 +51,7 @@
|
|||
<div
|
||||
:style="{ backgroundColor: current.color + 20 }"
|
||||
|
||||
class="mt-20px bg-[#C1B9AF] py-24px px-20px text-[#695F56] h-248px leading-42px text-31px overflow-hidden overflow-y-auto"
|
||||
class="mt-20px bg-[#C1B9AF] py-16px px-20px text-[#695F56] h-370px leading-42px text-28px overflow-hidden overflow-y-auto"
|
||||
>
|
||||
<div v-html="data.description_html"></div>
|
||||
</div>
|
||||
|
|
@ -62,7 +62,7 @@
|
|||
<van-button
|
||||
@click="handleSubscribe(0)"
|
||||
type="primary"
|
||||
:style="{ backgroundColor: current.color }"
|
||||
:style="{ background: `${current.color} !important` }"
|
||||
class="bg-[#786B56] !h-79px flex items-center justify-center text-white font-bold mt-7 rounded-4px !border-none"
|
||||
>订阅</van-button
|
||||
>
|
||||
|
|
@ -70,7 +70,7 @@
|
|||
@click="handleSubscribe(1)"
|
||||
type="primary"
|
||||
v-if="data.is_subscribe"
|
||||
:style="{ backgroundColor: current.color }"
|
||||
:style="{ background: `${current.color} !important` }"
|
||||
class="bg-[#786B56] !h-79px flex items-center justify-center text-white font-bold mt-7 rounded-4px !border-none"
|
||||
>连续订阅</van-button
|
||||
>
|
||||
|
|
|
|||
Loading…
Reference in New Issue