-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(字体美化): 整个项目全部使用得意黑字体 fix(Discuss): 修复了几个格式检查bug, 提供加载提交健壮性支持 feat(响应式布局): 根据页面尺寸修改显示内容
- Loading branch information
Showing
47 changed files
with
336 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ node_modules/ | |
build/ | ||
tmp/ | ||
temp/ | ||
public/logs/ | ||
public/logs/ | ||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
<script setup lang="ts"> | ||
import { RouterView } from 'vue-router' | ||
import '@/assets/fonts/stylesheet.css' | ||
</script> | ||
|
||
<template> | ||
<RouterView /> | ||
</template> | ||
</template> | ||
|
||
<style lang="less"> | ||
body { | ||
// font-family: Chinese Quote,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol; | ||
font-family: 'Smiley Sans'; | ||
font-weight: normal; | ||
font-style: italic; | ||
} | ||
</style> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
@font-face { | ||
font-family: 'Fira Code'; | ||
src: url('FiraCode-Bold.woff2') format('woff2'), | ||
url('FiraCode-Bold.woff') format('woff'); | ||
font-weight: bold; | ||
font-style: normal; | ||
font-display: swap; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Fira Code'; | ||
src: url('FiraCode-Light.woff2') format('woff2'), | ||
url('FiraCode-Light.woff') format('woff'); | ||
font-weight: 300; | ||
font-style: normal; | ||
font-display: swap; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Fira Code'; | ||
src: url('FiraCode-Medium.woff2') format('woff2'), | ||
url('FiraCode-Medium.woff') format('woff'); | ||
font-weight: 500; | ||
font-style: normal; | ||
font-display: swap; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Fira Code'; | ||
src: url('FiraCode-Regular.woff2') format('woff2'), | ||
url('FiraCode-Regular.woff') format('woff'); | ||
font-weight: normal; | ||
font-style: normal; | ||
font-display: swap; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Fira Code Retina'; | ||
src: url('FiraCode-Retina.woff2') format('woff2'), | ||
url('FiraCode-Retina.woff') format('woff'); | ||
font-weight: 500; | ||
font-style: normal; | ||
font-display: swap; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Fira Code'; | ||
src: url('FiraCode-SemiBold.woff2') format('woff2'), | ||
url('FiraCode-SemiBold.woff') format('woff'); | ||
font-weight: 600; | ||
font-style: normal; | ||
font-display: swap; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Smiley Sans'; | ||
src: url('SmileySans-Oblique.woff2') format('woff2'), | ||
url('SmileySans-Oblique.woff') format('woff'); | ||
font-weight: normal; | ||
font-style: italic; | ||
font-display: swap; | ||
} | ||
|
||
@font-face { | ||
font-family: 'Smiley Sans Oblique'; | ||
src: url('SmileySans-Oblique.woff2') format('woff2'), | ||
url('SmileySans-Oblique.woff') format('woff'); | ||
font-weight: normal; | ||
font-style: italic; | ||
font-display: swap; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,30 @@ | ||
<template> | ||
<el-button type="primary" :loading-icon="Star" loading>在这没有意义, 去管理一下你的文章吧</el-button> | ||
<!-- <el-button class="my-10" type="primary" :loading-icon="Star" loading>在这没有意义, 去管理一下你的文章吧</el-button><br /> | ||
<el-button type="primary" @click="$router.push('/admin/ArticleList')">文章列表</el-button> | ||
<el-button type="primary" @click="$router.push('/admin/addArticle')">添加新文章</el-button> | ||
<el-button type="primary" @click="$router.push('/admin/CategoryManager')">分类管理</el-button> | ||
<el-button type="primary" @click="$router.push('/admin/TagManager')">标签管理</el-button> | ||
<el-button type="primary" @click="$router.push('/admin/TagManager')">标签管理</el-button> --> | ||
<!-- <el-image class="h-full" :src="imgUrl" fit="contain"></el-image> --> | ||
<!-- <div class="flex items-center justify-center w-3/4 h-3/4 bg-cover bg-center" | ||
:style="{ backgroundImage: `url(${imgUrl})` }"> | ||
</div> --> | ||
<div> | ||
|
||
</div> | ||
</template> | ||
|
||
<script lang="ts" setup> | ||
import { Star } from '@element-plus/icons-vue' | ||
// import { Star } from '@element-plus/icons-vue' | ||
import { onMounted, ref } from 'vue'; | ||
// 生成一个三位随机数, 从0到206, 不足的用0补齐 | ||
const random = ref(Math.floor(Math.random() * 206).toString().padStart(3, '0')); | ||
const imgUrl = ref(''); | ||
onMounted(() => { | ||
setInterval(() => { | ||
random.value = Math.floor(Math.random() * 200).toString().padStart(3, '0'); | ||
imgUrl.value = `/api/images/img-${random.value}.jpg` | ||
}, 2 * 1000) | ||
}) | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.