首页样式修改

This commit is contained in:
@fawn-nine
2024-05-23 15:31:35 +08:00
parent edf80bea28
commit dbc2f863c3
5 changed files with 348 additions and 318 deletions

View File

@@ -635,7 +635,8 @@
orderStatus: 0, //订单状态
productList: xiaBiao, //订单列表商品
orderType: "order", //订单类型
addressId: this.adressMoRen.id // 地址ID
addressId: this.adressMoRen.id, // 地址ID
jfDeduction:0,//积分抵扣
}
$http.request({
// url: "book/buyOrder/buySave",
@@ -673,9 +674,9 @@
title: "支付成功"
});
setTimeout(() => {
uni.switchTab({
url: './orderList'
});
uni.navigateTo({
url: '/pages/bookShop/orderList'
});
// uni.navigateTo({
// url: './orderList'
// });
@@ -707,9 +708,9 @@
title: "支付成功"
});
setTimeout(() => {
uni.switchTab({
url: './orderList'
});
uni.navigateTo({
url: '/pages/bookShop/orderList'
});
}, 1000)
} else {
console.log(res)
@@ -732,12 +733,12 @@
// 天医币支付
uni.showToast({
title: "购买成功",
icon: "success"
icon: "success"
});
setTimeout(() => {
uni.switchTab({
url: './orderList'
});
uni.navigateTo({
url: '/pages/bookShop/orderList'
});
}, 1000)
}
}

View File

@@ -661,9 +661,9 @@
title: "支付成功"
});
setTimeout(() => {
uni.switchTab({
url: './orderList'
});
uni.navigateTo({
url: '/pages/bookShop/orderList'
});
// uni.navigateTo({
// url: './orderList'
// });
@@ -695,9 +695,9 @@
title: "支付成功"
});
setTimeout(() => {
uni.switchTab({
url: './orderList'
});
uni.navigateTo({
url: '/pages/bookShop/orderList'
});
}, 1000)
} else {
console.log(res)
@@ -718,14 +718,15 @@
})
}else if(this.payType == 4){
// 天医币支付
// console.log('到这里--------',res)
uni.showToast({
title: "购买成功",
icon: "success"
});
setTimeout(() => {
uni.switchTab({
url: './orderList'
});
uni.navigateTo({
url: '/pages/bookShop/orderList'
});
}, 1000)
}
}