fix: mark key right-pane headers as explicitly draggable in desktop app
This commit is contained in:
@@ -9,16 +9,17 @@
|
||||
hide-shared
|
||||
/>
|
||||
<div class="agent-list-content">
|
||||
<div class="header">
|
||||
<div class="header-title">
|
||||
<div class="title-row">
|
||||
<h2>{{ $t('agent.title') }}</h2>
|
||||
<div class="header" style="--wails-draggable: drag">
|
||||
<div class="header-title" style="--wails-draggable: drag">
|
||||
<div class="title-row" style="--wails-draggable: drag">
|
||||
<h2 style="--wails-draggable: drag">{{ $t('agent.title') }}</h2>
|
||||
<t-tooltip :content="$t('agent.createAgent')" placement="bottom">
|
||||
<t-button
|
||||
variant="text"
|
||||
theme="default"
|
||||
size="small"
|
||||
class="header-action-btn"
|
||||
style="--wails-draggable: no-drag"
|
||||
@click="handleCreateAgent"
|
||||
>
|
||||
<template #icon>
|
||||
@@ -33,7 +34,7 @@
|
||||
</t-button>
|
||||
</t-tooltip>
|
||||
</div>
|
||||
<p class="header-subtitle">{{ $t('agent.subtitle') }}</p>
|
||||
<p class="header-subtitle" style="--wails-draggable: drag">{{ $t('agent.subtitle') }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="agent-list-main">
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<template>
|
||||
<div class="dialogue-wrap">
|
||||
<div class="dialogue-answers">
|
||||
<div class="dialogue-title">
|
||||
<span>{{ $t('createChat.title') }}</span>
|
||||
<div class="dialogue-title" style="--wails-draggable: drag">
|
||||
<span style="--wails-draggable: drag">{{ $t('createChat.title') }}</span>
|
||||
</div>
|
||||
<!-- 推荐问题 -->
|
||||
<div ref="sqContainerRef" class="suggested-questions-container">
|
||||
|
||||
@@ -8,23 +8,24 @@
|
||||
:count-by-org="effectiveSharedCountByOrg"
|
||||
/>
|
||||
<div class="kb-list-content">
|
||||
<div class="header">
|
||||
<div class="header-title">
|
||||
<div class="title-row">
|
||||
<h2>{{ $t('knowledgeBase.title') }}</h2>
|
||||
<div class="header" style="--wails-draggable: drag">
|
||||
<div class="header-title" style="--wails-draggable: drag">
|
||||
<div class="title-row" style="--wails-draggable: drag">
|
||||
<h2 style="--wails-draggable: drag">{{ $t('knowledgeBase.title') }}</h2>
|
||||
<t-tooltip :content="$t('knowledgeList.create')" placement="bottom">
|
||||
<t-button
|
||||
variant="text"
|
||||
theme="default"
|
||||
size="small"
|
||||
class="header-action-btn"
|
||||
style="--wails-draggable: no-drag"
|
||||
@click="handleCreateKnowledgeBase"
|
||||
>
|
||||
<template #icon><t-icon name="folder-add" size="16px" /></template>
|
||||
</t-button>
|
||||
</t-tooltip>
|
||||
</div>
|
||||
<p class="header-subtitle">{{ $t('knowledgeList.subtitle') }}</p>
|
||||
<p class="header-subtitle" style="--wails-draggable: drag">{{ $t('knowledgeList.subtitle') }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="kb-list-main">
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
<template>
|
||||
<div class="ks-container">
|
||||
<div class="ks-content">
|
||||
<div class="header">
|
||||
<div class="header-title">
|
||||
<h2>{{ $t('knowledgeSearch.title') }}</h2>
|
||||
<p class="header-subtitle">{{ $t('knowledgeSearch.subtitle') }}</p>
|
||||
<div class="header" style="--wails-draggable: drag">
|
||||
<div class="header-title" style="--wails-draggable: drag">
|
||||
<h2 style="--wails-draggable: drag">{{ $t('knowledgeSearch.title') }}</h2>
|
||||
<p class="header-subtitle" style="--wails-draggable: drag">{{ $t('knowledgeSearch.subtitle') }}</p>
|
||||
</div>
|
||||
<div class="header-actions">
|
||||
<t-button variant="text" shape="square" :class="{ active: showSettings }" @click="showSettings = !showSettings">
|
||||
<div class="header-actions" style="--wails-draggable: no-drag">
|
||||
<t-button variant="text" shape="square" :class="{ active: showSettings }" style="--wails-draggable: no-drag" @click="showSettings = !showSettings">
|
||||
<template #icon><t-icon name="setting" /></template>
|
||||
</t-button>
|
||||
</div>
|
||||
|
||||
@@ -8,17 +8,18 @@
|
||||
:count-joined="joinedCount"
|
||||
/>
|
||||
<div class="org-list-content">
|
||||
<div class="header">
|
||||
<div class="header-title">
|
||||
<div class="title-row">
|
||||
<h2>{{ $t('organization.title') }}</h2>
|
||||
<div class="header-actions">
|
||||
<div class="header" style="--wails-draggable: drag">
|
||||
<div class="header-title" style="--wails-draggable: drag">
|
||||
<div class="title-row" style="--wails-draggable: drag">
|
||||
<h2 style="--wails-draggable: drag">{{ $t('organization.title') }}</h2>
|
||||
<div class="header-actions" style="--wails-draggable: no-drag">
|
||||
<t-tooltip :content="$t('organization.joinOrg')" placement="bottom">
|
||||
<t-button
|
||||
variant="text"
|
||||
theme="default"
|
||||
size="small"
|
||||
class="header-action-btn"
|
||||
style="--wails-draggable: no-drag"
|
||||
@click="handleJoinOrganization"
|
||||
>
|
||||
<template #icon><t-icon name="enter" size="16px" /></template>
|
||||
@@ -30,6 +31,7 @@
|
||||
theme="default"
|
||||
size="small"
|
||||
class="header-action-btn"
|
||||
style="--wails-draggable: no-drag"
|
||||
@click="handleCreateOrganization"
|
||||
>
|
||||
<template #icon><img src="@/assets/img/organization-green.svg" class="org-create-icon" alt="" aria-hidden="true" /></template>
|
||||
@@ -37,7 +39,7 @@
|
||||
</t-tooltip>
|
||||
</div>
|
||||
</div>
|
||||
<p class="header-subtitle">{{ $t('organization.subtitle') }}</p>
|
||||
<p class="header-subtitle" style="--wails-draggable: drag">{{ $t('organization.subtitle') }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="org-list-main">
|
||||
|
||||
Reference in New Issue
Block a user