failure record

This commit is contained in:
mubai
2025-02-18 14:36:12 +08:00
parent 206cbeeb5b
commit b5b0889abe
9 changed files with 119 additions and 58 deletions

View File

@@ -25,9 +25,10 @@
--bg-light: #ffffff;
--bg-dark: #21252b;
--active--text-color: #ffb22cd6;
--active--bg-color: #ffb22c0d;
--text-color-primary: #ffffff;
--content-text-color: #888888;

View File

@@ -77,8 +77,8 @@ onMounted(() => {
.c_nav {
display: flex;
justify-content: space-between;
padding: 6px;
border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}
.c_nav_text {
@@ -87,8 +87,14 @@ onMounted(() => {
}
.c_nav_more {
background: #25252b;
border-radius: 8px;
border-radius: 5px;
background: linear-gradient(#ffffff15, #ffffff1a);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.c_nav_more:hover {
color: var(--active--text-color);
background-color: var(--active--bg-color);
}
.content > div {

View File

@@ -7,32 +7,32 @@ import {ElementPlusResolver} from "unplugin-vue-components/resolvers";
export default defineConfig({
// 本地测试环境
// server: {
// host: '0.0.0.0',
// port: 3600,
// proxy: {
// "/api": {
// // target: `http://127.0.0.1:3601`,
// target: `http://113.44.5.201:3601`,
// changeOrigin: true, // 允许跨域
// rewrite: path => path.replace(/^\/api/, '')
// }
// },
// },
// nginx发布构建时使用此配置
server: {
host: 'localhost',
host: '0.0.0.0',
port: 3600,
proxy: {
"/api": {
target: `http://localhost`,
target: `http://127.0.0.1:3601`,
// target: `http://113.44.5.201:3601`,
changeOrigin: true, // 允许跨域
rewrite: path => path.replace(/^\/api/,'')
rewrite: path => path.replace(/^\/api/, '')
}
},
},
// nginx发布构建时使用此配置
// server: {
// host: 'localhost',
// port: 3600,
// proxy: {
// "/api": {
// target: `http://localhost`,
// changeOrigin: true, // 允许跨域
// rewrite: path => path.replace(/^\/api/,'')
// }
// },
// },
plugins: [
vue(),
AutoImport({