修改
This commit is contained in:
parent
468e1e154c
commit
f10a3eead1
104
page_user/yj.vue
104
page_user/yj.vue
|
@ -412,8 +412,8 @@
|
||||||
money: this.areaInfo.deposit,
|
money: this.areaInfo.deposit,
|
||||||
mark: "押金充值",
|
mark: "押金充值",
|
||||||
type: '4',
|
type: '4',
|
||||||
areaId: id
|
areaId: id,
|
||||||
|
platform: "2" // 2 是支付宝
|
||||||
|
|
||||||
}
|
}
|
||||||
let that = this
|
let that = this
|
||||||
|
@ -422,13 +422,8 @@
|
||||||
// this.freList=res.rows
|
// this.freList=res.rows
|
||||||
let orderNo = res.data.orderNo
|
let orderNo = res.data.orderNo
|
||||||
this.orderNo = res.data.orderNo
|
this.orderNo = res.data.orderNo
|
||||||
uni.requestPayment({
|
my.tradePay ({
|
||||||
provider: 'wxpay',
|
tradeNO: res.data.tradeNO,
|
||||||
timeStamp: res.data.timeStamp,
|
|
||||||
nonceStr: res.data.nonceStr,
|
|
||||||
package: res.data.packageVal,
|
|
||||||
signType: res.data.signType,
|
|
||||||
paySign: res.data.paySign,
|
|
||||||
success(res) {
|
success(res) {
|
||||||
// 支付成功逻辑
|
// 支付成功逻辑
|
||||||
// uni.showLoading({
|
// uni.showLoading({
|
||||||
|
@ -480,6 +475,8 @@
|
||||||
|
|
||||||
},
|
},
|
||||||
fail(err) {
|
fail(err) {
|
||||||
|
console.log(err,'err');
|
||||||
|
|
||||||
that.ispaid = false
|
that.ispaid = false
|
||||||
// 支付失败逻辑
|
// 支付失败逻辑
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
|
@ -781,60 +778,53 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.tip_box {
|
.tip_box {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 72rpx;
|
left: 72rpx;
|
||||||
top: 628rpx;
|
top: 50%;
|
||||||
width: 610rpx;
|
transform: translateY(-50%);
|
||||||
height: 282rpx;
|
width: 610rpx;
|
||||||
background: #FFFFFF;
|
background: #FFFFFF;
|
||||||
border-radius: 30rpx 30rpx 30rpx 30rpx;
|
border-radius: 30rpx;
|
||||||
z-index: 110;
|
z-index: 110;
|
||||||
|
overflow: hidden;
|
||||||
|
|
||||||
.top {
|
.top {
|
||||||
padding: 52rpx 38rpx 42rpx 36rpx;
|
padding: 52rpx 38rpx 42rpx 36rpx;
|
||||||
|
|
||||||
.txt {
|
.txt {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
color: #3D3D3D;
|
color: #3D3D3D;
|
||||||
}
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.bot {
|
.bot {
|
||||||
border-top: 2rpx solid #D8D8D8;
|
display: flex;
|
||||||
display: flex;
|
border-top: 2rpx solid #D8D8D8;
|
||||||
flex-wrap: nowrap;
|
|
||||||
height: 100%;
|
|
||||||
|
|
||||||
.bot_left {
|
.bot_left, .bot_right {
|
||||||
width: 50%;
|
flex: 1;
|
||||||
height: 98rpx;
|
height: 98rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-size: 36rpx;
|
font-size: 36rpx;
|
||||||
color: #3D3D3D;
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.bot_right {
|
.bot_left {
|
||||||
width: 50%;
|
color: #3D3D3D;
|
||||||
height: 98rpx;
|
}
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
|
|
||||||
border-left: 2rpx solid #D8D8D8;
|
.bot_right {
|
||||||
font-weight: 500;
|
color: #1E807A;
|
||||||
font-size: 36rpx;
|
border-left: 2rpx solid #D8D8D8;
|
||||||
color: #1E807A;
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.card2 {
|
.card2 {
|
||||||
margin: 30rpx auto;
|
margin: 30rpx auto;
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user