payOk.vue
2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<template>
<el-dialog v-model="dialogVisible" destroy-on-close title="" width="500">
<div>
<el-result class="result" icon="success" title="支付成功" />
</div>
<!-- <el-row :gutter="8" class="rowBox">-->
<!-- <el-col :span="12">-->
<!-- 付款账号-->
<!-- </el-col>-->
<!-- <el-col class="textLabel" :span="12">-->
<!-- 9912341234-->
<!-- </el-col>-->
<!-- <el-col :span="12">-->
<!-- 交易流水号-->
<!-- </el-col>-->
<!-- <el-col class="textLabel" :span="12">-->
<!-- 1234123436345345-->
<!-- </el-col>-->
<!-- <el-col :span="12">-->
<!-- 商户名称-->
<!-- </el-col>-->
<!-- <el-col class="textLabel" :span="12">-->
<!-- 中国跆拳道协会-->
<!-- </el-col>-->
<!-- <el-col :span="12">-->
<!-- 订单金额-->
<!-- </el-col>-->
<!-- <el-col class="textLabel" :span="12">-->
<!-- 1500.00元-->
<!-- </el-col>-->
<!-- </el-row>-->
<div style="font-size: 19px;text-align: center;color: #000;">
支付成功,请等待审核
</div>
<br>
<br>
<el-row justify="center">
<el-button type="primary" class="largeBtn" @click="handelPay">确定</el-button>
</el-row>
<br>
</el-dialog>
</template>
<script setup>
import { ref, getCurrentInstance } from 'vue'
const emit = defineEmits(['handelOk'])
// const { proxy } = getCurrentInstance()
const dialogVisible = ref(false)
function open() {
dialogVisible.value = true
}
async function handelPay() {
// await proxy.$modal.confirm('确定付款吗?')
dialogVisible.value = false
emit('handelOk')
}
defineExpose({
open
})
</script>
<style scoped lang="scss">
.rowBox {
font-size: 18px;
.textLabel {
color: #000;
margin-bottom: 20px;
text-align: right;
}
}
.result {
padding-top: 0;
:deep(.icon-success) {
width: 110px;
height: 110px;
}
}
</style>