From a3a8c23b196980732a795713a5eb5fe0c7075bf9 Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Wed, 11 Jul 2018 21:47:13 +0800 Subject: [PATCH] Revert "提交" --- src/app/routes/pro/form/step-form/transfer.service.ts | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 53 insertions(+), 0 deletions(-) diff --git a/src/app/routes/pro/form/step-form/transfer.service.ts b/src/app/routes/pro/form/step-form/transfer.service.ts new file mode 100644 index 0000000..02f2c0e --- /dev/null +++ b/src/app/routes/pro/form/step-form/transfer.service.ts @@ -0,0 +1,53 @@ +import { Injectable } from '@angular/core'; + +@Injectable() +export class TransferService { + step: 0 | 1 | 2 = 1; + + /** + * ������������ + */ + pay_account: string; + + /** + * ������������������ + */ + receiver_type: 'alipay' | 'bank'; + + get receiver_type_str() { + return this.receiver_type === 'alipay' ? '���������' : '������'; + } + + /** + * ������������ + */ + receiver_account: string; + + /** + * ������������ + */ + receiver_name: string; + + /** + * ������ + */ + amount: number; + + /** + * ������������ + */ + password = '123456'; + + again() { + this.step = 0; + this.pay_account = 'ant-design@alipay.com'; + this.receiver_type = 'alipay'; + this.receiver_account = 'test@example.com'; + this.receiver_name = 'asdf'; + this.amount = 500; + } + + constructor() { + this.again(); + } +} -- Gitblit v1.8.0