初始化项目

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' ENV = 'development'

View File

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

View File

@ -1,5 +1,5 @@
# 页面标题 # 页面标题
VUE_APP_TITLE = 小鹿骑行管理系统 VUE_APP_TITLE = 爆灯后台管理系统
NODE_ENV = production 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 storageSetting = JSON.parse(localStorage.getItem('layout-setting')) || ''
const state = { const state = {
title: '', title: '',
theme: storageSetting.theme || '#409EFF', theme: storageSetting.theme || '#fe4757',
sideTheme: storageSetting.sideTheme || sideTheme, sideTheme: storageSetting.sideTheme || sideTheme,
showSettings: showSettings, showSettings: showSettings,
topNav: storageSetting.topNav === undefined ? topNav : storageSetting.topNav, topNav: storageSetting.topNav === undefined ? topNav : storageSetting.topNav,

View File

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

View File

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

View File

@ -7,7 +7,7 @@ function resolve(dir) {
const CompressionPlugin = require('compression-webpack-plugin') 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 // 端口 const port = process.env.port || process.env.npm_config_port || 4100 // 端口
@ -36,7 +36,7 @@ module.exports = {
proxy: { proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy // detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: { [process.env.VUE_APP_BASE_API]: {
target: `http://localhost:4101`, target: `http://localhost:4301`,
// target: `https://ele.ccttiot.com/prod-api`, // target: `https://ele.ccttiot.com/prod-api`,
changeOrigin: true, changeOrigin: true,
pathRewrite: { pathRewrite: {