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

View File

@ -3,12 +3,12 @@
* @Date: 2023-09-18 17:34:44 * @Date: 2023-09-18 17:34:44
* @Description: * @Description:
* @LastEditors: ShawnPhang <https://m.palxp.cn> * @LastEditors: ShawnPhang <https://m.palxp.cn>
* @LastEditTime: 2023-09-18 18:05:22 * @LastEditTime: 2023-09-20 16:10:58
--> -->
<template> <template>
<div id="appindex"> <div id="appindex">
<div class="viewWrap"> <div class="viewWrap">
<router-view></router-view> <router-view />
</div> </div>
</div> </div>
</template> </template>
@ -17,21 +17,8 @@
#appindex { #appindex {
min-width: 1180px; min-width: 1180px;
.viewWrap { .viewWrap {
// background-color: #ffffff;
min-height: calc(110vh - 110px); min-height: calc(110vh - 110px);
min-width: 1170px; 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> </style>

View File

@ -73,7 +73,7 @@ export default {
alias: '素材集市酷方体', alias: '素材集市酷方体',
id: 33925853, id: 33925853,
value: 'sucaijishikufangti', 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', fontFamily: 'SourceHanSansSC-Regular',
fontWeight: 'normal', fontWeight: 'normal',

View File

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

View File

@ -16,7 +16,8 @@
"paths": { "paths": {
"@/*": ["src/*"] "@/*": ["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"], "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue", "tests/**/*.ts", "tests/**/*.tsx"],
"exclude": ["node_modules"] "exclude": ["node_modules"]