|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <template>
- <div class="container">
- <custom-header :back="false" title="下单"></custom-header>
- <view style="padding: 20rpx" class='content'>
- <icon type="success" size="80" class='icon-sucess' color='#1AAC1B' />
- <view class="sucess-txt">
- 下单成功
- </view>
- </view>
- </div>
- </template>
- <script setup lang="ts">
- import CustomHeader from '@/components/CustomHeader.vue';
- import {
- ref
- } from 'vue'
- import {
- unifyTemplate
- } from '@/hooks/unifyTemplate'
- import {
- onLoad
- } from '@dcloudio/uni-app';
- import {
- request
- } from '@/utils/network/request'
- const {
- initData, //初始化数据
- qdOrderVal //qdOrder中数据 ref
- } = unifyTemplate() //初始化数据
- //获取页面配置
- onLoad((opin) => {
- initData(opin, 5).then(data => {
- // contractTesting(data.qdOrder.qdOrderNo, data.config.jumpPage)
- // contractQuery(data.qdOrder.qdOrderNo, data.config.jumpPage)
- window.open(data.qdOrder.returnUrl, '_self')
- })
- })
- </script>
- <style lang="scss" scoped>
- .content {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- }
-
- .sucess-txt {
- font-size: 20px;
- margin-top: 15px;
- color: #1AAC1B;
- }
-
- .sig-manage {
- height: 100vh;
- width: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- </style>
|