payOk.vue 2.02 KB
<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>