Commit f82db14d by 前端

Merge branch 'v3.4.0-0117' into 'master'

V3.4.0 0117

See merge request !7
2 parents a397ff3f 1adfd3aa
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" /> <link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
<title>战报</title> <title>战报</title>
</head> </head>
<body> <body>
......
* {
box-sizing: border-box;
-moz-box-sizing: border-box; /* Firefox */
-webkit-box-sizing: border-box; /* Safari */
}
html,
body,
p {
margin: 0;
padding: 0;
}
.layout.no-rem {
box-sizing: border-box;
width: 520px;
height: 416px;
background-image: linear-gradient(180deg, #f8fbff 0%, #eff5fe 100%);
padding: 20px;
color: #3582ee;
font-size: 24px;
}
.title.no-rem {
font-weight: 600;
font-size: 28px;
margin-bottom: 40px;
height: 80px;
}
.money-title.no-rem {
margin: 0 auto;
width: 140px;
height: 44px;
line-height: 44px;
background: #e5f0ff;
border-radius: 24px;
font-size: 24px;
text-align: center;
}
.money-txt.no-rem {
margin: 6px auto 52px;
font-weight: 600;
font-size: 50px;
text-align: center;
}
.form.no-rem {
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 no-rem">
<p class="title no-rem">{{data.orderInfo.yqMerchantName}}收到一笔款项:</p>
<p class="money-title no-rem">收款金额</p>
<p class="money-txt no-rem">¥{{data.orderInfo.totalFee}}</p>
<p class="form no-rem">订单号: {{data.orderInfo.outTradeNo}}</p>
<p class="form no-rem">支付时间:{{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!