refundApp.vue 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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. elderMode:false,
  22. userId:'',
  23. }
  24. },
  25. onReady(){
  26. this.elderMode = this.carhelp.get('getElderModeClass');
  27. if(this.elderMode)
  28. this.theme('elder')
  29. else
  30. this.theme('standard')
  31. if (this.carhelp.getPersonInfo()) {
  32. this.userId = this.carhelp.getPersonInfo().id;
  33. }
  34. },
  35. methods: {
  36. theme(type) {
  37. if(type == 'dark')
  38. {
  39. document.getElementsByTagName('body')[0].setAttribute('data-theme',type);
  40. }
  41. else
  42. {
  43. document.getElementsByTagName('body')[0].setAttribute('data-theme',type);
  44. }
  45. },
  46. finish(){
  47. uni.navigateTo({
  48. url:'refundList'
  49. })
  50. /*uni.navigateBack({
  51. delta:1
  52. })*/
  53. }
  54. }
  55. }
  56. </script>
  57. <style>
  58. page{
  59. background-color: #fff;
  60. }
  61. </style>
  62. <style lang="scss" scoped>
  63. @import "@/_theme.scss";
  64. .paySuccess{
  65. text-align: center;
  66. padding: 50px 0;
  67. .title{
  68. font-size: 20px;
  69. margin-top: 20px;
  70. }
  71. .payPrice{
  72. display: flex;
  73. align-items: flex-end;
  74. justify-content: center;
  75. font{
  76. font-size: 36px;
  77. line-height: 36px;
  78. }
  79. margin-top: 20px;
  80. }
  81. p{
  82. color:#999;
  83. margin-top: 4px;
  84. }
  85. }
  86. .paySuccess-btn{
  87. display: flex;
  88. justify-content: space-between;
  89. padding: 0 40px;
  90. }
  91. .success-btn{
  92. background-color:#00B962!important;
  93. flex: 1;
  94. border-color: #00B962!important;
  95. color:#fff!important;
  96. }
  97. </style>