feat: 添加国际化支持,更新市场和交易视图中的文本,优化用户体验
This commit is contained in:
@@ -5,6 +5,8 @@ import { client, safeClient } from "@/api";
|
||||
import Category from "./components/category.vue";
|
||||
import RwaList from "./components/rwa-list.vue";
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
const [query] = useResetRef<AvailableSubscriptionBody>({
|
||||
limit: 20,
|
||||
offset: 0,
|
||||
@@ -59,7 +61,7 @@ onBeforeMount(() => {
|
||||
<template>
|
||||
<IonPage>
|
||||
<IonHeader class="ion-padding ui-header">
|
||||
<ion-searchbar placeholder=" Search" />
|
||||
<ion-searchbar :placeholder="t('market.search.placeholder')" />
|
||||
<Category v-model="query!.categoryId" />
|
||||
</IonHeader>
|
||||
<IonContent :fullscreen="true" class="ion-padding">
|
||||
@@ -72,7 +74,7 @@ onBeforeMount(() => {
|
||||
<ion-infinite-scroll threshold="100px" @ion-infinite="handleInfinite">
|
||||
<ion-infinite-scroll-content
|
||||
loading-spinner="bubbles"
|
||||
loading-text="加载更多..."
|
||||
:loading-text="t('market.loading.loadingMore')"
|
||||
/>
|
||||
</ion-infinite-scroll>
|
||||
</IonContent>
|
||||
|
||||
Reference in New Issue
Block a user