diff --git a/src/components/settings/BuyLicense.vue b/src/components/settings/BuyLicense.vue index 1053a1d..c5d0c60 100644 --- a/src/components/settings/BuyLicense.vue +++ b/src/components/settings/BuyLicense.vue @@ -6,7 +6,7 @@ readonly disabled /> -
+
{{ $t('license') }}: @@ -19,9 +19,9 @@ days.
-
- {{ $t('network') }}: - @@ -55,11 +55,16 @@
- +
+
+ + + +
@@ -145,11 +150,10 @@ export default { } }, methods: { - // change_network() { - // alert(this.payinfo.network + ' ' + this.payinfo.address) - // this.payinfo = this.payList.find(item => item.network === this.payinfo.network) - // alert(this.payinfo.network + ' ' + this.payinfo.address) - // }, + async copy_comment() { + await writeText(this.payinfo.comment) + this.$emitter.emit('showToast', this.$t('copySuccess')) + }, async copy_address() { await writeText(this.payinfo.address) this.$emitter.emit('showToast', this.$t('copySuccess')) diff --git a/src/i18n.js b/src/i18n.js index a754f54..f645ba0 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -370,7 +370,6 @@ export const i18n = createI18n({ batchAdd: 'Batch Add', batchAddTips: 'Platform##Email##Password##Username##Device\nExample: tiktok##email1##123##test##1\nOne account per line', batchAddConfirm: 'Are you sure you want to add these {count} accounts?', - address: 'Address', export: 'Export', exportConfirm: 'Are you sure you want to export accounts?', logined: 'Logined', @@ -414,12 +413,16 @@ export const i18n = createI18n({ instagram: 'Instagram', logout: 'Logout', logoutConfirm: 'Are you sure you want to logout all accounts on this device?', - network: 'Network', + depositNetwork: 'Deposit Network', + depositAddress: 'Deposit Address', + depositComment: 'Deposit Comment', networkTips: 'Please select the appropriate network for your coin recharge, different networks have different fees!', }, 'zh-CN': { networkTips: '请自己选择适合你的充币网络, 不同网络的手续费不同!', - network: '网络', + depositNetwork: '充币网络', + depositAddress: '充币地址', + depositComment: '充币备注', logoutConfirm: '确定要退出这个设备上面的所有账号吗?', logout: '登出', platform: '平台', @@ -463,7 +466,6 @@ export const i18n = createI18n({ unlogined: '未登录', exportConfirm: '是否确定导出帐号', export: '导出', - address: '地址', batchAddConfirm: '是否确定要添加这些 {count} 个帐号?', batchAddTips: '平台##邮箱##密码##用户名##设备号\n例如: tiktok##email1##123##test##1\n每行一个帐号', batchAdd: '批量添加',