From df78c216ffa2ded2936d1d7fe6c4f9577ad81d16 Mon Sep 17 00:00:00 2001 From: ltlzx <942659938@qq.com> Date: Fri, 11 Mar 2022 18:31:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=96=87=E6=A1=A3=202022.3.1?= =?UTF-8?q?1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- i18n/lang/en.json | 18 ++++++++++-------- i18n/lang/zh-CN.json | 5 +++-- pages/accountSettings/accountSettings.vue | 4 ++-- pages/assets/recharge.vue | 4 ++-- pages/base/index.vue | 17 +++++++++-------- pages/base/mine.vue | 6 +++--- pages/exchange/contract-history.vue | 14 +++++++++----- pages/exchange/contractHis.vue | 2 +- pages/exchange/exchange-transaction.vue | 16 ++++++++++------ pages/exchange/his.vue | 4 ++-- pages/exchange/open-position.vue | 21 +++++++++++++-------- pages/exchange/position.vue | 2 +- pages/notice/index.vue | 15 ++++++++------- pages/purchase/bill.vue | 12 ++++++++---- pages/purchase/index.vue | 9 ++++++--- pages/transfer/index.vue | 5 ++++- 16 files changed, 91 insertions(+), 63 deletions(-) diff --git a/i18n/lang/en.json b/i18n/lang/en.json index be1b82a..b13ad86 100755 --- a/i18n/lang/en.json +++ b/i18n/lang/en.json @@ -66,7 +66,8 @@ "c3":"Openable", "c4":"Margin", "c5": "your transfer order has been submitted successfully, please wait patiently, and the transfer result will be notified by SMS or e-mail. Please check it carefully. If you have any questions, please contact the customer service in time.", - "c6":"Proportion of increase" + "c6":"Proportion of increase", + "c7":"Current valuation" }, "base": { "a0": "Title", @@ -447,7 +448,8 @@ "b1": "Transfer Amount", "b2": "Balance", "b3": "All", - "b4": "Transferred" + "b4": "Transferred", + "b5":"Transfer Currency" }, "notice": { "a0": "Details", @@ -514,11 +516,11 @@ "a5": "Opened successfully", "a6": "Transaction Type", "a7": "Filled", - "a8": "Order Total", - "a9": "Average Transaction Price", - "b0": "Order Price", + "a8": "Amount", + "a9": "Avg.", + "b0": "Price", "b1": "Margin", - "b2": "Handling Fee", + "b2": "Fee", "b3": "Status", "b4": "Operation", "b5": "Cancel order", @@ -533,7 +535,7 @@ "c4": "Warm Reminder", "c5": "Whether to cancel the current order", "c6": "Undo successfully", - "c7": "Profit and Loss", + "c7": "Realized PNL", "c8": "Share", "c9": "Delegation Details", "d0": "No data yet", @@ -550,7 +552,7 @@ "e1": "Can open more", "e2": "sell", "e3": "Can open empty", - "e4": "Available", + "e4": "Available Max", "e5": "Transfer", "e6": "Fund Rate", "e7": "Distance settlement", diff --git a/i18n/lang/zh-CN.json b/i18n/lang/zh-CN.json index 5faa23f..2177772 100755 --- a/i18n/lang/zh-CN.json +++ b/i18n/lang/zh-CN.json @@ -66,7 +66,8 @@ "c3": "可开", "c4": "预估保证金", "c5": "您的划转订单已提交成功,请耐心等待,划转结果会以短信或邮件的方式通知。请注意查收,如有疑问请及时联系客服", - "c6":"涨幅比例" + "c6":"涨幅比例", + "c7":"当前估值" }, "base": { "a0": "标题", @@ -456,7 +457,7 @@ "a3": "消息" }, "invite": { - "a0": "尊享交易返佣邀请好友", + "a0": "申购", "a1": "合伙人", "a2": "尊享交易返佣", "a3": "普通用户", diff --git a/pages/accountSettings/accountSettings.vue b/pages/accountSettings/accountSettings.vue index dec37e7..43865cb 100755 --- a/pages/accountSettings/accountSettings.vue +++ b/pages/accountSettings/accountSettings.vue @@ -37,7 +37,7 @@ - - + --> - {{$t('recharge.a1')}}{{text}} {{coin}}{{$t('recharge.a2')}} + {{$t('recharge.a1')}}{{text}} {{coin}}.{{$t('recharge.a2')}} - {{$t('recharge.a3')}} + diff --git a/pages/base/index.vue b/pages/base/index.vue index 084a329..ddeecba 100755 --- a/pages/base/index.vue +++ b/pages/base/index.vue @@ -74,20 +74,21 @@ export default { icon: "static/img/base_link_0.png", activeIcon: "static/img/base_link_1.png", }, + { + label: this.$t("exchange.a2"), + tel: "contract", + icon: "static/img/base_caidan_0.png", + activeIcon: "static/img/base_caidan_1.png", + }, { // label: this.$t("base.a4"), // tel: "option-list", - label: this.$t("purchase.a5"), - tel: "purchase", + label: this.$t("purchase.a5"), + tel: "purchase", icon: "static/img/base_qukuai_0.png", activeIcon: "static/img/base_qukuai_1.png", }, - { - label: this.$t("exchange.a2"), - tel: "contract", - icon: "static/img/base_caidan_0.png", - activeIcon: "static/img/base_caidan_1.png", - }, + { label: this.$t("base.d2"), tel: "mine", diff --git a/pages/base/mine.vue b/pages/base/mine.vue index b584141..473224b 100755 --- a/pages/base/mine.vue +++ b/pages/base/mine.vue @@ -19,7 +19,7 @@ - ≈{{ account.total_assets_usd }} USD + ≈{{ (account.total_assets_usd).toFixed(4) }} USD @@ -121,7 +121,7 @@ - ≈{{ account.funds_account_usd }} + ≈{{ (account.funds_account_usd).toFixed(4) }} {{ $t("base.d6") }}(USDT) @@ -150,7 +150,7 @@ icon-size="16" > {{ $t("base.e0") }}0{{ $t("base.e1") }}{{ $t("base.e0") }} 0 {{ $t("base.e1") }} diff --git a/pages/exchange/contract-history.vue b/pages/exchange/contract-history.vue index 3cad957..1867115 100755 --- a/pages/exchange/contract-history.vue +++ b/pages/exchange/contract-history.vue @@ -2,11 +2,13 @@ + + {{$t('contract.b3')}} {{ status(item.status) }} - + + >{{$t('contract.c8')}} + {{$t('contract.c8')}} - + --> {{ $t("contract.h3") }} - {{ $t("contract.k8") }} + - + + {{ $t("contract.e4") }} + (USDT) + + + + {{accountInfo.usable_balance}} + @@ -356,13 +361,13 @@ --> - {{ $t("contract.g3") }} - + --> {{ $t("contract.k7") }} @@ -382,7 +387,7 @@ --> - + {{ $t("contract.h3") }} @@ -52,7 +53,7 @@ import Member from "@/api/member"; export default { data() { return { - active: 0, + active: 1, myNotifiables: Member.myNotifiables, article:Member.article }; diff --git a/pages/purchase/bill.vue b/pages/purchase/bill.vue index c37863a..ea9ccbc 100755 --- a/pages/purchase/bill.vue +++ b/pages/purchase/bill.vue @@ -26,10 +26,14 @@ {{$t('common.a5')}} {{item.subscription_currency_amount}} - - {{$t('common.c6')}} - {{ ( ((issue_price-(item.payment_amount/item.subscription_currency_amount))/issue_price)*100 ).toFixed(2) }}% - + + {{$t('common.c6')}} + {{ ( item.increase_ratio ).toFixed(5) }}% + + + {{$t('common.c7')}} + {{ ( item.total_value ).toFixed(5) }} + diff --git a/pages/purchase/index.vue b/pages/purchase/index.vue index ba0aa07..41e8c2b 100755 --- a/pages/purchase/index.vue +++ b/pages/purchase/index.vue @@ -81,11 +81,14 @@ 1 {{ activeCoin.coin_name }} ≈ - {{ omitTo(activeCoin.proportion_amount, 4) }} + + {{ omitTo((1 / detail.issue_price),4) }} {{ detail.coin_name }} {{ num || 0 }} {{ activeCoin.coin_name }} ≈ {{ total }} + >{{ num || 0 }} {{ activeCoin.coin_name }} ≈ + + {{ omitTo(((activeCoin.CurrentPrice/ detail.issue_price)*num),4 )}} {{ detail.coin_name }} @@ -193,7 +196,7 @@ export default { return { coinList: [], detail: {}, - num: "", + num: 1, coin: "", subscription:false, subscriptionCode:"", diff --git a/pages/transfer/index.vue b/pages/transfer/index.vue index 34213cc..a8f8ff1 100755 --- a/pages/transfer/index.vue +++ b/pages/transfer/index.vue @@ -55,7 +55,10 @@ class="" > - {{ $t("transfer.b1") }} + + + {{ $t("transfer.b5") }} + {{ form.coin_name }}