diff --git a/frontend/src/i18n/en.json b/frontend/src/i18n/en.json
index 6e3d9a23..bfa0bebe 100644
--- a/frontend/src/i18n/en.json
+++ b/frontend/src/i18n/en.json
@@ -8,6 +8,7 @@
"Details": "Details"
},
"sync": {
+ "integration": "Platform integration needs to be enabled.",
"the_existing_user": "If the user already exists, overwrite the existing user.",
"sync_users": "Sync Users",
"sync_wechat_users": "Sync WeChat Users",
diff --git a/frontend/src/i18n/ko-KR.json b/frontend/src/i18n/ko-KR.json
index fcb88f08..8033fe34 100644
--- a/frontend/src/i18n/ko-KR.json
+++ b/frontend/src/i18n/ko-KR.json
@@ -8,6 +8,7 @@
"Details": "세부"
},
"sync": {
+ "integration": "플랫폼 통합을 활성화해야 합니다.",
"the_existing_user": "해당 사용자가 이미 존재하는 경우 기존 사용자를 덮어씁니다.",
"sync_users": "사용자 동기화",
"sync_wechat_users": "위챗 사용자 동기화",
diff --git a/frontend/src/i18n/zh-CN.json b/frontend/src/i18n/zh-CN.json
index 7f27c3a0..41bf5537 100644
--- a/frontend/src/i18n/zh-CN.json
+++ b/frontend/src/i18n/zh-CN.json
@@ -8,6 +8,7 @@
"Details": "详情"
},
"sync": {
+ "integration": "Platform integration needs to be enabled.",
"the_existing_user": "若用户已存在,覆盖旧用户",
"sync_users": "同步用户",
"sync_wechat_users": "同步企业微信用户",
diff --git a/frontend/src/views/embedded/AssistantPreview.vue b/frontend/src/views/embedded/AssistantPreview.vue
index 405e437b..3d6bb0e8 100644
--- a/frontend/src/views/embedded/AssistantPreview.vue
+++ b/frontend/src/views/embedded/AssistantPreview.vue
@@ -58,30 +58,14 @@ const pageLogo = computed(() => {
{{ welcomeDesc }}
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ {{ $t('qa.start_sqlbot') }}
+
@@ -149,13 +133,10 @@ const pageLogo = computed(() => {
}
.center {
width: 100%;
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
display: flex;
align-items: center;
flex-direction: column;
+ margin-top: 180px;
.i-am {
font-weight: 600;
@@ -182,37 +163,37 @@ const pageLogo = computed(() => {
}
.content {
width: calc(100% - 32px);
+ margin-top: 8px;
+ margin-left: 16px;
- .textarea-send {
+ .greeting-btn {
width: 100%;
- position: relative;
- .ed-textarea {
- width: 100%;
- }
+ height: 88px;
+ border-radius: 16px;
+ border-style: dashed;
- :deep(.ed-textarea__inner) {
- padding: 12px 12px 52px 12px;
- font-weight: 400;
- font-size: 16px;
- line-height: 24px;
- border-radius: 16px;
+ .inner-icon {
+ display: flex;
+ flex-direction: row;
+ align-items: center;
- &::placeholder {
- color: #8f959e;
- }
+ margin-right: 6px;
}
- img {
- cursor: pointer;
- position: absolute;
- right: 12px;
- bottom: 12px;
- }
- }
+ font-size: 16px;
+ line-height: 24px;
+ font-weight: 500;
- position: absolute;
- bottom: 16px;
- left: 16px;
+ --ed-button-text-color: var(--ed-color-primary, rgba(28, 186, 144, 1));
+ --ed-button-hover-text-color: var(--ed-color-primary, rgba(28, 186, 144, 1));
+ --ed-button-active-text-color: var(--ed-color-primary, rgba(28, 186, 144, 1));
+ --ed-button-bg-color: rgba(248, 249, 250, 1);
+ --ed-button-hover-bg-color: var(--ed-color-primary-1a, #1cba901a);
+ --ed-button-border-color: rgba(217, 220, 223, 1);
+ --ed-button-hover-border-color: var(--ed-color-primary, rgba(28, 186, 144, 1));
+ --ed-button-active-bg-color: var(--ed-color-primary-33, #1cba9033);
+ --ed-button-active-border-color: var(--ed-color-primary, rgba(28, 186, 144, 1));
+ }
}
.drawer-assistant {
diff --git a/frontend/src/views/system/user/User.vue b/frontend/src/views/system/user/User.vue
index 799c85a4..42e44651 100644
--- a/frontend/src/views/system/user/User.vue
+++ b/frontend/src/views/system/user/User.vue
@@ -24,7 +24,21 @@
{{ $t('user.filter') }}
-
+
+
+
+
+
+ {{ t('sync.sync_users') }}
+
+
+
+