Fix:3217 【商城小程序】按如下顺序调整一下首页的新手指引提示顺序
This commit is contained in:
@@ -93,8 +93,6 @@
|
|||||||
},
|
},
|
||||||
next() {
|
next() {
|
||||||
this.throttle(() => {
|
this.throttle(() => {
|
||||||
console.log(this.functionGuideData.step, this.maxStep);
|
|
||||||
|
|
||||||
if (this.functionGuideData.step == this.maxStep) {
|
if (this.functionGuideData.step == this.maxStep) {
|
||||||
this.jump()
|
this.jump()
|
||||||
return
|
return
|
||||||
|
|||||||
+121
-118
@@ -556,8 +556,8 @@ export default {
|
|||||||
4: '/pkg_product/views/healthList',
|
4: '/pkg_product/views/healthList',
|
||||||
5: '/pkg_product/views/giftList',
|
5: '/pkg_product/views/giftList',
|
||||||
6: '/pkg_product/views/heritage',
|
6: '/pkg_product/views/heritage',
|
||||||
13: '/pkg_join/views/index',
|
7: '/pkg_join/views/index',
|
||||||
14: '/v4/views/attract/attract'
|
8: '/v4/views/attract/attract'
|
||||||
}
|
}
|
||||||
if(this.functionGuideData.step == 2) {
|
if(this.functionGuideData.step == 2) {
|
||||||
if(menusUrl.indexOf(urls[2]) < 0) {
|
if(menusUrl.indexOf(urls[2]) < 0) {
|
||||||
@@ -834,7 +834,119 @@ export default {
|
|||||||
}
|
}
|
||||||
return
|
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 = [
|
const imgs = [
|
||||||
{
|
{
|
||||||
url: this.webUrl + '/引导页素材/首页引导/Group7/Group 7-1.png',
|
url: this.webUrl + '/引导页素材/首页引导/Group7/Group 7-1.png',
|
||||||
@@ -868,7 +980,7 @@ export default {
|
|||||||
this.toEle('qianxian', imgs)
|
this.toEle('qianxian', imgs)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (this.functionGuideData.step == 8) {
|
if (this.functionGuideData.step == 10) {
|
||||||
const imgs = [
|
const imgs = [
|
||||||
{
|
{
|
||||||
url: this.webUrl + '/引导页素材/首页引导/Group8/Group 8-1.png',
|
url: this.webUrl + '/引导页素材/首页引导/Group8/Group 8-1.png',
|
||||||
@@ -916,7 +1028,7 @@ export default {
|
|||||||
this.toEle('dibiao', imgs)
|
this.toEle('dibiao', imgs)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (this.functionGuideData.step == 9) {
|
if (this.functionGuideData.step == 11) {
|
||||||
const imgs = [
|
const imgs = [
|
||||||
{
|
{
|
||||||
url: this.webUrl + '/引导页素材/首页引导/Group9/Group 9-1.png',
|
url: this.webUrl + '/引导页素材/首页引导/Group9/Group 9-1.png',
|
||||||
@@ -965,7 +1077,7 @@ export default {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
// top 140, buttom: 540
|
// top 140, buttom: 540
|
||||||
if(this.functionGuideData.step == 10) {
|
if(this.functionGuideData.step == 12) {
|
||||||
const imgs = [
|
const imgs = [
|
||||||
{
|
{
|
||||||
url: this.webUrl + '/引导页素材/首页引导/Group10/Group 10-1.png',
|
url: this.webUrl + '/引导页素材/首页引导/Group10/Group 10-1.png',
|
||||||
@@ -1025,7 +1137,7 @@ export default {
|
|||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (this.functionGuideData.step == 11) {
|
if (this.functionGuideData.step == 13) {
|
||||||
const imgs = [
|
const imgs = [
|
||||||
{
|
{
|
||||||
url: this.webUrl + '/引导页素材/首页引导/Group11/Group 11-1.png',
|
url: this.webUrl + '/引导页素材/首页引导/Group11/Group 11-1.png',
|
||||||
@@ -1074,7 +1186,7 @@ export default {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.functionGuideData.step == 12) {
|
if (this.functionGuideData.step == 14) {
|
||||||
const imgs = [
|
const imgs = [
|
||||||
{
|
{
|
||||||
url: this.webUrl + '/引导页素材/首页引导/Group12/Group 12-1.png',
|
url: this.webUrl + '/引导页素材/首页引导/Group12/Group 12-1.png',
|
||||||
@@ -1118,116 +1230,7 @@ export default {
|
|||||||
})
|
})
|
||||||
return
|
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
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user