diff --git a/index.html b/index.html index 4525ea0..80d3909 100644 --- a/index.html +++ b/index.html @@ -9,8 +9,9 @@ /> + - + diff --git a/src/assets/images/components/medal/证书详情.png b/src/assets/images/components/medal/证书详情.png index bd491ce..e70f6a1 100644 Binary files a/src/assets/images/components/medal/证书详情.png and b/src/assets/images/components/medal/证书详情.png differ diff --git a/src/components/Guide/GuideDragon.vue b/src/components/Guide/GuideDragon.vue index dc28c23..ee87156 100644 --- a/src/components/Guide/GuideDragon.vue +++ b/src/components/Guide/GuideDragon.vue @@ -6,7 +6,10 @@ :style="{ backgroundImage: getBackgroundImage(IMAGE_PATHS.GUIDE_DRAGON_BG) }"> --> -
+
- - -
+
-
+
- 导学小龙 + 导学小龙
@@ -74,8 +80,6 @@ import { getStaticImage, getBackgroundImage, IMAGE_PATHS } from '@/utils' import { ImgButton } from '@/components/Button' interface Props { - /** 是否显示跳过按钮 */ - showSkip?: boolean /** 当前步骤 */ currentStep?: number /** 总步骤数 */ @@ -86,28 +90,16 @@ interface Props { interface Emits { (e: 'next'): void - (e: 'skip'): void - (e: 'complete'): void } const props = withDefaults(defineProps(), { - showSkip: true, currentStep: 1, totalSteps: 1, - positionOffsetY: '50%' + positionOffsetY: '50%', }) const emit = defineEmits() -// 处理跳过 -const handleSkip = () => { - try { - emit('skip') - } catch (error) { - console.error('GuideDragon handleSkip error:', error) - } -} - //继续 const handleContinue = () => { emit('next') @@ -122,7 +114,10 @@ const normalizeOffset = (value: number | string) => { const positionStyle = computed(() => { const y = normalizeOffset(props.positionOffsetY) // 百分比:按中心定位;px:按像素直接定位 - if (typeof props.positionOffsetY === 'string' && props.positionOffsetY.includes('%')) { + if ( + typeof props.positionOffsetY === 'string' && + props.positionOffsetY.includes('%') + ) { return { top: y, transform: 'translateY(-50%)' } } return { top: y, transform: 'translateY(0)' } @@ -169,13 +164,6 @@ const positionStyle = computed(() => { text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } -.skip-button { - @apply text-white text-sm underline hover:no-underline; - position: absolute; - right: 30px; - top: 35px; -} - .guide-content { @apply flex items-start pl-6 pt-9 pb-0 h-full; } @@ -235,7 +223,11 @@ const positionStyle = computed(() => { .dragon-glow { @apply absolute inset-0 rounded-full; - background: radial-gradient(circle, rgba(255, 255, 0, 0.2) 0%, transparent 70%); + background: radial-gradient( + circle, + rgba(255, 255, 0, 0.2) 0%, + transparent 70% + ); animation: glow 2s ease-in-out infinite alternate; } diff --git a/src/components/Guide/GuideSteps.vue b/src/components/Guide/GuideSteps.vue index be36d6c..cf6ebcc 100644 --- a/src/components/Guide/GuideSteps.vue +++ b/src/components/Guide/GuideSteps.vue @@ -16,13 +16,10 @@ :style="alignStyle" >