feat: 样式调整
This commit is contained in:
@@ -2,21 +2,21 @@
|
||||
<view v-if="longTextData?.values" class="w-full bg-white border-box border-ff overflow-hidden rounded-20 flex flex-col">
|
||||
<!-- 占位撑开 -->
|
||||
<view class="w-vw"></view>
|
||||
<view class="flex flex-col px-16 pt-16 pb-12 border-box">
|
||||
<view class="flex flex-col px-16 pt-16 pb-12 border-box" @click="lookDetailAction">
|
||||
<view v-if="tag" class="long-answer-tag" :style="longAnswerTagStyle">{{ tag }}</view>
|
||||
<view v-if="title" class="flex flex-row flex-items-start flex-justify-start mb-4">
|
||||
<text class="font-size-16 font-500 text-color-900"> {{ title }}</text>
|
||||
<text class="font-size-16 font-600 text-color-900"> {{ title }}</text>
|
||||
</view>
|
||||
<!-- 文字内容,最多显示2行 -->
|
||||
<view v-if="processedContent" class="answer-content font-size-12 font-color-600">
|
||||
<ChatMarkdown :text="processedContent" />
|
||||
<ChatMarkdown :text="processedContent" :fontColor="'#94A3B8'" />
|
||||
</view>
|
||||
<!-- 超过2行时显示...提示 -->
|
||||
<view v-if="!finish" class="flex flex-row flex-items-center mt-8">
|
||||
<text class="font-size-12 font-400 font-color-600">正在生成</text>
|
||||
<ChatLoading />
|
||||
</view>
|
||||
<view v-if="isOverflow" class="flex flex-row flex-items-center flex-justify-between mt-4" @click="lookDetailAction">
|
||||
<view v-if="isOverflow" class="flex flex-row flex-items-center flex-justify-between mt-12">
|
||||
<text class="font-size-12 font-800 color-CBD5E1 mr-4">查看完整{{ tag }}</text>
|
||||
<uni-icons type="right" size="16" color="#CBD5E1"></uni-icons>
|
||||
</view>
|
||||
@@ -189,6 +189,7 @@ const lookDetailAction = () => {
|
||||
border-radius: 12px;
|
||||
border: 1px solid transparent;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
line-height: 18px;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user