|
@@ -3,7 +3,7 @@
|
|
<!-- {{ list }}-->
|
|
<!-- {{ list }}-->
|
|
|
|
|
|
<div class="max-w-screen-lg my-[50px] mx-auto">
|
|
<div class="max-w-screen-lg my-[50px] mx-auto">
|
|
- <n-h2> 搜索结果:</n-h2>
|
|
|
|
|
|
+ <n-h2> {{$t('search_res')}}:</n-h2>
|
|
<template v-if="list.length > 0">
|
|
<template v-if="list.length > 0">
|
|
<n-list hoverable clickable>
|
|
<n-list hoverable clickable>
|
|
<template v-for="(item, index) in list" :key="index">
|
|
<template v-for="(item, index) in list" :key="index">
|
|
@@ -19,7 +19,7 @@
|
|
</template>
|
|
</template>
|
|
</n-list>
|
|
</n-list>
|
|
|
|
|
|
- <div class="my-[50px] mx-auto text-center color-[#909090]">共 {{ list.length }} 条数据</div>
|
|
|
|
|
|
+ <div class="my-[50px] mx-auto text-center color-[#909090]">{{ $t('all') }} {{ list.length }} {{ $t('record') }}</div>
|
|
</template>
|
|
</template>
|
|
<n-empty
|
|
<n-empty
|
|
v-else
|
|
v-else
|
|
@@ -28,7 +28,7 @@
|
|
class="min-h-[500px] flex align-center justify-center"
|
|
class="min-h-[500px] flex align-center justify-center"
|
|
>
|
|
>
|
|
<template #extra>
|
|
<template #extra>
|
|
- <n-button size="small" @click="$router.push('/')"> 返回</n-button>
|
|
|
|
|
|
+ <n-button size="small" @click="$router.push('/')"> {{ $t('back') }}</n-button>
|
|
</template>
|
|
</template>
|
|
</n-empty>
|
|
</n-empty>
|
|
</div>
|
|
</div>
|