feat: 样式调整

This commit is contained in:
2026-06-05 12:14:48 +08:00
parent da8fd5fbff
commit 97eff4d501
4 changed files with 38 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
<template>
<view class="flex flex-col bg-liner h-screen overflow-hidden">
<view class="flex flex-col bg-white h-screen overflow-hidden">
<!-- 顶部固定导航 -->
<view class="flex-shrink-0">
<TopNavBar :title="title" background="transparent" />

View File

@@ -20,7 +20,7 @@
flex: 1;
min-width: 0;
color: #111827;
font-size: 20px;
font-size: 18px;
font-weight: 600;
line-height: 28px;
}

View File

@@ -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>