diff --git a/app/.vitepress/src/components/feedback/FeedbackSlider.vue b/app/.vitepress/src/components/feedback/FeedbackSlider.vue
index 3001df10ce5e0d3ad6d8b9ec73dfda6905227fd0..b46a2352a70db5d129f2fc267692761cc2ca5a21 100644
--- a/app/.vitepress/src/components/feedback/FeedbackSlider.vue
+++ b/app/.vitepress/src/components/feedback/FeedbackSlider.vue
@@ -88,6 +88,10 @@ const submitFeedback = () => {
message.success({
content: t('feedback.feedbackSuccess'),
});
+ } else if (res.code === 429) {
+ message.danger({
+ content: t('feedback.submitBusy'),
+ });
} else {
message.danger({
content: t('feedback.feedbackSubmitFailed'),
@@ -144,7 +148,7 @@ const RATE_INDEX = Array(RATE_MAX_MB + 1)
{{ t('feedback.moreInfo3') }}
-
+
{{ t('feedback.submit') }}
@@ -188,9 +192,10 @@ const RATE_INDEX = Array(RATE_MAX_MB + 1)
.slider-tip {
width: 28px;
- height: auto;
+ height: 20px;
text-align: center;
font-size: var(--o-font_size-tip1);
+ line-height: var(--o-line_height-tip2);
color: var(--o-color-info1);
background-color: var(--o-color-fill2);
border-radius: var(--o-radius-xs);
@@ -198,9 +203,10 @@ const RATE_INDEX = Array(RATE_MAX_MB + 1)
backdrop-filter: blur(5px);
border: 1px solid var(--o-color-control4-light);
position: absolute;
- top: -16px;
+ top: -4px;
left: v-bind(scorePosition);
transform: translateX(-50%);
+
&::after {
content: '';
@@ -214,6 +220,7 @@ const RATE_INDEX = Array(RATE_MAX_MB + 1)
position: absolute;
bottom: -4px;
right: 9px;
+ z-index: -1;
}
}
@@ -308,9 +315,24 @@ const RATE_INDEX = Array(RATE_MAX_MB + 1)
.o-textarea {
--textarea-radius-pill: 8px;
+ --textarea-bd-color-hover: var(--o-color-primary1);
width: 100%;
height: 88px;
+ @include tip2;
+
+ :deep(.o_textarea) {
+ height: 100%;
+ }
+
+ :deep(.o_textarea-wrap) {
+ height: 100%;
+ }
+
+ :deep(.o_textarea-count) {
+ right: 8px;
+ bottom: 8px;
+ }
}
.more-info {
@@ -325,25 +347,16 @@ const RATE_INDEX = Array(RATE_MAX_MB + 1)
text-align: center;
margin-top: 16px;
- :deep(.o-btn) {
+ :deep(.o-button) {
padding: 6px 26px;
+ font-size: var(--o-font_size-tip1);
+ border-radius: var(--o-radius-l);
border-color: var(--o-color-primary1);
color: var(--o-color-primary1);
@include hover {
- border-color: var(--o-color-primary1);
- background-color: var(--o-color-primary1);
- color: var(--o-color-white);
- }
-
- &.o-btn-disabled {
- border-color: var(--o-color-primary4);
- color: var(--o-color-primary4);
- @include hover {
- border-color: var(--o-color-primary4);
- background-color: transparent;
- color: var(--o-color-primary4);
- }
+ border-color: var(--o-color-primary2);
+ color: var(--o-color-primary2);
}
}
diff --git a/app/.vitepress/src/components/feedback/FloatingButtonHome.vue b/app/.vitepress/src/components/feedback/FloatingButtonHome.vue
index 93ffee00579a29b77891a10857fc62dd16ec12d7..5955b13488221eaafafd9e49bb41b4152834e30b 100644
--- a/app/.vitepress/src/components/feedback/FloatingButtonHome.vue
+++ b/app/.vitepress/src/components/feedback/FloatingButtonHome.vue
@@ -160,6 +160,7 @@ const floatData = ref([
cursor: default;
.o-popup-wrap {
+ width: 360px;
box-shadow: none;
}
diff --git a/app/.vitepress/src/i18n/feedback/feedback-zh.ts b/app/.vitepress/src/i18n/feedback/feedback-zh.ts
index 840a99c8c39940fe6cd4ebef3006a1f83f2731cc..24bec6a7d20ad0c36f3af202532089b0ef8d47d9 100644
--- a/app/.vitepress/src/i18n/feedback/feedback-zh.ts
+++ b/app/.vitepress/src/i18n/feedback/feedback-zh.ts
@@ -13,7 +13,7 @@ export default {
recommendTip1: '请输入您不太推荐的原因',
recommendTip2: '改进哪些方面会让您更愿意推荐?',
recommendTip3: '请输入您推荐的原因',
- submitBusy: '您的提交过于频繁,请稍后再试',
+ submitBusy: '提交过于频繁,请稍后再试',
feedbackFailed: '反馈失败',
issueBack: '问题反馈',
issueBackDecs: '获得技术团队的快速支持',