<template>
	<view class="pageBg">
		<view class="pad">
			<view class="tps">请与教练协商，确认达成一致后填写协商好的退款金额</view>
			<myform :info="info" :orderId="orderId"></myform>
		</view>
	</view>
</template>

<script>
	import myform from './comp/myform'
	import { applyOrderGet, applyOnlineFund } from '@/config/api.js'
	export default {
		components: { myform },
		data() {
			return {
				orderId: '',
				info: {},
				title: '退款申请'
			}
		},
		onLoad(options) {
			this.orderId = options.orderId
			this.applyOrderGetFn()
		},
		onPullDownRefresh() {
			this.applyOrderGetFn()
		},
		methods: {
			async applyOrderGetFn() {
				const {data: res} = await applyOrderGet({ orderId: this.orderId})
				this.info = res
				uni.stopPullDownRefresh()
			},
		}
	}
</script>

<style lang="scss" scoped>
	  .tps {
		  font-size: 24rpx;
		  color: #FF7270;
		  padding: 20rpx 0;
	  }
	
	  
</style>