Commit 65eebf14 by songbingqi

修复部分bug

parent 8e952b12
<template>
<view>
<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="header">
<text class="left">购物袋</text>
......@@ -494,7 +494,7 @@ export default {
left: 0;
box-shadow: 0px -4px 8px 0px rgba(102, 102, 102, 0.1);
display: flex;
z-index: 10076;
z-index: 10072;
align-items: center;
&-left {
......
......@@ -74,7 +74,7 @@
left: 0;
width: 100%;
height: 100rpx;
z-index: 10076;
z-index: 10072;
background: #FFFFFF;
border-top: 2rpx solid #FFFFFF;
}
......
......@@ -526,8 +526,8 @@ export default {
}
button[disabled]:not([type]) {
background: url('@/static/imgs/shouqingsku.png') center center no-repeat;
background-size: 100%;
background: url('@/static/imgs/shouqingsku.png') no-repeat;
background-size: 100% 48rpx;
}
.spec-detail {
......
......@@ -161,6 +161,9 @@ export default {
}
this.isBuild = isBuild
},
onUnload(){
this.goBack()
},
data() {
return {
orderInfo: {},
......@@ -211,9 +214,13 @@ export default {
},
async PayNow() {
const orderInfo = await Order.payOrder({ orderId: this.orderInfo.id })
const sendData = {
orderId: this.orderInfo.id,
...orderInfo.data.data
}
if (orderInfo) {
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