下单页面调整,确认订单页面调整

This commit is contained in:
2025-04-28 11:29:32 +08:00
parent 94cc918357
commit 7c182023a5
39 changed files with 5725 additions and 275 deletions

16
utils/uniapp.js Normal file
View File

@@ -0,0 +1,16 @@
export const back=()=>{
console.log('back');
try {
const arr= getCurrentPages()
if(arr.length>=2){
return uni.navigateBack()
}else{
uni.reLaunch({
url:'/pages/index/index'
})
}
} catch (error) {
console.error('页面返回出错',error)
//TODO handle the exception
}
}