refundApp.vue 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <template>
  2. <view>
  3. <u-navbar title="退费申请"></u-navbar>
  4. <view class="paySuccess">
  5. <u-icon name="chenggong" custom-prefix="custom-icon" size="180" color="#00B962"></u-icon>
  6. <view class="title">退费申请成功</view>
  7. <p>退费中,预计0-5个工作日退还至原支付账户</p>
  8. </view>
  9. <view class="paySuccess-btn">
  10. <u-button class="success-btn" shape="circle" type="success" @click="finish">
  11. <span>完成</span>
  12. </u-button>
  13. </view>
  14. </view>
  15. </template>
  16. <script>
  17. import * as api from "@/apis/refund.js"
  18. export default {
  19. data() {
  20. return {
  21. userId:'',
  22. }
  23. },
  24. onReady(){
  25. if (this.carhelp.getPersonInfo()) {
  26. this.userId = this.carhelp.getPersonInfo().id;
  27. }
  28. },
  29. methods: {
  30. finish(){
  31. uni.navigateTo({
  32. url:'refundList'
  33. })
  34. /*uni.navigateBack({
  35. delta:1
  36. })*/
  37. }
  38. }
  39. }
  40. </script>
  41. <style>
  42. page{
  43. background-color: #fff;
  44. }
  45. </style>
  46. <style lang="scss" scoped>
  47. .paySuccess{
  48. text-align: center;
  49. padding: 50px 0;
  50. .title{
  51. font-size: 20px;
  52. margin-top: 20px;
  53. }
  54. .payPrice{
  55. display: flex;
  56. align-items: flex-end;
  57. justify-content: center;
  58. font{
  59. font-size: 36px;
  60. line-height: 36px;
  61. }
  62. margin-top: 20px;
  63. }
  64. p{
  65. color:#999;
  66. margin-top: 4px;
  67. }
  68. }
  69. .paySuccess-btn{
  70. display: flex;
  71. justify-content: space-between;
  72. padding: 0 40px;
  73. }
  74. .success-btn{
  75. background-color:#00B962!important;
  76. flex: 1;
  77. border-color: #00B962!important;
  78. color:#fff!important;
  79. }
  80. </style>