|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
* @Author: ch
|
|
|
|
|
* @Date: 2022-05-04 17:30:58
|
|
|
|
|
* @LastEditors: ch
|
|
|
|
|
* @LastEditTime: 2022-05-08 16:25:39
|
|
|
|
|
* @LastEditTime: 2022-05-09 14:13:53
|
|
|
|
|
* @Description: file content
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
@ -18,7 +18,7 @@
|
|
|
|
|
<Message :orderInfo="orderInfo" :message.sync="userMessage"/>
|
|
|
|
|
<Amount :amount="orderInfo.payAmount"/>
|
|
|
|
|
<div class="pay">
|
|
|
|
|
<button class="btn" @click="submit">立即支付</button>
|
|
|
|
|
<UiButton radius type="red_panel" @click="submit">立即支付</UiButton>
|
|
|
|
|
</div>
|
|
|
|
|
<BsPay :visible.sync="payVisible" :orderId="orderId" @cancel="cancelPay"/>
|
|
|
|
|
</div>
|
|
|
|
@ -30,18 +30,20 @@ import UIGoodsInfo from '../../../components/UIGoodsInfo.vue';
|
|
|
|
|
import OrderInfo from './module/OrderInfo.vue';
|
|
|
|
|
import Message from './module/Message.vue';
|
|
|
|
|
import Amount from './module/Amount.vue';
|
|
|
|
|
import UiButton from '../../../components/UiButton.vue';
|
|
|
|
|
export default {
|
|
|
|
|
components: { BsPay, UIGoodsInfo, OrderInfo, Message, Amount },
|
|
|
|
|
components: { BsPay, UIGoodsInfo, OrderInfo, Message, Amount, UiButton },
|
|
|
|
|
data(){
|
|
|
|
|
return {
|
|
|
|
|
address : {id:3},
|
|
|
|
|
orderInfo : {},
|
|
|
|
|
orderId : '',
|
|
|
|
|
userMessage : '',
|
|
|
|
|
payVisible : true
|
|
|
|
|
payVisible : false
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
created(){
|
|
|
|
|
mounted(){
|
|
|
|
|
|
|
|
|
|
this.getBeforeOrder();
|
|
|
|
|
},
|
|
|
|
|
methods : {
|
|
|
|
@ -127,15 +129,7 @@ export default {
|
|
|
|
|
.pay{
|
|
|
|
|
text-align: right;
|
|
|
|
|
padding-bottom: 50px;
|
|
|
|
|
.btn{
|
|
|
|
|
background: #FF512B;
|
|
|
|
|
color: #fff;
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
border: none;
|
|
|
|
|
height: 50px;
|
|
|
|
|
width: 163px;
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
}
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</style>
|