Commit 65eebf14 by songbingqi

修复部分bug

parent 8e952b12
<template> <template>
<view> <view>
<u-popup :show="showShopCar && goods.length" mode="bottom" :round="5" :overlay="true" <u-popup :show="showShopCar && goods.length" mode="bottom" :round="5" :overlay="true"
:closeOnClickOverlay="true" @close="closeT"> :closeOnClickOverlay="true" @close="closeT" zIndex="10071">
<view class="shop-car" :style="{'padding-bottom':bottomPadding+'rpx'}"> <view class="shop-car" :style="{'padding-bottom':bottomPadding+'rpx'}">
<view class="header"> <view class="header">
<text class="left">购物袋</text> <text class="left">购物袋</text>
...@@ -494,7 +494,7 @@ export default { ...@@ -494,7 +494,7 @@ export default {
left: 0; left: 0;
box-shadow: 0px -4px 8px 0px rgba(102, 102, 102, 0.1); box-shadow: 0px -4px 8px 0px rgba(102, 102, 102, 0.1);
display: flex; display: flex;
z-index: 10076; z-index: 10072;
align-items: center; align-items: center;
&-left { &-left {
......
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
left: 0; left: 0;
width: 100%; width: 100%;
height: 100rpx; height: 100rpx;
z-index: 10076; z-index: 10072;
background: #FFFFFF; background: #FFFFFF;
border-top: 2rpx solid #FFFFFF; border-top: 2rpx solid #FFFFFF;
} }
......
...@@ -526,8 +526,8 @@ export default { ...@@ -526,8 +526,8 @@ export default {
} }
button[disabled]:not([type]) { button[disabled]:not([type]) {
background: url('@/static/imgs/shouqingsku.png') center center no-repeat; background: url('@/static/imgs/shouqingsku.png') no-repeat;
background-size: 100%; background-size: 100% 48rpx;
} }
.spec-detail { .spec-detail {
......
...@@ -161,6 +161,9 @@ export default { ...@@ -161,6 +161,9 @@ export default {
} }
this.isBuild = isBuild this.isBuild = isBuild
}, },
onUnload(){
this.goBack()
},
data() { data() {
return { return {
orderInfo: {}, orderInfo: {},
...@@ -211,9 +214,13 @@ export default { ...@@ -211,9 +214,13 @@ export default {
}, },
async PayNow() { async PayNow() {
const orderInfo = await Order.payOrder({ orderId: this.orderInfo.id }) const orderInfo = await Order.payOrder({ orderId: this.orderInfo.id })
const sendData = {
orderId: this.orderInfo.id,
...orderInfo.data.data
}
if (orderInfo) { if (orderInfo) {
if (orderInfo && orderInfo.data.code == 200) { if (orderInfo && orderInfo.data.code == 200) {
await Menu.requestPayment(orderInfo.data.data); await Menu.requestPayment(sendData);
} }
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment