merge-requests/11/head
ch 3 years ago
parent 0f0b283387
commit 8e3b894d10

@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-05-08 00:39:50
* @LastEditors: ch
* @LastEditTime: 2022-05-09 21:17:10
* @LastEditTime: 2022-05-09 21:37:07
* @Description: file content
-->
<template>
@ -16,7 +16,7 @@
<img :src="imgUrl" v-if="imgUrl"/>
<p v-if="!startSecondNum"></p>
</div>
<p class="pay--tips">如支付后没有自动跳转请点击 <span class="pay--finish">完成付</span></p>
<p class="pay--tips">如支付后没有自动跳转请点击 <span class="pay--finish" @click="finish"></span></p>
</div>
</el-dialog>
</template>
@ -87,6 +87,10 @@ export default {
},
close(){
this.$emit('cancel');
},
finish(){
this.myVisible = false;
this.$emit('finish')
}
}
}

@ -2,14 +2,14 @@
* @Author: ch
* @Date: 2022-05-08 01:14:03
* @LastEditors: ch
* @LastEditTime: 2022-05-09 20:50:56
* @LastEditTime: 2022-05-09 21:39:31
* @Description: file content
-->
<template>
<div>
<div class="box">
<StatusInfo :orderInfo="orderInfo" @cancel="getOrderInfo"
@receive="getOrderInfo"/>
@receive="getOrderInfo" @payFinish="getOrderInfo"/>
<StatusStep :orderInfo="orderInfo" />
</div>
<LogisitcsInfo :orderInfo="orderInfo" />

@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-05-09 16:24:49
* @LastEditors: ch
* @LastEditTime: 2022-05-09 21:26:52
* @LastEditTime: 2022-05-09 21:31:33
* @Description: file content
-->
<template>
@ -51,7 +51,6 @@
<p>
<label>运费</label>
<UiMoney :money="orderInfo.shippingAmount" float/>
</p>
<p>
<label>

@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-05-09 14:41:37
* @LastEditors: ch
* @LastEditTime: 2022-05-09 21:12:47
* @LastEditTime: 2022-05-09 21:38:57
* @Description: file content
-->
<template>
@ -20,7 +20,7 @@
</template>
</div>
<Cancel :visible.sync="cancelVisible" :orderId="orderInfo.orderId" @cancel="cancel"/>
<BsPay :visible.sync="payVisible" :orderId="orderInfo.orderId"/>
<BsPay :visible.sync="payVisible" :orderId="orderInfo.orderId" @finish="payFinish"/>
</div>
</template>
<script>
@ -125,6 +125,9 @@ export default {
},
cancel(){
this.$emit('cancel')
},
payFinish(){
this.$emit('payFinish')
}
}

@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-05-04 17:30:58
* @LastEditors: ch
* @LastEditTime: 2022-05-09 14:33:52
* @LastEditTime: 2022-05-09 21:41:07
* @Description: file content
-->
@ -20,7 +20,7 @@
<div class="pay">
<UiButton radius type="red_panel" @click="submit"></UiButton>
</div>
<BsPay :visible.sync="payVisible" :orderId="orderId" @cancel="cancelPay"/>
<BsPay :visible.sync="payVisible" :orderId="orderId" @cancel="finishPay" @finish="finishPay"/>
</div>
</template>
<script>
@ -112,7 +112,7 @@ export default {
this.orderId = result.orderId;
},
cancelPay(){
finishPay(){
this.$router.replace(`/account/order/detail?id=${this.orderId}`)
}
}

Loading…
Cancel
Save