From dade09c5c09e39ae44b09862e9a0bf9710e26710 Mon Sep 17 00:00:00 2001
From: cuixiaorui
Date: Mon, 12 Aug 2024 19:53:06 +0800
Subject: [PATCH] refactor: use UIcon replace span icon
---
apps/client/components/Landing/Banner.vue | 10 ++++++++--
apps/client/components/Landing/Comments.vue | 12 ++++++++----
apps/client/components/Landing/Contact.vue | 17 ++++++++++++-----
apps/client/components/Landing/PayCard.vue | 12 ++++++++----
apps/client/components/Landing/Questions.vue | 5 ++++-
apps/client/components/common/BackTop.vue | 7 ++++---
apps/client/components/main/Answer.vue | 7 ++++---
apps/client/components/main/AnswerTip.vue | 12 +++++++-----
apps/client/components/main/LearningTimer.vue | 8 ++++----
apps/client/components/main/PrevAndNextBtn.vue | 10 ++++++++--
10 files changed, 67 insertions(+), 33 deletions(-)
diff --git a/apps/client/components/Landing/Banner.vue b/apps/client/components/Landing/Banner.vue
index e0d8821e8..b370b11ad 100644
--- a/apps/client/components/Landing/Banner.vue
+++ b/apps/client/components/Landing/Banner.vue
@@ -56,7 +56,10 @@
-
+
-
+
diff --git a/apps/client/components/Landing/Comments.vue b/apps/client/components/Landing/Comments.vue
index 6d0d3fbc5..230884412 100644
--- a/apps/client/components/Landing/Comments.vue
+++ b/apps/client/components/Landing/Comments.vue
@@ -29,7 +29,10 @@
{{ "@" + item.account }}
-
+
-
+
{{ item.likeCount }} likes
Twitter
-
+
@@ -39,8 +42,10 @@
rel="noreferrer"
target="_blank"
>
- Telegram
-
+
@@ -49,8 +54,10 @@
rel="noreferrer"
target="_blank"
>
- GitHub
-
+
diff --git a/apps/client/components/Landing/PayCard.vue b/apps/client/components/Landing/PayCard.vue
index fe9014cd7..df0a8114e 100644
--- a/apps/client/components/Landing/PayCard.vue
+++ b/apps/client/components/Landing/PayCard.vue
@@ -34,7 +34,10 @@
class="button-unlock"
v-if="feature.type === '终身付费'"
>
-
+
解锁 Pro
@@ -72,10 +75,11 @@
:key="`feature-${index}-item-${itemIndex}`"
class="mb-6 mt-6 flex items-center"
>
-
+ >
{{ item.text }}
diff --git a/apps/client/components/Landing/Questions.vue b/apps/client/components/Landing/Questions.vue
index 265254394..106d7e473 100644
--- a/apps/client/components/Landing/Questions.vue
+++ b/apps/client/components/Landing/Questions.vue
@@ -20,7 +20,10 @@
{{ qsItem.title }}
-
+
-
+
diff --git a/apps/client/components/main/Answer.vue b/apps/client/components/main/Answer.vue
index 619266923..009f8ef8d 100644
--- a/apps/client/components/main/Answer.vue
+++ b/apps/client/components/main/Answer.vue
@@ -8,10 +8,11 @@
@click="handlePlayWordSound(word)"
>{{ word }}
-
+ >
{{ courseStore.currentStatement?.soundmark }}
diff --git a/apps/client/components/main/AnswerTip.vue b/apps/client/components/main/AnswerTip.vue
index 69f963793..cc8f7d70e 100644
--- a/apps/client/components/main/AnswerTip.vue
+++ b/apps/client/components/main/AnswerTip.vue
@@ -5,12 +5,14 @@
-
+ tabindex="-1"
+ :ui="{ color: { gray: { ghost: 'dark:hover:bg-gray-600' } } }"
+ />
{{ courseStore.currentStatement?.english }}
diff --git a/apps/client/components/main/LearningTimer.vue b/apps/client/components/main/LearningTimer.vue
index 68448df1c..a33505b52 100644
--- a/apps/client/components/main/LearningTimer.vue
+++ b/apps/client/components/main/LearningTimer.vue
@@ -4,10 +4,10 @@
ref="clockIcon"
class="mr-1 flex items-center justify-center"
>
-
+
{{ formattedTime }}
diff --git a/apps/client/components/main/PrevAndNextBtn.vue b/apps/client/components/main/PrevAndNextBtn.vue
index aafdb45aa..0a1a71d14 100644
--- a/apps/client/components/main/PrevAndNextBtn.vue
+++ b/apps/client/components/main/PrevAndNextBtn.vue
@@ -8,7 +8,10 @@
@click="goToPreviousQuestion"
@mouseenter="$lazyTippy"
>
-
+
@@ -20,7 +23,10 @@
@click="goToNextQuestion"
@mouseenter="$lazyTippy"
>
-
+