From a2f0aa31fd9d35486480e6c24d000c72b32bc932 Mon Sep 17 00:00:00 2001 From: owen Date: Thu, 21 Sep 2023 23:56:33 +0800 Subject: [PATCH 1/6] =?UTF-8?q?trade:=20=E5=88=86=E9=94=80=E4=B8=9A?= =?UTF-8?q?=E5=8A=A1=20-=20=E6=8F=90=E7=8E=B0=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/users/user_cash/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/users/user_cash/index.vue b/pages/users/user_cash/index.vue index 5883a247..c9b18e65 100644 --- a/pages/users/user_cash/index.vue +++ b/pages/users/user_cash/index.vue @@ -33,7 +33,7 @@ - 当前可提现金额: ¥{{ fen2yuan(commission.brokeragePrice) }},冻结佣金:¥{{ fen2yuan(commission.frozenBrokeragePrice) }} + 当前可提现金额: ¥{{ fen2yuan(commission.brokeragePrice) }},冻结佣金:¥{{ fen2yuan(commission.frozenPrice) }} 说明: 每笔佣金的冻结期为{{frozenDays}}天,到期后可提现 @@ -65,7 +65,7 @@ - 当前可提现金额: ¥{{ fen2yuan(commission.brokeragePrice) }},冻结佣金:¥{{ fen2yuan(commission.frozenBrokeragePrice) }} + 当前可提现金额: ¥{{ fen2yuan(commission.brokeragePrice) }},冻结佣金:¥{{ fen2yuan(commission.frozenPrice) }} 说明: 每笔佣金的冻结期为{{frozenDays}}天,到期后可提现 @@ -97,7 +97,7 @@ - 当前可提现金额: ¥{{ fen2yuan(commission.brokeragePrice) }},冻结佣金:¥{{ fen2yuan(commission.frozenBrokeragePrice) }} + 当前可提现金额: ¥{{ fen2yuan(commission.brokeragePrice) }},冻结佣金:¥{{ fen2yuan(commission.frozenPrice) }} 说明: 每笔佣金的冻结期为{{frozenDays}}天,到期后可提现 @@ -190,7 +190,7 @@ }) TradeConfigApi.getTradeConfig().then(res => { this.minPrice = (res.data.brokerageWithdrawMinPrice || 0) / 100.0; - this.frozenDays = res.data.brokerageWithdrawMinPrice || 0; + this.frozenDays = res.data.brokerageFrozenDays || 0; }); }, getUserExtractBank: function() { From a91b09a5fc131ca06791767c5b6359b7b6c5d486 Mon Sep 17 00:00:00 2001 From: owen Date: Fri, 22 Sep 2023 15:11:03 +0800 Subject: [PATCH 2/6] =?UTF-8?q?system:=20uniapp=E5=A2=9E=E5=8A=A0=E5=AD=97?= =?UTF-8?q?=E5=85=B8=E6=95=B0=E6=8D=AE=E6=9F=A5=E8=AF=A2=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/system/dict.js | 6 ++++++ utils/dict.js | 12 ++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 api/system/dict.js create mode 100644 utils/dict.js diff --git a/api/system/dict.js b/api/system/dict.js new file mode 100644 index 00000000..b0a923a5 --- /dev/null +++ b/api/system/dict.js @@ -0,0 +1,6 @@ +import request from "@/utils/request.js"; + +// 根据字典类型查询字典数据信息 +export function getDicts(dictType) { + return request.get('app-api/system/dict-data/type/' + dictType); +} diff --git a/utils/dict.js b/utils/dict.js new file mode 100644 index 00000000..df9da16b --- /dev/null +++ b/utils/dict.js @@ -0,0 +1,12 @@ +/** + * Created by 芋道源码 + * + * 数据字典工具类 + */ + +export const DICT_TYPE = { + + // ========== MALL - 交易模块 ========== + BROKERAGE_BANK_NAME: 'brokerage_bank_name', // 佣金提现银行 + +} From 4f219f2551b78698be397ca79b5f767faf246fed Mon Sep 17 00:00:00 2001 From: owen Date: Fri, 22 Sep 2023 15:38:40 +0800 Subject: [PATCH 3/6] =?UTF-8?q?=E5=88=86=E4=BD=A3=EF=BC=9A=E6=8F=90?= =?UTF-8?q?=E7=8E=B0=E9=93=B6=E8=A1=8C=E5=8D=A1=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/users/user_cash/index.vue | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/pages/users/user_cash/index.vue b/pages/users/user_cash/index.vue index c9b18e65..85216fdd 100644 --- a/pages/users/user_cash/index.vue +++ b/pages/users/user_cash/index.vue @@ -22,8 +22,8 @@ 银行 - - {{array[index]}} + + {{bankList[bankIndex] && bankList[bankIndex].label}} @@ -110,12 +110,13 @@