Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

refundPage-result.vue 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. <template>
  2. <view class="oderPage">
  3. <view class="content">
  4. <image :src="`${$imgUrl}ETCcancellation/bg1.png`" mode=""></image>
  5. <view class="title">
  6. 办理成功
  7. </view>
  8. <view v-if="state.value=='true'">
  9. 余额会退回银行卡
  10. </view>
  11. <view v-else>
  12. 移步到余额补领功能进行圈存
  13. </view>
  14. </view>
  15. </view>
  16. <button class="submit" @click="submit">查看订单</button>
  17. </template>
  18. <script setup lang="ts">
  19. import { onLoad } from "@dcloudio/uni-app";
  20. import { reactive } from "vue";
  21. const state = reactive({
  22. value: ""
  23. })
  24. onLoad((option) => {
  25. console.log("option", option)
  26. state.value = option.value
  27. });
  28. const submit = () => {
  29. let routes = getCurrentPages();
  30. uni.navigateBack({
  31. delta: routes.length - 2
  32. });
  33. }
  34. </script>
  35. <style>
  36. page {
  37. width: 100%;
  38. height: 100%;
  39. display: flex;
  40. flex-direction: column;
  41. }
  42. </style>
  43. <style lang="scss" scoped>
  44. .oderPage {
  45. flex: 1;
  46. width: 100%;
  47. .content {
  48. display: flex;
  49. flex-direction: column;
  50. justify-content: center;
  51. align-items: center;
  52. padding: 130rpx;
  53. image {
  54. width: 390rpx;
  55. height: 307rpx;
  56. margin-bottom: 20rpx;
  57. }
  58. .title {
  59. font-size: 38rpx;
  60. font-weight: 600;
  61. font-size: 40rpx;
  62. font-family: Microsoft YaHei UI;
  63. color: #2A2A2A;
  64. }
  65. view {
  66. margin: 15rpx 0;
  67. font-size: 28rpx;
  68. font-family: Microsoft YaHei UI;
  69. font-weight: 400;
  70. color: #717171;
  71. }
  72. }
  73. }
  74. .submit {
  75. background: linear-gradient(to left, #43A1E0 0%, #13E7C1 100%);
  76. width: 670rpx;
  77. height: 80rpx;
  78. line-height: 80rpx;
  79. font-size: 32rpx;
  80. color: #fff;
  81. border-radius: 100rpx;
  82. position: fixed;
  83. bottom: 60rpx;
  84. left: 50%;
  85. transform: translate(-50%);
  86. }
  87. </style>