This commit is contained in:
wangyuxin
2026-04-20 16:21:51 +08:00
parent 1a70937fc0
commit 8af229f25b
4 changed files with 20 additions and 328 deletions

View File

@@ -162,8 +162,6 @@
uni.hideLoading();
this.goNext()
}, 2500);
}
}
})

View File

@@ -187,7 +187,7 @@
fail: () => {},
complete: () => {}
});
}else if(type.name == '水'||type.name == '电') {
} else if (type.name == '水' || type.name == '电') {
uni.redirectTo({
url: '/pages/payment-list/addHydropower',
success: res => {},
@@ -199,12 +199,24 @@
},
goBack() {
uni.switchTab({
url: '/pages/serviceIndex/serviceIndex',
success: res => {},
fail: () => {},
complete: () => {}
});
console.log(uni.getStorageSync('sourcePage'));
if (uni.getStorageSync('sourcePage') == 'serviceIndex') {
uni.switchTab({
url: '/pages/serviceIndex/serviceIndex',
success: res => {},
fail: () => {},
complete: () => {}
});
} else if (uni.getStorageSync('sourcePage') == 'index') {
uni.switchTab({
url: '/pages/index/index',
success: res => {},
fail: () => {},
complete: () => {}
});
}
uni.removeStorageSync('sourcePage');
},