From f3be58127885f31c7343d9689e5d754313b6d2e3 Mon Sep 17 00:00:00 2001 From: linxi Date: Fri, 17 Jan 2025 18:17:30 +0800 Subject: [PATCH] =?UTF-8?q?Task=EF=BC=9A=E6=8C=87=E5=BC=95=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/FunctionGuide.vue | 51 +- components/xdd-product-item/index.vue | 47 +- components/xdd-tabbar/index.vue | 10 + pages/home/index.vue | 769 +++++++++++++++++++++++--- 4 files changed, 798 insertions(+), 79 deletions(-) diff --git a/components/FunctionGuide.vue b/components/FunctionGuide.vue index 46bdabd..d78c799 100644 --- a/components/FunctionGuide.vue +++ b/components/FunctionGuide.vue @@ -1,14 +1,27 @@ @@ -25,7 +38,7 @@ type: Object, default: ()=> { return { - step: 0, + step: 2, tips: '', // 介绍 tipsPosition: '', // 介绍 显示位置 btnGroupPosition: '', // 按钮组显示位置 @@ -50,6 +63,17 @@ } }, methods: { + handleImg(img) { + if(!img.isBtn) return + if(img.isBtn === 'next') { + this.next() + return + } + if(img.isBtn === 'jump') { + this.jump() + return + } + }, init() { if (this.show) return setTimeout(() => { @@ -97,6 +121,15 @@