|
@@ -30,7 +30,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div class="coco-quick-list">
|
|
<div class="coco-quick-list">
|
|
|
<button type="button" class="coco-quick-action" v-if="cocoQuickTab === 'page'"
|
|
<button type="button" class="coco-quick-action" v-if="cocoQuickTab === 'page'"
|
|
|
- @click="sendQuickAction(lang.ssAiChatQuickAction3)">
|
|
|
|
|
|
|
+ @click="sendQuickAction(lang.ssAiChatQuickAction3, 1)">
|
|
|
<span class="coco-quick-action-copy">
|
|
<span class="coco-quick-action-copy">
|
|
|
<span class="coco-quick-action-title">{{ lang.ssAiChatQuickGenChoicesTitle }}</span>
|
|
<span class="coco-quick-action-title">{{ lang.ssAiChatQuickGenChoicesTitle }}</span>
|
|
|
<span class="coco-quick-action-desc">{{ lang.ssAiChatQuickGenChoicesDesc }}</span>
|
|
<span class="coco-quick-action-desc">{{ lang.ssAiChatQuickGenChoicesDesc }}</span>
|
|
@@ -45,7 +45,7 @@
|
|
|
</button>
|
|
</button>
|
|
|
|
|
|
|
|
<button type="button" class="coco-quick-action" v-if="cocoQuickTab === 'page'"
|
|
<button type="button" class="coco-quick-action" v-if="cocoQuickTab === 'page'"
|
|
|
- @click="sendQuickAction(lang.ssAiChatQuickAction4)">
|
|
|
|
|
|
|
+ @click="sendQuickAction(lang.ssAiChatQuickAction4, 1)">
|
|
|
<span class="coco-quick-action-copy">
|
|
<span class="coco-quick-action-copy">
|
|
|
<span class="coco-quick-action-title">{{ lang.ssAiChatQuickGenWebTitle }}</span>
|
|
<span class="coco-quick-action-title">{{ lang.ssAiChatQuickGenWebTitle }}</span>
|
|
|
<span class="coco-quick-action-desc">{{ lang.ssAiChatQuickGenWebDesc }}</span>
|
|
<span class="coco-quick-action-desc">{{ lang.ssAiChatQuickGenWebDesc }}</span>
|
|
@@ -59,7 +59,7 @@
|
|
|
</span>
|
|
</span>
|
|
|
</button>
|
|
</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)">
|
|
|
|
|
|
|
+ @click="sendQuickAction(lang.ssAiChatQuickAction5, 1)">
|
|
|
<span class="coco-quick-action-copy">
|
|
<span class="coco-quick-action-copy">
|
|
|
<span class="coco-quick-action-title">{{ lang.ssAiChatQuickRecommendToolsTitle }}</span>
|
|
<span class="coco-quick-action-title">{{ lang.ssAiChatQuickRecommendToolsTitle }}</span>
|
|
|
<span class="coco-quick-action-desc">{{ lang.ssAiChatQuickRecommendToolsDesc }}</span>
|
|
<span class="coco-quick-action-desc">{{ lang.ssAiChatQuickRecommendToolsDesc }}</span>
|
|
@@ -72,7 +72,7 @@
|
|
|
</svg>
|
|
</svg>
|
|
|
</span>
|
|
</span>
|
|
|
</button>
|
|
</button>
|
|
|
- <button type="button" class="coco-quick-action" v-if="cocoQuickTab === 'course'" @click="sendQuickAction(lang.ssBatchInteractiveWeb)">
|
|
|
|
|
|
|
+ <button type="button" class="coco-quick-action" v-if="cocoQuickTab === 'course'" @click="sendQuickAction(lang.ssBatchInteractiveWeb, 1)">
|
|
|
<span class="coco-quick-action-copy">
|
|
<span class="coco-quick-action-copy">
|
|
|
<span class="coco-quick-action-title">{{ lang.ssAiChatQuickBatchGenToolsTitle }}</span>
|
|
<span class="coco-quick-action-title">{{ lang.ssAiChatQuickBatchGenToolsTitle }}</span>
|
|
|
<span class="coco-quick-action-desc">{{ lang.ssAiChatQuickBatchGenToolsDesc }}</span>
|
|
<span class="coco-quick-action-desc">{{ lang.ssAiChatQuickBatchGenToolsDesc }}</span>
|
|
@@ -434,8 +434,11 @@ const prevChatResult = () => {
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-const sendQuickAction = (action: string) => {
|
|
|
|
|
|
|
+const sendQuickAction = (action: string, type: number = 2) => {
|
|
|
inputText.value = action
|
|
inputText.value = action
|
|
|
|
|
+ if (type === 1) {
|
|
|
|
|
+ isQuickActions.value = []
|
|
|
|
|
+ }
|
|
|
// sendMessage()
|
|
// sendMessage()
|
|
|
}
|
|
}
|
|
|
|
|
|