更新标题逻辑

This commit is contained in:
ZtRXR 2023-09-02 10:58:39 +08:00
parent e1e795b5dc
commit a80ac8fae1
8 changed files with 197 additions and 4 deletions

View File

@ -1,5 +1,12 @@
<script setup lang="ts">
import TopBar from "~/components/index/TopBar.vue";
useHead({
titleTemplate: (titleChunk) => {
return titleChunk ? `${titleChunk} - ZZIYU DATA` : 'ZZIYU DATA';
}
})
</script>
<template>
<div class="common-layout">

View File

@ -11,7 +11,7 @@ const HotArray = await $fetch("https://data.zziyu.cn/hot/webs")
</script>
<template>
<Title>ZZIYU DATA</Title>
<!-- <Title>ZZIYU DATA</Title>-->
<client-only>
<el-menu
:default-active="route.path"

View File

@ -46,6 +46,9 @@ const d = ret.data
showCards.pyJs = nI.pyJs
showCards.bsm = nI.bsm
showCards.hz = nI.hz
useHead({
title: "'"+showCards.hz+"'汉字详情",
})
// console.log(showCards)
</script>

View File

@ -43,6 +43,10 @@ const testAndSearch = ()=>{
}
}
useHead({
title:"搜索笔顺码"
})
</script>
<template>

View File

@ -35,6 +35,9 @@ const pages =Math.ceil(showCards.value.length/aPage)
const clicked = ()=>{
isLoading.value=true
}
useHead({
title:"'"+props.words+"'搜索结果"
})
</script>

View File

@ -3,7 +3,7 @@ const route = useRoute()
</script>
<template>
<Title>笔顺码字典</Title>
<!-- <Title>笔顺码字典</Title>-->
<client-only>
<el-menu
:default-active="route.path"

View File

@ -1,9 +1,13 @@
<script setup lang="ts">
const HotArray = await $fetch("https://data.zziyu.cn/hot/webs")
useHead({
title: '网站地图',
})
</script>
<template>
<Title>网站地图</Title>
<!-- <Title>网站地图</Title>-->
<div style="display: flex;justify-content: center;flex-direction: column;align-items: center">
<NuxtLink to="/">主页</NuxtLink>
<NuxtLink to="/data/all">数据收集所有</NuxtLink>

View File

@ -3,7 +3,179 @@
</script>
<template>
<!-- <Title>定义笔顺码</Title>-->
<div class="aboutBody" style="display: flex;justify-content: center">
<div class="tableList">
<figure class="wp-block-table">
<table>
<tbody>
<tr>
<td>编码</td>
<td>笔形</td>
<td>笔画结构</td>
<td>例字</td>
</tr>
<tr>
<td>a</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>b</td>
<td>𠃍</td>
<td>横竖</td>
<td></td>
</tr>
<tr>
<td>c</td>
<td></td>
<td>横竖横乙形</td>
<td></td>
</tr>
<tr>
<td>d</td>
<td></td>
<td>横竖横竖</td>
<td></td>
</tr>
<tr>
<td>e</td>
<td>𠃌</td>
<td>横竖左勾</td>
<td></td>
</tr>
<tr>
<td>f</td>
<td></td>
<td>横竖右勾</td>
<td></td>
</tr>
<tr>
<td>g</td>
<td></td>
<td>横勾</td>
<td>注一</td>
</tr>
<tr>
<td>h</td>
<td></td>
<td>横撇</td>
<td>注二</td>
</tr>
<tr>
<td>i</td>
<td></td>
<td>横撇横撇</td>
<td></td>
</tr>
<tr>
<td>j</td>
<td>𠄎</td>
<td>横撇左弯勾</td>
<td>注三</td>
</tr>
<tr>
<td>k</td>
<td></td>
<td></td>
<td>注四</td>
</tr>
<tr>
<td>l</td>
<td>𠃊</td>
<td>竖横</td>
<td>注五</td>
</tr>
<tr>
<td>m</td>
<td>𠃑</td>
<td>竖横竖撇横撇</td>
<td>注六</td>
</tr>
<tr>
<td>n</td>
<td></td>
<td>竖横上钩</td>
<td></td>
</tr>
<tr>
<td>o</td>
<td></td>
<td>竖左勾</td>
<td></td>
</tr>
<tr>
<td>p</td>
<td>𠄌</td>
<td>竖右勾竖提</td>
<td></td>
</tr>
<tr>
<td>q</td>
<td></td>
<td></td>
<td>注七</td>
</tr>
<tr>
<td>r</td>
<td>𠃋</td>
<td>横撇撇提</td>
<td>注八</td>
</tr>
<tr>
<td>s</td>
<td>𡿨</td>
<td>撇长点</td>
<td></td>
</tr>
<tr>
<td>t</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>u</td>
<td></td>
<td>左弯勾</td>
<td></td>
</tr>
<tr>
<td>v</td>
<td></td>
<td>右弯勾</td>
<td></td>
</tr>
<tr>
<td>w</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>x</td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td>y</td>
<td>(左点)</td>
<td>左点</td>
<td></td>
</tr>
<tr>
<td>z</td>
<td></td>
<td>右点</td>
<td></td>
</tr>
</tbody>
</table>
</figure>
</div>
</div>
</template>
<style scoped>