applyResult.vue 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. <template>
  2. <view>
  3. <ujp-navbar title="申请结果"></ujp-navbar>
  4. <view class="applyResult">
  5. <u-icon name="chenggong" custom-prefix="custom-icon" color="#27B148" size="150"></u-icon>
  6. <h3>申请成功</h3>
  7. <p v-if="value">申请提现 ¥{{showNumJP(value)}}元</p>
  8. </view>
  9. <view class="applySpeed">
  10. <view class="applySpeed-item">
  11. <u-icon name="time-line" custom-prefix="custom-icon" color="#185AC6" size="48"></u-icon>
  12. <p>等待财务确认提现金额并打款</p>
  13. </view>
  14. <view class="applySpeed-item">
  15. <u-icon name="money-cny-circle-line" custom-prefix="custom-icon" color="#185AC6" size="48"></u-icon>
  16. <p>等待银行清算后金额到账</p>
  17. </view>
  18. </view>
  19. <view class="applyBtn">
  20. <u-button class="applyBtn-btn" type="primary" @click="back">查看申请记录</u-button>
  21. </view>
  22. </view>
  23. </template>
  24. <script>
  25. import * as API from '@/apis/finance.js'
  26. export default {
  27. data() {
  28. return {
  29. value:0,
  30. form: {
  31. name: '',
  32. intro: '',
  33. },
  34. }
  35. },onLoad(op) {
  36. if(op.value){
  37. this.value=parseFloat(op.value)
  38. }
  39. },
  40. methods: {
  41. showNum(val){
  42. if(val){
  43. val=""+val
  44. if(val.indexOf(".")>-1){
  45. return val.substring(0,val.indexOf(".")+3);
  46. }
  47. }
  48. return val
  49. },
  50. back(){
  51. uni.navigateBack()
  52. }
  53. }
  54. }
  55. </script>
  56. <style>
  57. </style>
  58. <style lang="scss" scoped>
  59. .applyResult{
  60. display: flex;
  61. flex-direction: column;
  62. align-items: center;
  63. margin: 36px 0;
  64. h3{
  65. margin-top: 20px;
  66. }
  67. p{
  68. color: #999;
  69. margin-top: 4px;
  70. }
  71. }
  72. .applySpeed{
  73. margin: 0 144rpx;
  74. }
  75. .applySpeed-item{
  76. display: flex;
  77. margin-bottom: 24px;
  78. align-items: center;
  79. position: relative;
  80. &:after{
  81. content: '';
  82. position: absolute;
  83. width: 1px;
  84. height: 18px;
  85. background-color: #185AC6;
  86. left:12px;
  87. top: 26px;
  88. }
  89. &:last-child:after{
  90. background: none;
  91. }
  92. p{
  93. margin-left: 8px;
  94. }
  95. }
  96. .applyBtn{
  97. margin: 36px;
  98. }
  99. .applyBtn-btn{
  100. background-color: #185AC6;
  101. border-color:#185AC6 ;
  102. border-radius: 8px;
  103. }
  104. </style>