优化底部按钮的距离

This commit is contained in:
duan
2024-05-30 14:06:31 +08:00
parent 63d85521eb
commit a627b9b6ab
2 changed files with 18 additions and 24 deletions

View File

@@ -16,10 +16,10 @@ const baseUrl = debug ? proxyApi : "https://wxcashiertest.sxczgkj.cn/cashierServ
const baseUrlwws = 'ws://cashier.sxczgkj.cn/cashierService' const baseUrlwws = 'ws://cashier.sxczgkj.cn/cashierService'
// #endif // #endif
// #ifdef APP || MP-WEIXIN // #ifdef APP || MP-WEIXIN
const baseUrl = debug ? proxyApi : 'https://cashier.sxczgkj.cn/cashierService'// 线上 // const baseUrl = debug ? proxyApi : 'https://cashier.sxczgkj.cn/cashierService'// 线上
const baseUrlwws = debug ? proxyApiwws : 'wss://cashier.sxczgkj.cn/cashierService' // 线上 // const baseUrlwws = debug ? proxyApiwws : 'wss://cashier.sxczgkj.cn/cashierService' // 线上
// const baseUrl = 'https://wxcashiertest.sxczgkj.cn/cashierService'// 测试 const baseUrl = 'https://wxcashiertest.sxczgkj.cn/cashierService'// 测试
// const baseUrlwws ='wss://wxcashiertest.sxczgkj.cn/cashierService' // 测试 const baseUrlwws ='wss://wxcashiertest.sxczgkj.cn/cashierService' // 测试
// #endif // #endif
// import VConsole from "./vConsole.js" // import VConsole from "./vConsole.js"

View File

@@ -408,17 +408,13 @@
uni.cache.set('shopUser', '') //删除shopUser uni.cache.set('shopUser', '') //删除shopUser
this.paymodfiyOrderInfo() this.paymodfiyOrderInfo()
setTimeout(res => { setTimeout(res => {
// uni.redirectTo({
// url: '/pages/order/successful?orderId=' + this
// .listinfoid + '&orderInfo=' + JSON.stringify(
// this.orderInfo) + '&radiovalue1=' + this
// .radiovalue1
// });
uni.redirectTo({ uni.redirectTo({
url: '/pages/order/order_detail?orderId=' + this url: '/pages/order/successful?orderId=' + this
.listinfo.id .listinfoid + '&orderInfo=' + JSON.stringify(
this.orderInfo) + '&radiovalue1=' + this
.radiovalue1
}); });
}, 500) }, 1000)
// uni.redirectTo({ // uni.redirectTo({
// url: "/pages/mall/order/ordersuccess?id=" + datareslane.data // url: "/pages/mall/order/ordersuccess?id=" + datareslane.data
// .order_id, // .order_id,
@@ -455,17 +451,13 @@
title: '支付成功', title: '支付成功',
success: () => { success: () => {
setTimeout(res => { setTimeout(res => {
// uni.redirectTo({
// url: '/pages/order/successful?orderId=' + this
// .listinfoid + '&orderInfo=' + JSON.stringify(
// this.orderInfo) + '&radiovalue1=' + this
// .radiovalue1
// });
uni.redirectTo({ uni.redirectTo({
url: '/pages/order/order_detail?orderId=' + this url: '/pages/order/successful?orderId=' + this
.listinfo.id .listinfoid + '&orderInfo=' + JSON.stringify(
this.orderInfo) + '&radiovalue1=' + this
.radiovalue1
}); });
}, 500) }, 1000)
} }
@@ -726,6 +718,8 @@
bottom: 0; bottom: 0;
left: 0; left: 0;
width: 100%; width: 100%;
height: 180rpx;
padding: 16rpx 34rpx;
.flex-between { .flex-between {
width: 100%; width: 100%;