您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

paymentSucess - 副本.vue 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <template>
  2. <div class="container">
  3. <custom-header :back="false" title="下单"></custom-header>
  4. <view style="padding: 20rpx" class='content'>
  5. <icon type="success" size="80" class='icon-sucess' color='#1AAC1B' />
  6. <view class="sucess-txt">
  7. 下单成功
  8. </view>
  9. </view>
  10. </div>
  11. </template>
  12. <script setup lang="ts">
  13. import CustomHeader from '@/components/CustomHeader.vue';
  14. import {
  15. ref
  16. } from 'vue'
  17. import {
  18. unifyTemplate
  19. } from '@/hooks/unifyTemplate'
  20. import {
  21. onLoad
  22. } from '@dcloudio/uni-app';
  23. import {
  24. request
  25. } from '@/utils/network/request'
  26. const {
  27. initData, //初始化数据
  28. qdOrderVal //qdOrder中数据 ref
  29. } = unifyTemplate() //初始化数据
  30. //获取页面配置
  31. onLoad((opin) => {
  32. initData(opin, 5).then(data => {
  33. // contractTesting(data.qdOrder.qdOrderNo, data.config.jumpPage)
  34. // contractQuery(data.qdOrder.qdOrderNo, data.config.jumpPage)
  35. window.open(data.qdOrder.returnUrl, '_self')
  36. })
  37. })
  38. </script>
  39. <style lang="scss" scoped>
  40. .content {
  41. display: flex;
  42. flex-direction: column;
  43. justify-content: center;
  44. align-items: center;
  45. }
  46. .sucess-txt {
  47. font-size: 20px;
  48. margin-top: 15px;
  49. color: #1AAC1B;
  50. }
  51. .sig-manage {
  52. height: 100vh;
  53. width: 100%;
  54. display: flex;
  55. justify-content: center;
  56. align-items: center;
  57. }
  58. </style>