From 3f1bcde6309d7775d4b6900e8965f59608349356 Mon Sep 17 00:00:00 2001
From: taorui
Date: Wed, 15 May 2024 15:56:10 +0800
Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E5=8E=BB=E9=99=A4=E6=9C=AA?=
=?UTF-8?q?=E5=AE=9A=E4=B9=89=E5=92=8C=E6=9C=AA=E4=BD=BF=E7=94=A8=E7=9A=84?=
=?UTF-8?q?=E5=8F=98=E9=87=8F=EF=BC=8C=E5=AE=8C=E5=96=84=E6=BB=A1=E6=84=8F?=
=?UTF-8?q?=E5=BA=A6=E6=B5=AE=E7=AA=97=E8=8B=B1=E6=96=87=E6=8F=90=E7=A4=BA?=
=?UTF-8?q?=E8=AF=AD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/.vitepress/src/components/AppFloat.vue | 3 --
app/.vitepress/src/components/AppFloatEn.vue | 29 ++++++++++++++------
2 files changed, 21 insertions(+), 11 deletions(-)
diff --git a/app/.vitepress/src/components/AppFloat.vue b/app/.vitepress/src/components/AppFloat.vue
index 46de58226..6c81d4fab 100644
--- a/app/.vitepress/src/components/AppFloat.vue
+++ b/app/.vitepress/src/components/AppFloat.vue
@@ -174,9 +174,6 @@ const infoData = {
grade2: '10-非常可能',
grade1_1: '0-不满意',
grade2_1: '10-非常满意',
- placeholder1: '请输入您不太满意的原因(0-6)',
- placeholder2: '改进哪些方面会让您更满意?(7-8)',
- placeholder3: '请输入您满意的原因(9-10)',
more1: '感谢您的反馈,如需帮助,可论坛',
more2: '发帖求助',
more2Link: 'https://forum.openeuler.org/',
diff --git a/app/.vitepress/src/components/AppFloatEn.vue b/app/.vitepress/src/components/AppFloatEn.vue
index f72d9d12e..4c583aa14 100644
--- a/app/.vitepress/src/components/AppFloatEn.vue
+++ b/app/.vitepress/src/components/AppFloatEn.vue
@@ -172,12 +172,25 @@ const infoData = {
feedbackTitle: 'Feedback',
welcome: 'Your questions and comments are welcome.',
know: 'Got it',
-};
+ more1: 'Thank you for your feedback',
+}
const placeholder = computed(() => {
if (title2.value === TITLES2[0]) {
- return 'Please leave your comment here.';
+ if (score.value / 10 < 7) {
+ return 'Please enter the reason why you do not recommend';
+ } else if (score.value / 10 < 9) {
+ return 'Improving what would make you more likely to recommend';
+ } else {
+ return 'Please enter the reason for your recommendation';
+ }
} else {
- return 'Please leave your comment here.';
+ if (score.value / 10 < 7) {
+ return 'Please enter the reason why you are not satisfied';
+ } else if (score.value / 10 < 9) {
+ return 'What improvements would make you more satisfied??';
+ } else {
+ return 'Please enter the reason for your satisfaction';
+ }
}
});
const isFocuse = ref(false);
@@ -420,6 +433,9 @@ onMounted(() => {
>/500
+
+ {{ infoData.more1}}
+
{
- {{ infoData.more1
- }}{{ infoData.more2 }}
-
+ {{ infoData.more1}}
@@ -1155,7 +1168,7 @@ onMounted(() => {
color: var(--o-color-text4);
font-size: var(--o-font-size-tip);
line-height: 18px;
- // text-align: center;
+ text-align: center;
}
}
.btn-box {
--
Gitee