From fd719dee9bf7c61c4cf89356e349c277914967dd Mon Sep 17 00:00:00 2001 From: wangliang Date: Thu, 1 Sep 2022 19:12:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/stores/modules/tsts.module.ts | 37 ++++++++++ .../DepositInterestTrial/CountResult.vue | 70 +++++++++++++------ .../DepositInterestTrial.vue | 62 +++++++++++----- .../ManageMoneyProduct/ManageMoneyProduct.vue | 2 +- 4 files changed, 129 insertions(+), 42 deletions(-) create mode 100644 src/stores/modules/tsts.module.ts diff --git a/src/stores/modules/tsts.module.ts b/src/stores/modules/tsts.module.ts new file mode 100644 index 0000000..3ae7e39 --- /dev/null +++ b/src/stores/modules/tsts.module.ts @@ -0,0 +1,37 @@ +const state = { + questionAnswerObj: {}, + faceSignInfo: {}, + imageFileObj: [] +}; +const mutations = { + setQuestionAnswerObj: (state: any, questionAnswerObj: any) => { + state.questionAnswerObj = questionAnswerObj + }, + setFaceSignInfo: (state: any, faceSignListInfo: any) =>{ + state.faceSignInfo = faceSignListInfo + }, + setImageFileObj: (state: any, imageFileObj: any) =>{ + state.imageFileObj = imageFileObj + }, + addImageFileObj: (state: any, imageFileObj: any) =>{ + state.imageFileObj.push(imageFileObj); + } +}; +const actions = {}; +const getters = { + getQuestionAnswerObj: (state: any) => { + return state.questionAnswerObj; + }, + getFaceSignInfo: (state: any) => { + return state.faceSignInfo; + }, + getImageFileObj: (state: any) => { + return state.imageFileObj; + } +}; +export default { + state, + mutations, + actions, + getters +}; diff --git a/src/views/DepositInterestTrial/CountResult.vue b/src/views/DepositInterestTrial/CountResult.vue index ff5501f..2f66299 100644 --- a/src/views/DepositInterestTrial/CountResult.vue +++ b/src/views/DepositInterestTrial/CountResult.vue @@ -10,7 +10,7 @@
-
贷款利息(元)查看还款计划
+
贷款利息(元)查看还款计划
{{result}}
@@ -37,43 +37,47 @@ {{loanRate}}
-
- - 计划月还款 - {{planMonthRepay}} - -
-
- - 贷款种类 - {{loanType}} - -
+ + + + + + + + + + + +
还款方式 {{repayType}}
- 确定 - 重新计算 + 确定 + 重新计算