修改了查询所有的笔顺码seo

This commit is contained in:
ZtRXR 2023-09-01 16:52:32 +08:00
parent 5418e0ddd5
commit 9d5e3733a2
2 changed files with 31 additions and 1 deletions

View File

@ -12,7 +12,7 @@
<NuxtLink to="/">主页</NuxtLink>
<NuxtLink to="/tools/qqazk/">笔顺码字典首页</NuxtLink>
<NuxtLink to="/tools/qqazk/about">笔顺码字典关于</NuxtLink>
<NuxtLink to="/tools/qqazk/search?words=&method=bsmf">所有笔顺码</NuxtLink>
<NuxtLink to="/map/qqazk">所有笔顺码</NuxtLink>
</div>
</template>

30
pages/map/qqazk.vue Normal file
View File

@ -0,0 +1,30 @@
<script setup lang="ts">
import {Action} from "element-plus";
const dataRaw = await $fetch(`/api/tools/qqazk/search?words=&method=hz`)
if (dataRaw.haveMess){
ElMessageBox.alert(dataRaw.message,"获取资源错误",{
confirmButtonText: '确认',
callback:(action:Action)=>{
}
})
}
let arr = dataRaw.data
// console.log(arr)
</script>
<template>
<Title>网站地图-所有笔顺码</Title>
<NuxtLink v-for="value in arr" :to="'/tools/qqazk/details/'+value.id">
{{value.hz}}
</NuxtLink>
</template>
<style scoped>
a {
margin: 10px;
}
</style>