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