mirror of
https://github.com/jekip/naive-ui-admin.git
synced 2026-02-12 09:12:28 +08:00
71 lines
2.0 KiB
Vue
71 lines
2.0 KiB
Vue
<template>
|
||
<n-card :bordered="false" class="proCard">
|
||
<div class="result-box">
|
||
<n-result status="info" title="提示" description="本次提交,将在24小时候内自动转入对方账户,如操作失误,请及时撤回">
|
||
<div class="result-box-extra">
|
||
<p>您提交的内容如下:</p>
|
||
<p class="mt-3">
|
||
<n-space align="center">
|
||
<n-icon size="20" color="#18a058">
|
||
<CheckCircleOutlined/>
|
||
</n-icon>
|
||
<span>转入支付宝账户(189****5426):¥1980元</span>
|
||
<n-button type="info" text>立即撤回</n-button>
|
||
</n-space>
|
||
</p>
|
||
<p class="mt-3">
|
||
<n-space>
|
||
<n-icon size="20" color="#18a058">
|
||
<CheckCircleOutlined/>
|
||
</n-icon>
|
||
<span>转入支付宝账户(187****5426):¥2980元</span>
|
||
<n-button type="info" text>立即撤回</n-button>
|
||
</n-space>
|
||
</p>
|
||
</div>
|
||
<template #footer>
|
||
<div class="flex justify-center mb-4">
|
||
<n-space align="center">
|
||
<n-button type="info" @click="goHome">回到首页</n-button>
|
||
<n-button>查看详情</n-button>
|
||
<n-button>全部撤回</n-button>
|
||
</n-space>
|
||
</div>
|
||
</template>
|
||
</n-result>
|
||
</div>
|
||
</n-card>
|
||
</template>
|
||
<script lang="ts">
|
||
import { defineComponent } from 'vue'
|
||
import { useRouter } from 'vue-router'
|
||
import { CheckCircleOutlined } from '@vicons/antd'
|
||
|
||
export default defineComponent({
|
||
components: { CheckCircleOutlined },
|
||
setup() {
|
||
const router = useRouter()
|
||
return {
|
||
goHome() {
|
||
router.push('/')
|
||
}
|
||
}
|
||
}
|
||
})
|
||
</script>
|
||
<style lang="less" scoped>
|
||
.result-box {
|
||
width: 72%;
|
||
margin: 0 auto;
|
||
text-align: center;
|
||
padding-top: 5px;
|
||
|
||
&-extra {
|
||
padding: 24px 40px;
|
||
text-align: left;
|
||
background: #f8f8f9;
|
||
border-radius: 4px;
|
||
}
|
||
}
|
||
</style>
|