feat(agent): 优化聊天历史组件样式和图片展示,调整卡片布局和图片处理
This commit is contained in:
@ -29,17 +29,17 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="divider"></div>
|
||||
<div class="history-section">
|
||||
<div class="history-title">
|
||||
<div class="text">历史对话</div>
|
||||
</div>
|
||||
<!-- <div class="history-section">-->
|
||||
<!-- <div class="history-title">-->
|
||||
<!-- <div class="text">历史对话</div>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div class="history-list">-->
|
||||
<!-- <div class="history-item">-->
|
||||
<!-- <div class="item-text">梳理这次舆情的时间线和关键节点</div>-->
|
||||
<!-- </div>-->
|
||||
<!-- -->
|
||||
|
||||
<!-- </div>-->
|
||||
</div>
|
||||
<!-- </div>-->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
|
||||
.header-section {
|
||||
align-self: stretch;
|
||||
height: 160px;
|
||||
height: 300px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
@ -20,20 +20,16 @@
|
||||
gap: 10px;
|
||||
|
||||
.image-container {
|
||||
align-self: stretch;
|
||||
flex: 1 1 0;
|
||||
position: relative;
|
||||
background: #FFEDED;
|
||||
height: 400px;
|
||||
overflow: hidden;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 408.14px;
|
||||
height: 219px;
|
||||
left: -24.07px;
|
||||
top: -29px;
|
||||
position: absolute;
|
||||
}
|
||||
.image-container img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
aspect-ratio: 1 / 1;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
|
||||
@ -57,6 +53,7 @@
|
||||
font-family: 'Alibaba PuHuiTi', sans-serif;
|
||||
font-weight: 400;
|
||||
line-height: 26px;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.tag {
|
||||
@ -140,6 +137,7 @@
|
||||
font-family: 'Alibaba PuHuiTi', sans-serif;
|
||||
font-weight: 400;
|
||||
line-height: 22px;
|
||||
padding: 10px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -104,15 +104,15 @@ const cozeWebSdkConfig = (botId, name, auth) => {
|
||||
title: name,
|
||||
isNeedFunctionCallMessage: true,
|
||||
},
|
||||
base: {
|
||||
icon: '',
|
||||
zIndex: 1000,
|
||||
},
|
||||
footer:{
|
||||
expressionText:"内容由AI生成,无法确保真实准确,仅供参考。",
|
||||
},
|
||||
},
|
||||
auth: auth,
|
||||
base: {
|
||||
icon: '',
|
||||
zIndex: 1000,
|
||||
},
|
||||
header: {
|
||||
isShow: true,
|
||||
isNeedClose: false,
|
||||
|
||||
Reference in New Issue
Block a user