修改问题
This commit is contained in:
@@ -27,7 +27,7 @@
|
|||||||
methods: {
|
methods: {
|
||||||
goNav() {
|
goNav() {
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index2'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -832,7 +832,7 @@ export default {
|
|||||||
content: '尊重他人劳动成功,请勿录屏!',
|
content: '尊重他人劳动成功,请勿录屏!',
|
||||||
complete() {
|
complete() {
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index2'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -2040,7 +2040,7 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
//否则跳转到首页
|
//否则跳转到首页
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index2'
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -89,7 +89,7 @@
|
|||||||
this.userInfo = res1.data
|
this.userInfo = res1.data
|
||||||
uni.setStorageSync('userInfo', res1.data)
|
uni.setStorageSync('userInfo', res1.data)
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url:'/pages/index/index'
|
url:'/pages/index/index2'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -174,7 +174,7 @@
|
|||||||
return this.init()
|
return this.init()
|
||||||
}
|
}
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index2'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -186,7 +186,7 @@
|
|||||||
return
|
return
|
||||||
uni.setStorageSync('first', false)
|
uni.setStorageSync('first', false)
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index2'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
popshow(){
|
popshow(){
|
||||||
@@ -216,7 +216,7 @@
|
|||||||
iKnow() {
|
iKnow() {
|
||||||
uni.setStorageSync('first', false)
|
uni.setStorageSync('first', false)
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index2'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -154,7 +154,7 @@
|
|||||||
if(res.code==200){
|
if(res.code==200){
|
||||||
this.timer=setTimeout(()=>{
|
this.timer=setTimeout(()=>{
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url:'/pages/index/index'
|
url:'/pages/index/index2'
|
||||||
})
|
})
|
||||||
},1000)
|
},1000)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -240,7 +240,7 @@
|
|||||||
},
|
},
|
||||||
onShareAppMessage(res) {
|
onShareAppMessage(res) {
|
||||||
return {
|
return {
|
||||||
path: '/pages/index/index?invitation=' + this.invitationCode + '&qdCode=' + this
|
path: '/pages/index/index2?invitation=' + this.invitationCode + '&qdCode=' + this
|
||||||
.qdCode, //这是为了传参 onload(data){let id=data.id;}
|
.qdCode, //这是为了传参 onload(data){let id=data.id;}
|
||||||
title: this.tuiguang,
|
title: this.tuiguang,
|
||||||
imageUrl: this.bgImgs
|
imageUrl: this.bgImgs
|
||||||
@@ -248,7 +248,7 @@
|
|||||||
},
|
},
|
||||||
onShareTimeline(res) {
|
onShareTimeline(res) {
|
||||||
return {
|
return {
|
||||||
path: '/pages/index/index?invitation=' + this.invitationCode + '&qdCode=' + this
|
path: '/pages/index/index2?invitation=' + this.invitationCode + '&qdCode=' + this
|
||||||
.qdCode, //这是为了传参 onload(data){let id=data.id;}
|
.qdCode, //这是为了传参 onload(data){let id=data.id;}
|
||||||
title: this.tuiguang,
|
title: this.tuiguang,
|
||||||
imageUrl: this.bgImgs
|
imageUrl: this.bgImgs
|
||||||
@@ -298,7 +298,7 @@
|
|||||||
uni.downloadFile({
|
uni.downloadFile({
|
||||||
url: config.APIHOST +
|
url: config.APIHOST +
|
||||||
'/app/invite/dyCreateQr?invitationCode=' + that
|
'/app/invite/dyCreateQr?invitationCode=' + that
|
||||||
.invitationCode + ',' + that.qdCode + '&page=/pages/index/index',
|
.invitationCode + ',' + that.qdCode + '&page=/pages/index/index2',
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
if (res.statusCode === 200) {
|
if (res.statusCode === 200) {
|
||||||
|
|||||||
@@ -155,7 +155,7 @@
|
|||||||
},
|
},
|
||||||
onShareAppMessage(res) {
|
onShareAppMessage(res) {
|
||||||
return {
|
return {
|
||||||
path: '/pages/index/index?invitation=' + this.invitationCode + '&qdCode=' + this
|
path: '/pages/index/index2?invitation=' + this.invitationCode + '&qdCode=' + this
|
||||||
.qdCode, //这是为了传参 onload(data){let id=data.id;}
|
.qdCode, //这是为了传参 onload(data){let id=data.id;}
|
||||||
title: this.tuiguang,
|
title: this.tuiguang,
|
||||||
imageUrl: this.bgImg
|
imageUrl: this.bgImg
|
||||||
@@ -163,7 +163,7 @@
|
|||||||
},
|
},
|
||||||
onShareTimeline(res) {
|
onShareTimeline(res) {
|
||||||
return {
|
return {
|
||||||
path: '/pages/index/index?invitation=' + this.invitationCode + '&qdCode=' + this
|
path: '/pages/index/index2?invitation=' + this.invitationCode + '&qdCode=' + this
|
||||||
.qdCode, //这是为了传参 onload(data){let id=data.id;}
|
.qdCode, //这是为了传参 onload(data){let id=data.id;}
|
||||||
title: this.tuiguang,
|
title: this.tuiguang,
|
||||||
imageUrl: this.bgImg
|
imageUrl: this.bgImg
|
||||||
@@ -222,7 +222,7 @@
|
|||||||
uni.downloadFile({
|
uni.downloadFile({
|
||||||
url: config.APIHOST +
|
url: config.APIHOST +
|
||||||
'/app/invite/dyCreateQr?invitationCode=' + that
|
'/app/invite/dyCreateQr?invitationCode=' + that
|
||||||
.invitationCode + ',' + that.qdCode + '&page=/pages/index/index',
|
.invitationCode + ',' + that.qdCode + '&page=/pages/index/index2',
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
if (res.statusCode === 200) {
|
if (res.statusCode === 200) {
|
||||||
|
|||||||
@@ -220,7 +220,7 @@
|
|||||||
},
|
},
|
||||||
onShareAppMessage(res) {
|
onShareAppMessage(res) {
|
||||||
return {
|
return {
|
||||||
path: '/pages/index/index?invitation=' + this.invitationCode + '&qdCode=' + this
|
path: '/pages/index/index2?invitation=' + this.invitationCode + '&qdCode=' + this
|
||||||
.qdCode, //这是为了传参 onload(data){let id=data.id;}
|
.qdCode, //这是为了传参 onload(data){let id=data.id;}
|
||||||
title: this.tuiguang,
|
title: this.tuiguang,
|
||||||
imageUrl: this.bgImg
|
imageUrl: this.bgImg
|
||||||
@@ -228,7 +228,7 @@
|
|||||||
},
|
},
|
||||||
onShareTimeline(res) {
|
onShareTimeline(res) {
|
||||||
return {
|
return {
|
||||||
path: '/pages/index/index?invitation=' + this.invitationCode + '&qdCode=' + this
|
path: '/pages/index/index2?invitation=' + this.invitationCode + '&qdCode=' + this
|
||||||
.qdCode, //这是为了传参 onload(data){let id=data.id;}
|
.qdCode, //这是为了传参 onload(data){let id=data.id;}
|
||||||
title: this.tuiguang,
|
title: this.tuiguang,
|
||||||
imageUrl: this.bgImg
|
imageUrl: this.bgImg
|
||||||
@@ -297,7 +297,7 @@
|
|||||||
uni.downloadFile({
|
uni.downloadFile({
|
||||||
url: config.APIHOST +
|
url: config.APIHOST +
|
||||||
'/app/invite/dyCreateQr?invitationCode=' + that
|
'/app/invite/dyCreateQr?invitationCode=' + that
|
||||||
.invitationCode + ',' + that.qdCode + '&page=/pages/index/index',
|
.invitationCode + ',' + that.qdCode + '&page=/pages/index/index2',
|
||||||
success: (res) => {
|
success: (res) => {
|
||||||
console.log(res)
|
console.log(res)
|
||||||
if (res.statusCode === 200) {
|
if (res.statusCode === 200) {
|
||||||
|
|||||||
@@ -306,7 +306,6 @@ export default {
|
|||||||
let token = that.token
|
let token = that.token
|
||||||
let userId = that.userId
|
let userId = that.userId
|
||||||
let cashMoney = that.cashMoney;
|
let cashMoney = that.cashMoney;
|
||||||
console.log('tixian');
|
|
||||||
if (token) {
|
if (token) {
|
||||||
if (that.aliZhiFuBao && that.aliZhiFuBaoName) {
|
if (that.aliZhiFuBao && that.aliZhiFuBaoName) {
|
||||||
if (!/^\d+(\.\d{1,2})?$/.test(that.money)) {
|
if (!/^\d+(\.\d{1,2})?$/.test(that.money)) {
|
||||||
@@ -368,9 +367,8 @@ export default {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
uni.navigateTo({
|
console.log(that.aliZhiFuBao,that.aliZhiFuBaoName,'tixian');
|
||||||
url: "/me/yaoqing/aliZhiFuBao"
|
this.ymfgoaliZhiFuBao()
|
||||||
})
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
|
|||||||
@@ -132,7 +132,7 @@
|
|||||||
//返回值:arg1乘以arg2的精确结果
|
//返回值:arg1乘以arg2的精确结果
|
||||||
enter(){
|
enter(){
|
||||||
uni.reLaunch({
|
uni.reLaunch({
|
||||||
url:'/pages/index/index'
|
url:'/pages/index/index2'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
init(){
|
init(){
|
||||||
|
|||||||
@@ -195,7 +195,7 @@
|
|||||||
},
|
},
|
||||||
onShareAppMessage(res) {
|
onShareAppMessage(res) {
|
||||||
return {
|
return {
|
||||||
path: '/pages/index/index?invitation=' + this.invitationCode + '&qdCode=' + this
|
path: '/pages/index/index2?invitation=' + this.invitationCode + '&qdCode=' + this
|
||||||
.qdCode, //这是为了传参 onload(data){let id=data.id;}
|
.qdCode, //这是为了传参 onload(data){let id=data.id;}
|
||||||
title: this.tuiguang,
|
title: this.tuiguang,
|
||||||
imageUrl: this.bgImg
|
imageUrl: this.bgImg
|
||||||
@@ -203,7 +203,7 @@
|
|||||||
},
|
},
|
||||||
onShareTimeline(res) {
|
onShareTimeline(res) {
|
||||||
return {
|
return {
|
||||||
path: '/pages/index/index?invitation=' + this.invitationCode + '&qdCode=' + this
|
path: '/pages/index/index2?invitation=' + this.invitationCode + '&qdCode=' + this
|
||||||
.qdCode, //这是为了传参 onload(data){let id=data.id;}
|
.qdCode, //这是为了传参 onload(data){let id=data.id;}
|
||||||
title: this.tuiguang,
|
title: this.tuiguang,
|
||||||
imageUrl: this.bgImg
|
imageUrl: this.bgImg
|
||||||
|
|||||||
@@ -268,7 +268,7 @@
|
|||||||
},
|
},
|
||||||
onShareAppMessage(res) {
|
onShareAppMessage(res) {
|
||||||
return {
|
return {
|
||||||
path: '/pages/index/index?invitation=' + this.invitationCode + '&qdCode=' + this
|
path: '/pages/index/index2?invitation=' + this.invitationCode + '&qdCode=' + this
|
||||||
.qdCode, //这是为了传参 onload(data){let id=data.id;}
|
.qdCode, //这是为了传参 onload(data){let id=data.id;}
|
||||||
title: this.tuiguang,
|
title: this.tuiguang,
|
||||||
imageUrl: this.bgImg
|
imageUrl: this.bgImg
|
||||||
@@ -276,7 +276,7 @@
|
|||||||
},
|
},
|
||||||
onShareTimeline(res) {
|
onShareTimeline(res) {
|
||||||
return {
|
return {
|
||||||
path: '/pages/index/index?invitation=' + this.invitationCode + '&qdCode=' + this
|
path: '/pages/index/index2?invitation=' + this.invitationCode + '&qdCode=' + this
|
||||||
.qdCode, //这是为了传参 onload(data){let id=data.id;}
|
.qdCode, //这是为了传参 onload(data){let id=data.id;}
|
||||||
title: this.tuiguang,
|
title: this.tuiguang,
|
||||||
imageUrl: this.bgImg
|
imageUrl: this.bgImg
|
||||||
|
|||||||
@@ -132,7 +132,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index2'
|
||||||
})
|
})
|
||||||
// window.location.href = res.data.value;
|
// window.location.href = res.data.value;
|
||||||
// #endif
|
// #endif
|
||||||
|
|||||||
@@ -215,7 +215,7 @@
|
|||||||
this.$queue.setData("token", res.token);
|
this.$queue.setData("token", res.token);
|
||||||
this.$queue.setData("userId", res.user.userId);
|
this.$queue.setData("userId", res.user.userId);
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index2'
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
_this.isRotate = false;
|
_this.isRotate = false;
|
||||||
@@ -245,7 +245,7 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index2'
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
|
|||||||
@@ -186,7 +186,7 @@
|
|||||||
that.$queue.setData('token', res.token);
|
that.$queue.setData('token', res.token);
|
||||||
that.$queue.setData('userId', res.user.userId);
|
that.$queue.setData('userId', res.user.userId);
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index2'
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
@@ -307,7 +307,7 @@
|
|||||||
console.log(ress.user.userId)
|
console.log(ress.user.userId)
|
||||||
console.log(ress.token)
|
console.log(ress.token)
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index2'
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
@@ -354,7 +354,7 @@
|
|||||||
that.$queue.setData('userId', res.user
|
that.$queue.setData('userId', res.user
|
||||||
.userId);
|
.userId);
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index2'
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
@@ -446,7 +446,7 @@
|
|||||||
this.$queue.setData("invitationCode", res.user.invitationCode);
|
this.$queue.setData("invitationCode", res.user.invitationCode);
|
||||||
this.$queue.setData("inviterCode", res.user.inviterCode);
|
this.$queue.setData("inviterCode", res.user.inviterCode);
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index2'
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
@@ -498,7 +498,7 @@
|
|||||||
this.$queue.setData("inviterCode", res.user
|
this.$queue.setData("inviterCode", res.user
|
||||||
.inviterCode);
|
.inviterCode);
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index2'
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
@@ -526,7 +526,7 @@
|
|||||||
this.$queue.setData("invitationCode", res.user.invitationCode);
|
this.$queue.setData("invitationCode", res.user.invitationCode);
|
||||||
this.$queue.setData("inviterCode", res.user.inviterCode);
|
this.$queue.setData("inviterCode", res.user.inviterCode);
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index2'
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
@@ -977,7 +977,7 @@
|
|||||||
})
|
})
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index2'
|
||||||
});
|
});
|
||||||
}, 1000)
|
}, 1000)
|
||||||
|
|
||||||
|
|||||||
@@ -188,7 +188,7 @@
|
|||||||
this.$queue.setData("token", res.token);
|
this.$queue.setData("token", res.token);
|
||||||
this.$queue.setData("userId", res.user.userId);
|
this.$queue.setData("userId", res.user.userId);
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index2'
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
_this.isRotate = false;
|
_this.isRotate = false;
|
||||||
@@ -218,7 +218,7 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index2'
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
|
|||||||
@@ -308,7 +308,7 @@
|
|||||||
// this.$queue.setData('nickName', res.data.nickName ? res.data.nickName : res.data.phone);
|
// this.$queue.setData('nickName', res.data.nickName ? res.data.nickName : res.data.phone);
|
||||||
// this.$queue.setData('gender', parseInt(res.data.gender));
|
// this.$queue.setData('gender', parseInt(res.data.gender));
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index2'
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
|
|||||||
@@ -314,7 +314,7 @@
|
|||||||
// this.$queue.setData('nickName', res.data.nickName ? res.data.nickName : res.data.phone);
|
// this.$queue.setData('nickName', res.data.nickName ? res.data.nickName : res.data.phone);
|
||||||
// this.$queue.setData('gender', parseInt(res.data.gender));
|
// this.$queue.setData('gender', parseInt(res.data.gender));
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index2'
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
|
|||||||
@@ -224,7 +224,7 @@
|
|||||||
this.$queue.setData("token", res.token);
|
this.$queue.setData("token", res.token);
|
||||||
this.$queue.setData("userId", res.user.userId);
|
this.$queue.setData("userId", res.user.userId);
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index2'
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
_this.isRotate = false;
|
_this.isRotate = false;
|
||||||
@@ -254,7 +254,7 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
uni.switchTab({
|
uni.switchTab({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index2'
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
uni.showModal({
|
uni.showModal({
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<!-- <u-navbar :background="background" :is-back="isBack" :title="title" :border-bottom="false">
|
<!-- <u-navbar :background="background" :is-back="isBack" :title="title" :border-bottom="false">
|
||||||
</u-navbar> -->
|
</u-navbar> -->
|
||||||
<!-- 登录信息 -->
|
<!-- 登录信息 -->
|
||||||
<view class="info " style="padding: 20rpx;">
|
<view class="info " style="padding: 20rpx;padding-top: 120rpx;">
|
||||||
<view
|
<view
|
||||||
style="background-color: #f5f1f1;padding: 20rpx; display: flex;align-items: center;justify-content: space-between;"
|
style="background-color: #f5f1f1;padding: 20rpx; display: flex;align-items: center;justify-content: space-between;"
|
||||||
class="">
|
class="">
|
||||||
|
|||||||
@@ -319,7 +319,7 @@
|
|||||||
this.taskReceive(item.id)
|
this.taskReceive(item.id)
|
||||||
} else {
|
} else {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index2'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
} else if (item.jumpType == 1) {
|
} else if (item.jumpType == 1) {
|
||||||
@@ -338,7 +338,7 @@
|
|||||||
})
|
})
|
||||||
} else if (item.jumpType == 3) {
|
} else if (item.jumpType == 3) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index2'
|
||||||
})
|
})
|
||||||
} else if (item.jumpType == 2) {
|
} else if (item.jumpType == 2) {
|
||||||
plus.runtime.openURL(buttonUrl)
|
plus.runtime.openURL(buttonUrl)
|
||||||
@@ -365,7 +365,7 @@
|
|||||||
}, 1000)
|
}, 1000)
|
||||||
} else {
|
} else {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index2'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -251,9 +251,9 @@
|
|||||||
const pages = getCurrentPages()
|
const pages = getCurrentPages()
|
||||||
if (pages && pages.length > 0) {
|
if (pages && pages.length > 0) {
|
||||||
const firstPage = pages[0]
|
const firstPage = pages[0]
|
||||||
if (pages.length == 1 && (!firstPage.route || firstPage.route != 'pages/index/index')) {
|
if (pages.length == 1 && (!firstPage.route || firstPage.route != 'pages/index/index2')) {
|
||||||
uni.reLaunch({
|
uni.reLaunch({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index2'
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
uni.navigateBack({
|
uni.navigateBack({
|
||||||
@@ -262,7 +262,7 @@
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
uni.reLaunch({
|
uni.reLaunch({
|
||||||
url: '/pages/index/index'
|
url: '/pages/index/index2'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user