学员端小程序
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.

77 lines
1.5 KiB

1 year ago
12 months ago
1 year ago
12 months ago
1 year ago
12 months ago
1 year ago
12 months ago
1 year ago
12 months ago
1 year ago
12 months ago
1 year ago
12 months ago
1 year ago
  1. <template>
  2. <view class="pageBgImg">
  3. <topNavbar :title="title"></topNavbar>
  4. <view class="pad">
  5. <view class="card">
  6. <view class="tpsBox">
  7. <view class="row">
  8. <view class="icon">
  9. <image src="@/static/images/userCenter/warn.png" mode=""></image>
  10. </view>
  11. <view class="tps">请与教练协商确认达成一致后填写协商好的退款金额</view>
  12. </view>
  13. </view>
  14. </view>
  15. <myform :info="info" :orderId="orderId"></myform>
  16. </view>
  17. </view>
  18. </template>
  19. <script>
  20. import myform from './comp/myform'
  21. import { applyOrderGet, applyOnlineFund } from '@/config/api.js'
  22. export default {
  23. components: { myform },
  24. data() {
  25. return {
  26. orderId: '',
  27. info: {},
  28. title: '退款申请'
  29. }
  30. },
  31. onLoad(options) {
  32. this.orderId = options.orderId
  33. this.applyOrderGetFn()
  34. },
  35. onPullDownRefresh() {
  36. this.applyOrderGetFn()
  37. },
  38. methods: {
  39. async applyOrderGetFn() {
  40. const {data: res} = await applyOrderGet({ orderId: this.orderId})
  41. this.info = res
  42. uni.stopPullDownRefresh()
  43. },
  44. }
  45. }
  46. </script>
  47. <style lang="scss" scoped>
  48. .card {
  49. padding: 12rpx 28rpx;
  50. margin-bottom: 24rpx;
  51. .tpsBox {
  52. height: 140rpx;
  53. background: #FFFFFF;
  54. border-radius: 16rpx;
  55. .row {
  56. height: 100%;
  57. display: flex;
  58. align-items: center;
  59. .icon {
  60. width: 36rpx;
  61. height: 36rpx;
  62. }
  63. .tps {
  64. padding-left: 26rpx;
  65. font-size: 28rpx;
  66. font-weight: 600;
  67. color: $themC;
  68. line-height: 1.2em;
  69. }
  70. }
  71. }
  72. }
  73. </style>