perf: 样式调整
This commit is contained in:
@ -1,13 +1,13 @@
|
||||
<template>
|
||||
<div class="px-4px">
|
||||
<div class="back-wap cursor-pointer mb-20px" @click="goChatIndex">
|
||||
<icon-left size="16" class="color-#737478 mr-4px" />
|
||||
<span class="cs">返回空间</span>
|
||||
<div class="px-4px h-full overflow-hidden">
|
||||
<div class="back-wap cursor-pointer mb-17px mt--3px !w-fit" @click="goChatIndex">
|
||||
<icon-left size="16" class="color-#737478 mr-4px" />
|
||||
<span class="cs">返回空间</span>
|
||||
</div>
|
||||
<div class="workflow-container">
|
||||
<div class="left-wap mr-24px" v-if="isCollapsed == false">
|
||||
<div class="w-full w-100% mb-15px h-160px rounded-8px bg-#E6E6E8" v-image-main-color="cozeInfo.image_url">
|
||||
<img v-if="cozeInfo?.image_url" :src="cozeInfo?.image_url" class= "w-full h-full object-contain" />
|
||||
<img v-if="cozeInfo?.image_url" :src="cozeInfo?.image_url" class="w-full h-full object-contain" />
|
||||
</div>
|
||||
<div class="content mb-15px">
|
||||
<div class="title-body">
|
||||
@ -29,7 +29,6 @@
|
||||
{{ cozeInfo?.description }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="right-wap">
|
||||
<div class="header">
|
||||
@ -55,7 +54,7 @@ import { getChatAgent } from '@/api/all/agent';
|
||||
import { useRouter } from 'vue-router';
|
||||
import menuFold from '@/assets/svg/menu-fold.svg';
|
||||
import menuUnfold from '@/assets/svg/menu-unfold.svg';
|
||||
import { formatNumberShow } from "@/utils/tools"
|
||||
import { formatNumberShow } from '@/utils/tools';
|
||||
|
||||
const router = useRouter();
|
||||
|
||||
@ -142,6 +141,7 @@ const cozeWebSdkConfig = (botId, name, auth, userInfo) => {
|
||||
height: '100%',
|
||||
title: name,
|
||||
isNeedFunctionCallMessage: true,
|
||||
isNeedAudio: false,
|
||||
feedback: {
|
||||
isNeedFeedback: true,
|
||||
feedbackPanel: {
|
||||
@ -168,7 +168,8 @@ const cozeWebSdkConfig = (botId, name, auth, userInfo) => {
|
||||
expressionText: '内容由AI生成,无法确保真实准确,仅供参考。',
|
||||
},
|
||||
header: {
|
||||
isShow: true,
|
||||
isShow: false,
|
||||
isNeedClose: false,
|
||||
},
|
||||
conversations: {
|
||||
isNeed: true,
|
||||
@ -179,7 +180,7 @@ const cozeWebSdkConfig = (botId, name, auth, userInfo) => {
|
||||
auth: auth,
|
||||
userInfo: userInfo,
|
||||
header: {
|
||||
isShow: true,
|
||||
isShow: false,
|
||||
isNeedClose: false,
|
||||
},
|
||||
};
|
||||
|
||||
@ -67,7 +67,7 @@
|
||||
.title-body {
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
// gap: 4px;
|
||||
display: flex;
|
||||
|
||||
.text {
|
||||
|
||||
Reference in New Issue
Block a user