完善:主题配置

This commit is contained in:
2022-08-16 17:53:09 +08:00
parent 8a5ae2abff
commit de7e62a824
7 changed files with 23 additions and 33 deletions

View File

@@ -33,7 +33,7 @@
<template #icon>
<svg class="icon" role="img" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"><path d="M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32z m-260 72h96v209.9L621.5 312 572 347.4V136z m220 752H232V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0 0 22.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752z"></path></svg>
</template>
{{ $year }} ( {{ $articleData.length }} )
{{ $year }} ( {{ $articleData.length }} )
</a-tag>
<a-tag
v-else
@@ -79,7 +79,6 @@
</template>
<script lang="ts" setup>
import { onMounted, watchEffect } from 'vue'
import articleData from '../../../../article-data.json'
import { formatDate, getQueryParam, goToLink } from '../utils.ts'