From 6a66405a2fd054c17ef7e313d39015d3b61ebc05 Mon Sep 17 00:00:00 2001 From: linxi Date: Wed, 12 Feb 2025 18:19:59 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A3217=20=E3=80=90=E5=95=86=E5=9F=8E?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E6=8C=89=E5=A6=82=E4=B8=8B?= =?UTF-8?q?=E9=A1=BA=E5=BA=8F=E8=B0=83=E6=95=B4=E4=B8=80=E4=B8=8B=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E7=9A=84=E6=96=B0=E6=89=8B=E6=8C=87=E5=BC=95=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/FunctionGuide.vue | 2 - pages/home/index.vue | 239 ++++++++++++++++++----------------- 2 files changed, 121 insertions(+), 120 deletions(-) diff --git a/components/FunctionGuide.vue b/components/FunctionGuide.vue index c24e4ef..08dfffa 100644 --- a/components/FunctionGuide.vue +++ b/components/FunctionGuide.vue @@ -93,8 +93,6 @@ }, next() { this.throttle(() => { - console.log(this.functionGuideData.step, this.maxStep); - if (this.functionGuideData.step == this.maxStep) { this.jump() return diff --git a/pages/home/index.vue b/pages/home/index.vue index 6330410..ebce81a 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -556,8 +556,8 @@ export default { 4: '/pkg_product/views/healthList', 5: '/pkg_product/views/giftList', 6: '/pkg_product/views/heritage', - 13: '/pkg_join/views/index', - 14: '/v4/views/attract/attract' + 7: '/pkg_join/views/index', + 8: '/v4/views/attract/attract' } if(this.functionGuideData.step == 2) { if(menusUrl.indexOf(urls[2]) < 0) { @@ -834,7 +834,119 @@ export default { } return } - if (this.functionGuideData.step == 7) { + // 7 商户, 8 招商 + if(this.functionGuideData.step == 7) { + if(menusUrl.indexOf(urls[7]) < 0) { + this.$refs.FunctionGuide.next() + return + } + if(menusUrl.indexOf(urls[7]) > -1) { + const imgs = [ + { + url: this.webUrl + '/引导页素材/首页引导/Group13/Group 13-1.png', + style:{ + position: 'absolute', + zIndex: 99, + width: 291.5*2+'rpx', + top: 280*2+'rpx', + left: 10*2+'rpx', + right: 0, + margin: 'auto', + height: 116.5*2+'rpx', + }, + isBtn: false + }, + { + url: this.webUrl + '/引导页素材/首页引导/Group13/Group 13-2.png', + style:{ + position: 'absolute', + zIndex: 99, + width: '117rpx', + top: 213*2+'rpx', + left: -280*2+'rpx', + right: 0, + margin: 'auto', + height: '46rpx', + }, + isBtn: 'jump' + }, + { + url: this.webUrl + '/引导页素材/首页引导/Group13/Group 13-3.png', + style:{ + position: 'absolute', + zIndex: 99, + width: '117rpx', + top: 213*2+'rpx', + left: -150*2+'rpx', + right: 0, + margin: 'auto', + height: '46rpx', + }, + isBtn: 'next' + }, + ] + const index = menusUrl.indexOf(urls[7]) + this.toEle('box-item' + index, imgs) + } + return + } + if(this.functionGuideData.step == 8) { + console.log(menusUrl.indexOf(urls[8]),this.functionGuideData.step); + if(menusUrl.indexOf(urls[8]) < 0) { + this.$refs.FunctionGuide.next() + return + } + if(menusUrl.indexOf(urls[8]) > -1) { + const imgs = [ + { + url: this.webUrl + '/引导页素材/首页引导/Group14/Group 14-1.png', + style:{ + position: 'absolute', + zIndex: 99, + width: '539rpx', + top: 80*2+'rpx', + left: 100*2+'rpx', + right: 0, + margin: 'auto', + height: '265rpx', + }, + isBtn: false + }, + { + url: this.webUrl + '/引导页素材/首页引导/Group14/Group 14-2.png', + style:{ + position: 'absolute', + zIndex: 99, + width: '117rpx', + top: 213*2+'rpx', + left: 150*2+'rpx', + right: 0, + margin: 'auto', + height: '46rpx', + }, + isBtn: 'next' + }, + { + url: this.webUrl + '/引导页素材/首页引导/Group14/Group 14-3.png', + style:{ + position: 'absolute', + zIndex: 99, + width: '117rpx', + top: 213*2+'rpx', + left: 10*2+'rpx', + right: 0, + margin: 'auto', + height: '46rpx', + }, + isBtn: 'jump' + }, + ] + const index = menusUrl.indexOf(urls[8]) + this.toEle('box-item' + index, imgs) + } + return + } + if (this.functionGuideData.step == 9) { const imgs = [ { url: this.webUrl + '/引导页素材/首页引导/Group7/Group 7-1.png', @@ -868,7 +980,7 @@ export default { this.toEle('qianxian', imgs) return } - if (this.functionGuideData.step == 8) { + if (this.functionGuideData.step == 10) { const imgs = [ { url: this.webUrl + '/引导页素材/首页引导/Group8/Group 8-1.png', @@ -916,7 +1028,7 @@ export default { this.toEle('dibiao', imgs) return } - if (this.functionGuideData.step == 9) { + if (this.functionGuideData.step == 11) { const imgs = [ { url: this.webUrl + '/引导页素材/首页引导/Group9/Group 9-1.png', @@ -965,7 +1077,7 @@ export default { return } // top 140, buttom: 540 - if(this.functionGuideData.step == 10) { + if(this.functionGuideData.step == 12) { const imgs = [ { url: this.webUrl + '/引导页素材/首页引导/Group10/Group 10-1.png', @@ -1025,7 +1137,7 @@ export default { }) return } - if (this.functionGuideData.step == 11) { + if (this.functionGuideData.step == 13) { const imgs = [ { url: this.webUrl + '/引导页素材/首页引导/Group11/Group 11-1.png', @@ -1074,7 +1186,7 @@ export default { return } - if (this.functionGuideData.step == 12) { + if (this.functionGuideData.step == 14) { const imgs = [ { url: this.webUrl + '/引导页素材/首页引导/Group12/Group 12-1.png', @@ -1118,116 +1230,7 @@ export default { }) return } - if(this.functionGuideData.step == 13) { - if(menusUrl.indexOf(urls[13]) < 0) { - this.$refs.FunctionGuide.next() - return - } - if(menusUrl.indexOf(urls[13]) > -1) { - const imgs = [ - { - url: this.webUrl + '/引导页素材/首页引导/Group13/Group 13-1.png', - style:{ - position: 'absolute', - zIndex: 99, - width: 291.5*2+'rpx', - top: 280*2+'rpx', - left: 10*2+'rpx', - right: 0, - margin: 'auto', - height: 116.5*2+'rpx', - }, - isBtn: false - }, - { - url: this.webUrl + '/引导页素材/首页引导/Group13/Group 13-2.png', - style:{ - position: 'absolute', - zIndex: 99, - width: '117rpx', - top: 213*2+'rpx', - left: -280*2+'rpx', - right: 0, - margin: 'auto', - height: '46rpx', - }, - isBtn: 'jump' - }, - { - url: this.webUrl + '/引导页素材/首页引导/Group13/Group 13-3.png', - style:{ - position: 'absolute', - zIndex: 99, - width: '117rpx', - top: 213*2+'rpx', - left: -150*2+'rpx', - right: 0, - margin: 'auto', - height: '46rpx', - }, - isBtn: 'next' - }, - ] - const index = menusUrl.indexOf(urls[13]) - this.toEle('box-item' + index, imgs) - } - return - } - if(this.functionGuideData.step == 14) { - if(menusUrl.indexOf(urls[14]) < 0) { - this.$refs.FunctionGuide.next() - return - } - if(menusUrl.indexOf(urls[14]) > -1) { - const imgs = [ - { - url: this.webUrl + '/引导页素材/首页引导/Group14/Group 14-1.png', - style:{ - position: 'absolute', - zIndex: 99, - width: '539rpx', - top: 80*2+'rpx', - left: 100*2+'rpx', - right: 0, - margin: 'auto', - height: '265rpx', - }, - isBtn: false - }, - { - url: this.webUrl + '/引导页素材/首页引导/Group14/Group 14-2.png', - style:{ - position: 'absolute', - zIndex: 99, - width: '117rpx', - top: 213*2+'rpx', - left: 150*2+'rpx', - right: 0, - margin: 'auto', - height: '46rpx', - }, - isBtn: 'jump' - }, - { - url: this.webUrl + '/引导页素材/首页引导/Group14/Group 14-3.png', - style:{ - position: 'absolute', - zIndex: 99, - width: '117rpx', - top: 213*2+'rpx', - left: 10*2+'rpx', - right: 0, - margin: 'auto', - height: '46rpx', - }, - isBtn: 'next' - }, - ] - const index = menusUrl.indexOf(urls[14]) - this.toEle('box-item' + index, imgs) - } - return - } + } },