diff --git a/frontend/src/assets/img/im/qqbot.png b/frontend/src/assets/img/im/qqbot.png new file mode 100644 index 00000000..8c9a443c Binary files /dev/null and b/frontend/src/assets/img/im/qqbot.png differ diff --git a/frontend/src/assets/img/im/qqbot.svg b/frontend/src/assets/img/im/qqbot.svg deleted file mode 100644 index 26c08d80..00000000 --- a/frontend/src/assets/img/im/qqbot.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/frontend/src/components/AgentEmbedChannelPanel.vue b/frontend/src/components/AgentEmbedChannelPanel.vue index ced5a529..ba28ca19 100644 --- a/frontend/src/components/AgentEmbedChannelPanel.vue +++ b/frontend/src/components/AgentEmbedChannelPanel.vue @@ -13,15 +13,10 @@
- -
- +
- +
+ +
+
+ +
-
- +
-
-

{{ $t('embedPublish.sectionWebhook') }}

+
+

{{ $t('embedPublish.sectionWebhook') }}

-
-
- - -

{{ $t('embedPublish.webhookUrlDesc') }}

-
+
+
+ + +

{{ $t('embedPublish.webhookUrlDesc') }}

+
-
- - -

{{ $t('embedPublish.webhookSecretDesc') }}

+
+ + +

{{ $t('embedPublish.webhookSecretDesc') }}

+
+
+ +
+ +

{{ $t('embedPublish.deployAfterSaveHint') }}

-
- -
- -

{{ $t('embedPublish.deployAfterSaveHint') }}

-
-
-

{{ $t('embedPublish.sectionDeploy') }}

-

{{ $t('embedPublish.deployIntro') }}

+
+

{{ $t('embedPublish.sectionDeploy') }}

+

{{ $t('embedPublish.deployIntro') }}

-
-
{{ $t('embedPublish.deployStepEmbed') }}
-

{{ $t('embedPublish.deployStepEmbedDesc') }}

+
+
{{ $t('embedPublish.deployStepEmbed') }}
+

{{ $t('embedPublish.deployStepEmbedDesc') }}

@@ -430,13 +314,8 @@ {{ drawerSnippetTab === 'iframe' ? $t('embedPublish.embedCode') : $t('embedPublish.widgetCode') }}
- + {{ $t('embedPublish.preview') }} @@ -468,77 +347,49 @@
{{ secureServerExample }}
-
- -
-
{{ $t('embedPublish.channelKey') }}
-

{{ $t('embedPublish.channelKeyDesc') }}

- -
- - - - - - -
-

- {{ $t('embedPublish.channelKeyHint') }} -

-
-
+
+
{{ $t('embedPublish.channelKey') }}
+

{{ $t('embedPublish.channelKeyDesc') }}

+ +
+ + + + + + + +
+

+ {{ $t('embedPublish.channelKeyHint') }} +

+
+ +
- + @@ -1678,8 +1529,24 @@ const toggleEnabled = async (ch: EmbedChannel, enabled: boolean) => { } } -.pos-bottom-right .preview-launcher { right: 10px; bottom: 10px; } -.pos-bottom-left .preview-launcher { left: 10px; bottom: 10px; } -.pos-top-right .preview-launcher { left: auto; right: 10px; top: 10px; } -.pos-top-left .preview-launcher { left: 10px; top: 10px; } +.pos-bottom-right .preview-launcher { + right: 10px; + bottom: 10px; +} + +.pos-bottom-left .preview-launcher { + left: 10px; + bottom: 10px; +} + +.pos-top-right .preview-launcher { + left: auto; + right: 10px; + top: 10px; +} + +.pos-top-left .preview-launcher { + left: 10px; + top: 10px; +} diff --git a/frontend/src/components/IMChannelPanel.vue b/frontend/src/components/IMChannelPanel.vue index 9321505a..398ee378 100644 --- a/frontend/src/components/IMChannelPanel.vue +++ b/frontend/src/components/IMChannelPanel.vue @@ -13,21 +13,12 @@
- -
- + @@ -131,11 +86,8 @@
-
+
@@ -152,36 +104,20 @@
- +
- + - +
{{ item.label }} @@ -192,11 +128,8 @@
- +

{{ $t('agentEditor.im.channelNameDefaultHint') }}

@@ -219,46 +152,33 @@
- -

- {{ formData.platform === 'mattermost' ? $t('agentEditor.im.mattermostModeHint') : $t('agentEditor.im.modeHint') }} + {{ formData.platform === 'mattermost' ? $t('agentEditor.im.mattermostModeHint') : + $t('agentEditor.im.modeHint') }}

- -
@@ -270,21 +190,14 @@
- -
@@ -292,16 +205,14 @@
-
+

{{ $t('agentEditor.im.sectionCallback') }}

- + @@ -316,12 +227,8 @@

{{ $t('agentEditor.im.sectionKnowledge') }}

- +

{{ $t('agentEditor.im.fileKnowledgeBaseHint') }}

@@ -334,277 +241,280 @@

{{ $t('agentEditor.im.sectionCredentials') }}

- - - - - - - - - - - - - - - - - - - - + +
@@ -633,7 +543,7 @@ import telegramLogo from '@/assets/img/im/telegram.svg'; import dingtalkLogo from '@/assets/img/im/dingtalk.svg'; import mattermostLogo from '@/assets/img/im/mattermost.svg'; import wechatLogo from '@/assets/img/im/wechat.svg'; -import qqbotLogo from '@/assets/img/im/qqbot.svg'; +import qqbotLogo from '@/assets/img/im/qqbot.png'; type IMPlatform = IMChannel['platform']; diff --git a/frontend/src/components/css/channel-panel-list.less b/frontend/src/components/css/channel-panel-list.less index 2d1079dd..4d84bc12 100644 --- a/frontend/src/components/css/channel-panel-list.less +++ b/frontend/src/components/css/channel-panel-list.less @@ -108,7 +108,7 @@ .channel-card__badge { background: color-mix(in srgb, var(--td-brand-color) 10%, transparent); color: var(--td-brand-color); - font-size: 16px; + font-size: 20px; } .channel-card__title { @@ -120,9 +120,9 @@ &__badge { flex-shrink: 0; - width: 28px; - height: 28px; - border-radius: 7px; + width: 36px; + height: 36px; + border-radius: 8px; display: flex; align-items: center; justify-content: center; @@ -132,8 +132,8 @@ } &__logo { - width: 16px; - height: 16px; + width: 22px; + height: 22px; object-fit: contain; } diff --git a/frontend/src/components/menu.vue b/frontend/src/components/menu.vue index a5123d90..8cac5986 100644 --- a/frontend/src/components/menu.vue +++ b/frontend/src/components/menu.vue @@ -259,7 +259,7 @@ import telegramLogo from '@/assets/img/im/telegram.svg'; import dingtalkLogo from '@/assets/img/im/dingtalk.svg'; import mattermostLogo from '@/assets/img/im/mattermost.svg'; import wechatLogo from '@/assets/img/im/wechat.svg'; -import qqbotLogo from '@/assets/img/im/qqbot.svg'; +import qqbotLogo from '@/assets/img/im/qqbot.png'; const PLATFORM_LOGO: Record = { wecom: wecomLogo,