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 @@