|
|
@@ -22,12 +22,12 @@
|
|
|
</span>
|
|
|
</button>
|
|
|
<div class="coco-collapse-body" v-if="isQuickActions.includes('quick')">
|
|
|
- <!-- <div class="coco-quick-tabs">
|
|
|
+ <div class="coco-quick-tabs">
|
|
|
<button type="button" class="coco-quick-tab" :class="{ 'active': cocoQuickTab === 'page' }"
|
|
|
@click="setCocoQuickTab('page')">{{ lang.ssAiChatQuickTabPage }}</button>
|
|
|
<button type="button" class="coco-quick-tab" :class="{ 'active': cocoQuickTab === 'course' }"
|
|
|
@click="setCocoQuickTab('course')">{{ lang.ssAiChatQuickTabCourse }}</button>
|
|
|
- </div> -->
|
|
|
+ </div>
|
|
|
<div class="coco-quick-list">
|
|
|
<button type="button" class="coco-quick-action" v-if="cocoQuickTab === 'page'" @click="sendQuickAction(lang.ssAiChatQuickAction3)">
|
|
|
<span class="coco-quick-action-copy">
|
|
|
@@ -56,7 +56,7 @@
|
|
|
</svg>
|
|
|
</span>
|
|
|
</button> -->
|
|
|
- <button type="button" class="coco-quick-action" v-if="cocoQuickTab === 'course'">
|
|
|
+ <button type="button" class="coco-quick-action" v-if="cocoQuickTab === 'course'" @click="sendQuickAction(lang.ssAiChatQuickAction5)">
|
|
|
<span class="coco-quick-action-copy">
|
|
|
<span class="coco-quick-action-title">{{ lang.ssAiChatQuickRecommendToolsTitle }}</span>
|
|
|
<span class="coco-quick-action-desc">{{ lang.ssAiChatQuickRecommendToolsDesc }}</span>
|
|
|
@@ -68,7 +68,7 @@
|
|
|
</svg>
|
|
|
</span>
|
|
|
</button>
|
|
|
- <button type="button" class="coco-quick-action" v-if="cocoQuickTab === 'course'">
|
|
|
+ <!-- <button type="button" class="coco-quick-action" v-if="cocoQuickTab === 'course'">
|
|
|
<span class="coco-quick-action-copy">
|
|
|
<span class="coco-quick-action-title">{{ lang.ssAiChatQuickBatchGenToolsTitle }}</span>
|
|
|
<span class="coco-quick-action-desc">{{ lang.ssAiChatQuickBatchGenToolsDesc }}</span>
|
|
|
@@ -79,7 +79,7 @@
|
|
|
<path d="M13 5l7 7-7 7"></path>
|
|
|
</svg>
|
|
|
</span>
|
|
|
- </button>
|
|
|
+ </button> -->
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -254,6 +254,8 @@ const files = ref<Array<{ title: string; id?: string | null; url?: string; isPro
|
|
|
const quickActions = [
|
|
|
lang.ssAiChatQuickAction1,
|
|
|
lang.ssAiChatQuickAction2,
|
|
|
+ lang.ssAiChatQuickAction6,
|
|
|
+ lang.ssAiChatQuickAction7,
|
|
|
]
|
|
|
|
|
|
// 监听输入变化,当输入"/"时显示快捷操作
|