Commit 1abb785c by chenwq

saas-订单补录

1 parent a397ff3f
* {
box-sizing: border-box;
-moz-box-sizing: border-box; /* Firefox */
-webkit-box-sizing: border-box; /* Safari */
}
html,
body,
p {
margin: 0;
padding: 0;
}
.layout {
width: 520px;
height: 416px;
background-image: linear-gradient(180deg, #f8fbff 0%, #eff5fe 100%);
padding: 20px;
color: #3582ee;
font-size: 24px;
}
.title {
font-weight: 600;
font-size: 28px;
margin-bottom: 40px;
height: 80px;
}
.money-title {
margin: 0 auto;
width: 140px;
height: 44px;
line-height: 44px;
background: #e5f0ff;
border-radius: 24px;
font-size: 24px;
text-align: center;
}
.money-txt {
margin: 6px auto 52px;
font-weight: 600;
font-size: 50px;
text-align: center;
}
.form {
color: #666666;
margin-bottom: 8px;
}
\ No newline at end of file \ No newline at end of file
...@@ -39,6 +39,15 @@ const staticRoutes = Object.freeze([ ...@@ -39,6 +39,15 @@ const staticRoutes = Object.freeze([
title: '已结束战报', title: '已结束战报',
backgroundColor: '#FE3C41' backgroundColor: '#FE3C41'
} }
},
// saas-wechat-订单补录
{
path: '/orderRecord',
component: () => import('views/saas/orderRecord.vue'),
meta: {
title: '订单补录',
backgroundColor: '#FFFFFF'
}
} }
]) ])
......
<template>
<div class="layout">
<p class="title">{{data.orderInfo.yqMerchantName}}收到一笔款项:</p>
<p class="money-title">收款金额</p>
<p class="money-txt">¥{{data.orderInfo.totalFee}}</p>
<p class="form">订单号: {{data.orderInfo.outTradeNo}}</p>
<p class="form">支付时间:{{data.orderInfo.accountDate}}</p>
</div>
</template>
<script lang="ts" setup>
import { ref, onMounted, reactive, nextTick, inject } from "vue";
import { useRoute } from "vue-router";
const route = useRoute();
const data = reactive({
orderInfo: {}
})
onMounted(() => {
if (route.query) {
data.orderInfo = route.query
}
})
</script>
<style lang="scss" scoped>
@import "src/assets/styles/orderRecord.scss";
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!