提交 c2c8791c 编写于 作者: View Design's avatar View Design

Merge branch 'main' of gitcode.com:git_bot/ai-fe

...@@ -4,15 +4,13 @@ ...@@ -4,15 +4,13 @@
<template v-else> <template v-else>
<iSearchHeader :query="state.query" :is-public="state.isPublic" @update-query="handleUpdateQuery" /> <iSearchHeader :query="state.query" :is-public="state.isPublic" @update-query="handleUpdateQuery" />
<div class="container min-h-svh max-w-screen-lg flex flex-col space-y-6 p-6 mb-6 pb-0" id="scrollElement"> <div class="container min-h-svh max-w-screen-lg flex flex-col space-y-6 p-6 mb-6 pb-0" id="scrollElement">
<template v-if="state.query"> <div class="grid">
<div class="grid"> <h1 class="text-3xl">{{ state.query }}</h1>
<h1 class="text-3xl">{{ state.query }}</h1> </div>
</div> <section class="flex items-center gap-2">
<section class="flex items-center gap-2"> <UIcon name="i-simple-icons-github" />
<UIcon name="i-simple-icons-github" /> {{ state.repo }}
{{ state.repo }} </section>
</section>
</template>
<template v-for="(item, index) in data" :key="index"> <template v-for="(item, index) in data" :key="index">
<div class="grid" v-if="index !== 0"> <div class="grid" v-if="index !== 0">
<h2 class="text-3xl" :id="index + 1">{{ item.question }}</h2> <h2 class="text-3xl" :id="index + 1">{{ item.question }}</h2>
...@@ -43,7 +41,7 @@ ...@@ -43,7 +41,7 @@
@click="handleContinueAsk" @click="handleContinueAsk"
/> />
</div> </div>
<div class="container max-w-screen-lg sticky bottom-4 flex pl-6 pr-6" v-if="state.query"> <div class="container max-w-screen-lg sticky bottom-4 flex pl-6 pr-6">
<ISearchAsk :asking="asking" @stop="handleStopGenerate" @ask="handleContinueAsk" /> <ISearchAsk :asking="asking" @stop="handleStopGenerate" @ask="handleContinueAsk" />
</div> </div>
</template> </template>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册