style: ai 洞察界面调整
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 4.6 KiB |
@@ -66,11 +66,13 @@ const { questionAnalysis } = useFetchAnalysis(sn.value);
|
|||||||
|
|
||||||
<van-cell v-if="aiInsightsConfig.message.length > 0" class="ai-insight">
|
<van-cell v-if="aiInsightsConfig.message.length > 0" class="ai-insight">
|
||||||
<template #extra>
|
<template #extra>
|
||||||
<!-- ai 洞察部分内容 -->
|
<div class="ai-insight-content">
|
||||||
<article class="ai-insight-content">
|
<img width="54px" height="15px" src="@/assets/img/analysis/ai-insight.png" alt="" />
|
||||||
<img src="@/assets/img/analysis/ai-insight.png" alt="" />
|
<!-- ai 洞察部分内容 -->
|
||||||
<div v-html="aiInsightsConfig.message" />
|
<article class="ai-insight-message">
|
||||||
</article>
|
<div v-html="aiInsightsConfig.message" />
|
||||||
|
</article>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</van-cell>
|
</van-cell>
|
||||||
|
|
||||||
@@ -101,11 +103,19 @@ const { questionAnalysis } = useFetchAnalysis(sn.value);
|
|||||||
|
|
||||||
.ai-insight {
|
.ai-insight {
|
||||||
background-image: url('@/assets/img/home/item-back.png');
|
background-image: url('@/assets/img/home/item-back.png');
|
||||||
background-position: top;
|
background-position: 11% 11%;
|
||||||
|
|
||||||
.ai-insight-content {
|
.ai-insight-content {
|
||||||
background-color: #f8fbfe;
|
margin: 16px 0 0 0;
|
||||||
padding: 14px;
|
|
||||||
|
img {
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
.ai-insight-message {
|
||||||
|
border-radius: 8px;
|
||||||
|
padding: 16px;
|
||||||
|
background-color: rgba(245, 249, 254, 0.7);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import { aiInsightsConfig } from '@/views/Survey/views/Analysis/hooks/useAnalysi
|
|||||||
<section class="wait-container">
|
<section class="wait-container">
|
||||||
<el-image :src="waitImg"></el-image>
|
<el-image :src="waitImg"></el-image>
|
||||||
<el-text>AI 小助手加速工作中</el-text>
|
<el-text>AI 小助手加速工作中</el-text>
|
||||||
<el-text>
|
<el-text style="margin-top: 10px">
|
||||||
{{
|
{{
|
||||||
aiInsightsConfig.info.length !== 0
|
aiInsightsConfig.info.length !== 0
|
||||||
? aiInsightsConfig.info
|
? aiInsightsConfig.info
|
||||||
@@ -23,5 +23,9 @@ import { aiInsightsConfig } from '@/views/Survey/views/Analysis/hooks/useAnalysi
|
|||||||
flex-flow: column nowrap;
|
flex-flow: column nowrap;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
||||||
|
.el-image {
|
||||||
|
margin-bottom: 16px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user