提交修改

This commit is contained in:
X1627315083
2025-06-03 14:57:18 +08:00
parent 9fc2bcaedf
commit 87a08f5f8f
54 changed files with 1669 additions and 378 deletions

View File

@@ -11,7 +11,9 @@
<div class="itemBox" ref="chatBox">
<div class="item" v-for="item in chatList" :class="{user:item.role == 'user'}">
<div class="textBox">
<div class="icon">ICON</div>
<div class="icon">
<img src="@/assets/images/icon/favicon.png" alt="">
</div>
<div class="text" v-show="item.content.think || item.content.message || item.content.img || item.content.color">
<span class="content">
<div class="showThink" :class="{active:item.content?.isThink}" v-show="item.content.think" @click="()=>item.content?.isThink?(item.content.isThink = false):(item.content.isThink = true)">
@@ -103,7 +105,7 @@ export default defineComponent({
chatBox:null as any,
})
watch(()=>data.selectObject.id,(newValue,oldValue)=>{
if(newValue){
if(newValue && (data.selectObject.httpType == 'SERIES_DESIGN' || data.selectObject.httpType == 'SINGLE_DESIGN')){
getChatHistory(newValue)
}
})
@@ -385,7 +387,12 @@ export default defineComponent({
padding: 1.2rem 2rem;
border-radius: 2.4rem;
-webkit-user-select: none;
> .icon{
> img{
width: 2.5rem;
height: 2.5rem;
}
}
> .text{
// display: inline-block;
// width: min-content;