diff --git a/src/App.vue b/src/App.vue index df071bc..055d4ac 100644 --- a/src/App.vue +++ b/src/App.vue @@ -42,33 +42,21 @@ - - - - - - - - - - {{ item.name }} - - - + + + + @@ -83,18 +71,207 @@ + + + + {{ $t('UserInfo') }} + + + + + + + + + {{ $t('Username') }} + + + {{ $t('Logout') }} + + + + + + + {{ user.nick_name ? user.nick_name : '- -' }} + + + + + + + + + {{ $t('Balance') }} + + {{ $t('Charge') }} + + + {{ $t('Refresh') }} + + + + + {{ walletConfig.unit }} + + + + + + + {{ $t('ChatHistory') }} + + + + + + {{ record.created_at }} + + + + + {{ record.model_name }} + + + + {{ record.prompt_tokens + record.completion_tokens }} + + + {{ + ( + ( + record.prompt_tokens * record.prompt_token_unit_price / 1000 + + record.completion_tokens * record.completion_token_unit_price / 1000 + ) + ).toFixed(4) + }} + + + + + + + + {{ $t('Charge') }} + + + + + + {{ $t('WeChatScan') }} + + + + {{ $t('FinishCharge') }} + + + + + + + {{ walletConfig.unit }} + + + + + + + {{ $t('Cancel') }} + + + {{ $t('Charge') }} + + + + +