feat: update video page

* chore(i18n): change view value
This commit is contained in:
Hakadao
2023-03-15 02:36:50 +08:00
parent 475bdb0b0e
commit 35badee450
8 changed files with 36 additions and 18 deletions

View File

@@ -302,11 +302,8 @@ function gotoChannel(mid: number) {
{{ videoData.owner.name }}
</div>
<div class="video-info" text="base $bew-text-2">
{{ numFormatter(videoData.stat.view)
}}{{
language === LanguageType.English
? ` ${$t('common.view', videoData.stat.view)}`
: $t('common.view', videoData.stat.view)
{{
$t('common.view', { count: numFormatter(videoData.stat.view) })
}}
<span class="text-xs font-light"></span>
{{ calcTimeSince(videoData.pubdate * 1000) }}