code: change default font link

This commit is contained in:
ShawnPhang 2023-09-20 16:14:22 +08:00
parent 013bed5fc1
commit d2df5c488b
5 changed files with 10 additions and 21 deletions

View File

@ -3,7 +3,7 @@
* @Date: 2022-01-17 16:06:30
* @Description: Design Palxp
* @LastEditors: ShawnPhang <https://m.palxp.cn>
* @LastEditTime: 2023-09-13 13:12:09
* @LastEditTime: 2023-09-19 18:36:13
-->
<!DOCTYPE html>
<html lang="zh-CN">
@ -18,6 +18,6 @@
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
<script defer src="/snap.svg-min.js"></script>
<script defer src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
</body>
</html>

View File

@ -3,12 +3,12 @@
* @Date: 2023-09-18 17:34:44
* @Description:
* @LastEditors: ShawnPhang <https://m.palxp.cn>
* @LastEditTime: 2023-09-18 18:05:22
* @LastEditTime: 2023-09-20 16:10:58
-->
<template>
<div id="appindex">
<div class="viewWrap">
<router-view></router-view>
<router-view />
</div>
</div>
</template>
@ -17,21 +17,8 @@
#appindex {
min-width: 1180px;
.viewWrap {
// background-color: #ffffff;
min-height: calc(110vh - 110px);
min-width: 1170px;
}
}
// .fade-enter-active {
// transition: opacity 0.3s;
// }
// .fade-leave-active {
// transition: opacity 0.3s;
// }
// .fade-enter {
// opacity: 0;
// }
// .fade-leave-to {
// opacity: 0;
// }
</style>

View File

@ -73,7 +73,7 @@ export default {
alias: '素材集市酷方体',
id: 33925853,
value: 'sucaijishikufangti',
url: 'https://res.palxp.com/static/fonts/20200809-152508-8654.woff',
url: 'https://res.palxp.cn/static/fonts/20200809-152508-8654.woff',
},
fontFamily: 'SourceHanSansSC-Regular',
fontWeight: 'normal',

View File

@ -3,17 +3,18 @@
* @Date: 2023-09-07 22:56:09
* @Description:
* @LastEditors: ShawnPhang <https://m.palxp.cn>
* @LastEditTime: 2023-09-16 20:39:29
* @LastEditTime: 2023-09-20 16:09:59
*/
// const prefix = import.meta.env
const prefix = process.env
const isDev = prefix.NODE_ENV === 'development'
import { version } from '../package.json'
export default {
isDev,
BASE_URL: isDev ? '/' : './',
VERSION: '1.1.0',
VERSION: version,
APP_NAME: '迅排设计',
COPYRIGHT: 'ShawnPhang - Palxp.cn',
// API_URL: isDev ? 'http://localhost:9998' : '${API}',

View File

@ -16,7 +16,8 @@
"paths": {
"@/*": ["src/*"]
},
"lib": ["esnext", "dom", "dom.iterable", "scripthost"]
"lib": ["esnext", "dom", "dom.iterable", "scripthost"],
"resolveJsonModule": true
},
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue", "tests/**/*.ts", "tests/**/*.tsx"],
"exclude": ["node_modules"]