style(web): 调整共享文案和工作区分隔栏
This commit is contained in:
parent
ee28507bb4
commit
d2fadf2716
@ -161,7 +161,7 @@ const baseShareModeOptions = [
|
||||
},
|
||||
{
|
||||
value: 'user',
|
||||
title: '指定人可访问',
|
||||
title: '指定人',
|
||||
description: '选中的用户可以访问',
|
||||
icon: Users
|
||||
}
|
||||
|
||||
@ -153,7 +153,6 @@ const agentModalTitle = computed(() => (editingAgentId.value ? '编辑智能体'
|
||||
const getAgentIconSrc = (agent) => agent.icon || (agent.id ? generatePixelAvatar(agent.id) : '')
|
||||
const getAgentTags = (agent) => [
|
||||
...(!agent?.can_manage ? [{ name: '只读', color: 'default' }] : []),
|
||||
...(agent?.is_subagent ? [{ name: '子智能体', color: 'purple' }] : []),
|
||||
...(agent?.backend_id ? [{ name: agent.backend_id, color: 'blue' }] : [])
|
||||
]
|
||||
const agentPreviewIcon = computed(() => {
|
||||
|
||||
@ -701,7 +701,7 @@ const shareConfigDisplay = computed(() => {
|
||||
const names = userUids.map((uid) => getUserName(uid)).join('、') || '无'
|
||||
return {
|
||||
color: 'purple',
|
||||
label: '指定人可访问',
|
||||
label: '指定人',
|
||||
detail: `${userUids.length} 个用户可访问:${names}`
|
||||
}
|
||||
}
|
||||
|
||||
@ -221,7 +221,7 @@ const workspaceMainStyle = computed(() => {
|
||||
if (!showInlinePreview.value) return {}
|
||||
const listWidthPercent = 100 - previewWidthPercent.value
|
||||
return {
|
||||
gridTemplateColumns: `minmax(0, ${listWidthPercent}%) 6px minmax(280px, ${previewWidthPercent.value}%)`
|
||||
gridTemplateColumns: `minmax(0, ${listWidthPercent}%) 3px minmax(280px, ${previewWidthPercent.value}%)`
|
||||
}
|
||||
})
|
||||
|
||||
@ -912,8 +912,8 @@ watch(useInlinePreview, (isInline, wasInline) => {
|
||||
}
|
||||
|
||||
.workspace-preview-resizer {
|
||||
width: 6px;
|
||||
min-width: 6px;
|
||||
width: 3px;
|
||||
min-width: 3px;
|
||||
border-left: 1px solid var(--gray-100);
|
||||
border-right: 1px solid var(--gray-100);
|
||||
background: var(--gray-25);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user