Merge branch 'main' of ssh://18.167.251.121:10002/aidlab/FiDA_Front

This commit is contained in:
X1627315083@163.com
2026-03-18 10:59:15 +08:00
24 changed files with 809 additions and 83 deletions

View File

@@ -53,12 +53,12 @@
</template>
<template v-else-if="type === 'url'">
<div class="url-list flex">
<div class="url-item" v-for="item in urlList" :key="item">
<div class="url-title" @click="handleClickUrl(item)">
<div class="url-item flex flex-col" v-for="item in urlList" :key="item">
<div class="url-title" v-ellipsis="3" @click="handleClickUrl(item)">
{{ item }}
<img src="@/assets/images/link-outer.png" class="link-outer" />
</div>
<div class="url-link">{{ item }}</div>
<div class="url-link" v-ellipsis="3">{{ item }}</div>
</div>
</div>
</template>
@@ -328,16 +328,27 @@
.url-item {
width: 24rem;
height: 28.7rem;
line-height: 2rem;
word-break: break-all;
background: url('@/assets/images/web-card.png') no-repeat;
background-size: 100% 100%;
padding: 5rem 1.5rem;
row-gap: 0.6rem;
// .url-title,.url-link{
// // 两行省略
// display: -webkit-box;
// -webkit-line-clamp: 2;
// line-clamp: 2;
// -webkit-box-orient: vertical;
// overflow: hidden;
// text-overflow: ellipsis;
// }
.url-title {
cursor: pointer;
font-family: 'Medium';
font-size: 1.6rem;
color: #232323;
padding-bottom: 0.6rem;
max-height: 4rem;
.link-outer {
width: 1.2rem;
height: 1.2rem;

View File

@@ -87,7 +87,8 @@
)
}
const handleGetProjectInfoAndHistory = () => {
const handleGetProjectInfoAndHistory = () => {
handleOpenSketch()
getProjectInfo({ id: route.params.id }).then((res) => {
if (res) agentRef.value.setChatInfo(res)
let data = res?.project || res