洛阳学员端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
932 B

8 months ago
8 months ago
8 months ago
  1. <template>
  2. <view class="pageBg">
  3. <view class="pad">
  4. <view class="tps">请与教练协商确认达成一致后填写协商好的退款金额</view>
  5. <myform :info="info" :orderId="orderId"></myform>
  6. </view>
  7. </view>
  8. </template>
  9. <script>
  10. import myform from './comp/myform'
  11. import { applyOrderGet, applyOnlineFund } from '@/config/api.js'
  12. export default {
  13. components: { myform },
  14. data() {
  15. return {
  16. orderId: '',
  17. info: {},
  18. title: '退款申请'
  19. }
  20. },
  21. onLoad(options) {
  22. this.orderId = options.orderId
  23. this.applyOrderGetFn()
  24. },
  25. onPullDownRefresh() {
  26. this.applyOrderGetFn()
  27. },
  28. methods: {
  29. async applyOrderGetFn() {
  30. const {data: res} = await applyOrderGet({ orderId: this.orderId})
  31. this.info = res
  32. uni.stopPullDownRefresh()
  33. },
  34. }
  35. }
  36. </script>
  37. <style lang="scss" scoped>
  38. .tps {
  39. font-size: 24rpx;
  40. color: #FF7270;
  41. padding: 20rpx 0;
  42. }
  43. </style>