refundApp.vue 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <template>
  2. <view>
  3. <ujp-navbar title="退费申请"></ujp-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 == 'elder')
  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.redirectTo({
  48. // url:'refundList'
  49. // })
  50. // uni.navigateTo({
  51. // url:"pages/index/index"
  52. // })
  53. uni.navigateBack()
  54. }
  55. }
  56. }
  57. </script>
  58. <style>
  59. page{
  60. background-color: #fff;
  61. }
  62. </style>
  63. <style lang="scss" scoped>
  64. @import "@/_theme.scss";
  65. .paySuccess{
  66. text-align: center;
  67. padding: 50px 0;
  68. .title{
  69. /* font-size: 20px;*/
  70. margin-top: 40rpx;
  71. @include themeify{
  72. font-size:themed('font-size5');
  73. font-weight: themed('fontWeight');
  74. letter-spacing: themed('letterSpacing');
  75. }
  76. }
  77. .payPrice{
  78. display: flex;
  79. align-items: flex-end;
  80. justify-content: center;
  81. font{
  82. @include themeify{
  83. font-size:themed('font-size13');
  84. line-height: themed('font-size13');
  85. }
  86. /* font-size: 36px;
  87. line-height: 36px;*/
  88. }
  89. margin-top: 40rpx;
  90. }
  91. p{
  92. color:#999;
  93. margin-top: 8rpx;
  94. }
  95. }
  96. .paySuccess-btn{
  97. display: flex;
  98. justify-content: space-between;
  99. padding: 0 80rpx;
  100. }
  101. .success-btn{
  102. background-color:#00B962!important;
  103. flex: 1;
  104. border-color: #00B962!important;
  105. color:#fff!important;
  106. @include themeify{
  107. font-size:themed('font-size2');
  108. line-height: themed('font-size2');
  109. letter-spacing: themed('letterSpacing');
  110. }
  111. }
  112. </style>