diff --git a/i18n/lang/en.json b/i18n/lang/en.json index d4ac2be..6e47632 100755 --- a/i18n/lang/en.json +++ b/i18n/lang/en.json @@ -65,7 +65,8 @@ "c2":"Version number", "c3":"Openable", "c4":"Estimated 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." + "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" }, "base": { "a0": "Title", diff --git a/i18n/lang/zh-CN.json b/i18n/lang/zh-CN.json index 5856fbd..5faa23f 100755 --- a/i18n/lang/zh-CN.json +++ b/i18n/lang/zh-CN.json @@ -65,7 +65,8 @@ "c2":"版本号", "c3": "可开", "c4": "预估保证金", - "c5": "您的划转订单已提交成功,请耐心等待,划转结果会以短信或邮件的方式通知。请注意查收,如有疑问请及时联系客服" + "c5": "您的划转订单已提交成功,请耐心等待,划转结果会以短信或邮件的方式通知。请注意查收,如有疑问请及时联系客服", + "c6":"涨幅比例" }, "base": { "a0": "标题", diff --git a/i18n/lang/zh-TW.json b/i18n/lang/zh-TW.json index b2a758e..f7faa71 100755 --- a/i18n/lang/zh-TW.json +++ b/i18n/lang/zh-TW.json @@ -65,7 +65,8 @@ "c2":"版本號", "c3":"可開", "c4":"預估保證金", - "c5":"您的劃轉訂單已提交成功,請耐心等待,劃轉結果會以簡訊或郵件的管道通知。請注意查收,如有疑問請及時聯系客服" + "c5":"您的劃轉訂單已提交成功,請耐心等待,劃轉結果會以簡訊或郵件的管道通知。請注意查收,如有疑問請及時聯系客服", + "c6":"漲幅比例" }, "base": { "a0": "標題", diff --git a/pages/purchase/bill.vue b/pages/purchase/bill.vue index b78347c..c37863a 100755 --- a/pages/purchase/bill.vue +++ b/pages/purchase/bill.vue @@ -26,6 +26,10 @@
{{$t('common.a5')}}
{{item.subscription_currency_amount}}
+
+
{{$t('common.c6')}}
+
{{ ( ((issue_price-(item.payment_amount/item.subscription_currency_amount))/issue_price)*100 ).toFixed(2) }}%
+
@@ -47,6 +51,7 @@ export default { ContractAccount: this.$t('transfer.a5'), FinancialAccount: this.$t('transfer.a7'), }, + issue_price:null }; }, computed: { @@ -75,6 +80,9 @@ export default { }); }, }, - created() {}, + created() { + console.info(this.$route) + this.issue_price=this.$route.query.issue_price + }, }; \ No newline at end of file diff --git a/pages/purchase/index.vue b/pages/purchase/index.vue index d800482..ba0aa07 100755 --- a/pages/purchase/index.vue +++ b/pages/purchase/index.vue @@ -4,7 +4,7 @@ @@ -233,6 +233,7 @@ export default { getInfo() { Subscride.subscribe().then((res) => { this.detail = res.data; + }); }, // 选择币种