初始化项目

This commit is contained in:
磷叶 2025-04-18 12:01:45 +08:00
parent 3c583490cf
commit a84ba50ed3
11 changed files with 12 additions and 12 deletions

View File

@ -1,5 +1,5 @@
# 页面标题
VUE_APP_TITLE = 电动车v2
VUE_APP_TITLE = 爆灯系统
# 开发环境配置
ENV = 'development'

View File

@ -1,5 +1,5 @@
# 页面标题
VUE_APP_TITLE = 小鹿骑行管理系统
VUE_APP_TITLE = 爆灯后台管理系统
# 生产环境配置
ENV = 'production'

View File

@ -1,5 +1,5 @@
# 页面标题
VUE_APP_TITLE = 小鹿骑行管理系统
VUE_APP_TITLE = 爆灯后台管理系统
NODE_ENV = production

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1002 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@ -5,7 +5,7 @@ const { sideTheme, showSettings, topNav, tagsView, fixedHeader, sidebarLogo, dyn
const storageSetting = JSON.parse(localStorage.getItem('layout-setting')) || ''
const state = {
title: '',
theme: storageSetting.theme || '#409EFF',
theme: storageSetting.theme || '#fe4757',
sideTheme: storageSetting.sideTheme || sideTheme,
showSettings: showSettings,
topNav: storageSetting.topNav === undefined ? topNav : storageSetting.topNav,

View File

@ -4,7 +4,7 @@
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
<h3 class="title-box">
<img :src="logo" class="logo"/>
<span class="title">小鹿骑行管理系统</span>
<span class="title">爆灯后台管理系统</span>
</h3>
<el-form-item prop="username">
<el-input
@ -172,8 +172,8 @@ export default {
.bg-box {
flex: 1;
background-image: url("../assets/images/login-background.png");
-webkit-background-image: url("../assets/images/login-background.png");
background-image: url("../assets/images/login-background.jpg");
-webkit-background-image: url("../assets/images/login-background.jpg");
background-size: cover;
-webkit-background-size: cover;
background-position: center;

View File

@ -1,7 +1,7 @@
<template>
<div class="register">
<el-form ref="registerForm" :model="registerForm" :rules="registerRules" class="register-form">
<h3 class="title">小鹿骑行管理系统</h3>
<h3 class="title">爆灯后台管理系统</h3>
<el-form-item prop="username">
<el-input v-model="registerForm.username" type="text" auto-complete="off" placeholder="账号">
<svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
@ -151,7 +151,7 @@ export default {
justify-content: center;
align-items: center;
height: 100%;
background-image: url("../assets/images/login-background.png");
background-image: url("../assets/images/login-background.jpg");
background-size: cover;
}
.title {

View File

@ -7,7 +7,7 @@ function resolve(dir) {
const CompressionPlugin = require('compression-webpack-plugin')
const name = process.env.VUE_APP_TITLE || '小鹿骑行管理系统' // 网页标题
const name = process.env.VUE_APP_TITLE || '爆灯后台管理系统' // 网页标题
const port = process.env.port || process.env.npm_config_port || 4100 // 端口
@ -36,7 +36,7 @@ module.exports = {
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
target: `http://localhost:4101`,
target: `http://localhost:4301`,
// target: `https://ele.ccttiot.com/prod-api`,
changeOrigin: true,
pathRewrite: {