洛阳学员端
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.
 
 
 
 
 
 

78 lines
1.5 KiB

<template>
<view class="pageBgImg">
<topNavbar :title="title"></topNavbar>
<view class="pad">
<view class="card">
<view class="tpsBox">
<view class="row">
<view class="icon">
<image src="@/static/images/userCenter/warn.png" mode=""></image>
</view>
<view class="tps">请与教练协商确认达成一致后填写协商好的退款金额</view>
</view>
</view>
</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>
.card {
padding: 12rpx 28rpx;
margin-bottom: 24rpx;
.tpsBox {
height: 140rpx;
background: #FFFFFF;
border-radius: 16rpx;
.row {
height: 100%;
display: flex;
align-items: center;
.icon {
width: 36rpx;
height: 36rpx;
}
.tps {
padding-left: 26rpx;
font-size: 28rpx;
font-weight: 600;
color: $themC;
line-height: 1.2em;
}
}
}
}
</style>