diff --git a/src/views/balance/Balance.vue b/src/views/balance/Balance.vue index 6fa87b04..bc7537d0 100644 --- a/src/views/balance/Balance.vue +++ b/src/views/balance/Balance.vue @@ -1,6 +1,7 @@ diff --git a/src/views/balance/components/Form.vue b/src/views/balance/components/Form.vue new file mode 100644 index 00000000..c2a174f8 --- /dev/null +++ b/src/views/balance/components/Form.vue @@ -0,0 +1,85 @@ + + + + + diff --git a/src/views/balance/components/Log.vue b/src/views/balance/components/Log.vue new file mode 100644 index 00000000..8bdb098d --- /dev/null +++ b/src/views/balance/components/Log.vue @@ -0,0 +1,66 @@ + + + + + diff --git a/src/views/balance/components/log.ts b/src/views/balance/components/log.ts new file mode 100644 index 00000000..fdf5640b --- /dev/null +++ b/src/views/balance/components/log.ts @@ -0,0 +1,63 @@ +// 注意,这只是一个临时的数据文件,后来会被替换为后端接口 + +interface FS { + index: number + // 是否为收入 + income: boolean + reason: string + date: string + amount: number +} + +export const FSLog: FS[] = [ + { + index: 1, + income: false, + reason: + '啊这可海星啊这可海星啊这可海星啊这可海星啊这可海星啊这可海星啊这可海星', + date: '2019/10/07', + amount: 1007, + }, + { + index: 2, + income: true, + reason: '啊这可海星', + date: '2019/10/07', + amount: 1007, + }, + { + index: 3, + income: false, + reason: '啊这可海星', + date: '2019/10/07', + amount: 1007, + }, + { + index: 4, + income: false, + reason: '啊这可海星', + date: '2019/10/07', + amount: 1007, + }, + { + index: 5, + income: false, + reason: '啊这可海星', + date: '2019/10/07', + amount: 1007, + }, + { + index: 6, + income: false, + reason: '啊这可海星', + date: '2019/10/07', + amount: 1007, + }, + { + index: 7, + income: false, + reason: '啊这可海星', + date: '2019/10/07', + amount: 1007, + }, +]