2023-11-23-1
This commit is contained in:
@@ -43,12 +43,11 @@
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts">
|
||||
import { defineComponent, createVNode, ref,Ref} from "vue";
|
||||
import { defineComponent, createVNode,computed, ref,Ref} from "vue";
|
||||
import { UserOutlined, DownOutlined } from "@ant-design/icons-vue";
|
||||
import { Https } from "@/tool/https";
|
||||
import { getCookie } from "@/tool/cookie";
|
||||
import axios from 'axios'
|
||||
|
||||
import { useStore } from "vuex";
|
||||
import { message } from "ant-design-vue";
|
||||
import { useI18n } from "vue-i18n";
|
||||
export default defineComponent({
|
||||
@@ -71,6 +70,8 @@ export default defineComponent({
|
||||
let bloodBars:any = ref(0)
|
||||
let {t} = useI18n()
|
||||
let isTest = ref()
|
||||
let store = useStore()
|
||||
let workspace:any = ref({})
|
||||
return {
|
||||
robotTop,
|
||||
robotInput,
|
||||
@@ -84,6 +85,8 @@ export default defineComponent({
|
||||
bloodBars,
|
||||
t,
|
||||
isTest,
|
||||
store,
|
||||
workspace
|
||||
};
|
||||
},
|
||||
data() {
|
||||
@@ -102,6 +105,9 @@ export default defineComponent({
|
||||
this.record = JSON.parse(sessionStorage.getItem("record") as string)
|
||||
}
|
||||
this.getBloodBars()
|
||||
this.workspace = computed(()=>{
|
||||
return this.store?.state?.Workspace?.workspace
|
||||
})
|
||||
|
||||
},
|
||||
directives:{
|
||||
@@ -186,6 +192,7 @@ export default defineComponent({
|
||||
"user_id" : this.userInfo?.userId,
|
||||
"session_id":sessionId,
|
||||
"message" : this.chatCentent,
|
||||
gender:this.workspace.sexEnum.name,
|
||||
}
|
||||
let interaction = {onDownloadProgress: (progressEvent:any) => {
|
||||
this.clearTimer()
|
||||
@@ -325,30 +332,6 @@ export default defineComponent({
|
||||
overflow: hidden;
|
||||
margin: 0 5%;
|
||||
margin-bottom: 5%;
|
||||
.delete_like_file_block{
|
||||
display: none;
|
||||
width: 3.2rem;
|
||||
height: 3.2rem;
|
||||
background: rgba(0,0,0,0.6);
|
||||
border-radius: 0.4rem;
|
||||
position: absolute;
|
||||
top: 0rem;
|
||||
right: 0rem;
|
||||
text-align: center;
|
||||
line-height: 3.2rem;
|
||||
left: auto;
|
||||
cursor: pointer;
|
||||
i{
|
||||
font-size: 1.6rem;
|
||||
color: #fff;
|
||||
&.fi-rr-heart{
|
||||
|
||||
}
|
||||
&.fi-sr-heart{
|
||||
color: red;
|
||||
}
|
||||
}
|
||||
}
|
||||
&:hover .delete_like_file_block{
|
||||
display: block;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user