feat:名称及logo修改

This commit is contained in:
一休哥哥6666
2026-06-18 18:45:46 +08:00
parent ddae147aef
commit 4d833d7882
23 changed files with 29 additions and 47 deletions

View File

@@ -1,10 +1,10 @@
# 页面标题
VUE_APP_TITLE = 觉远创智管理系统
VUE_APP_TITLE = 觉远创智功能镜片配镜系统
# 开发环境配置
ENV = 'development'
# 觉远创智管理系统/开发环境
# 觉远创智功能镜片配镜系统/开发环境
VUE_APP_BASE_API = '/dev-api'
# 路由懒加载

View File

@@ -1,10 +1,10 @@
# 页面标题
VUE_APP_TITLE = 觉远创智管理系统
VUE_APP_TITLE = 觉远创智功能镜片配镜系统
# 开发环境配置
ENV = 'development'
# 觉远创智管理系统/开发环境
# 觉远创智功能镜片配镜系统/开发环境
VUE_APP_BASE_API = '/dev-api'
# 路由懒加载

View File

@@ -1,8 +1,8 @@
# 页面标题
VUE_APP_TITLE = 觉远创智管理系统
VUE_APP_TITLE = 觉远创智功能镜片配镜系统
# 生产环境配置
ENV = 'production'
# 觉远创智管理系统/生产环境
# 觉远创智功能镜片配镜系统/生产环境
VUE_APP_BASE_API = '/prod-api'

View File

@@ -1,10 +1,10 @@
# 页面标题
VUE_APP_TITLE = 觉远创智管理系统
VUE_APP_TITLE = 觉远创智功能镜片配镜系统
NODE_ENV = production
# 测试环境配置
ENV = 'staging'
# 觉远创智管理系统/测试环境
# 觉远创智功能镜片配镜系统/测试环境
VUE_APP_BASE_API = '/stage-api'

View File

@@ -1,7 +1,7 @@
{
"name": "ruoyi",
"version": "3.8.8",
"description": "觉远创智管理系统",
"description": "觉远创智功能镜片配镜系统",
"author": "觉远创智",
"license": "MIT",
"scripts": {

View File

@@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<!-- <title>11<%= webpackConfig.name %></title> -->
<title>觉远创智管理系统</title>
<title>觉远创智功能镜片配镜系统</title>
<!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
<style>
html,

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

@@ -2,11 +2,9 @@
<div class="sidebar-logo-container" :class="{'collapse':collapse}" :style="{ backgroundColor: sideTheme === 'theme-dark' ? variables.menuBackground : variables.menuLightBackground }">
<transition name="sidebarLogoFade">
<router-link v-if="collapse" key="collapse" class="sidebar-logo-link" to="/">
<img v-if="logo" :src="logo" class="sidebar-logo" />
<h1 v-else class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">{{ title }} </h1>
<h1 class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">{{ title }} </h1>
</router-link>
<router-link v-else key="expand" class="sidebar-logo-link" to="/">
<img v-if="logo" :src="logo" class="sidebar-logo" />
<h1 class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">{{ title }} </h1>
</router-link>
</transition>
@@ -14,7 +12,6 @@
</template>
<script>
import logoImg from '@/assets/logo/logo.png'
import variables from '@/assets/styles/variables.scss'
export default {
@@ -35,9 +32,7 @@ export default {
},
data() {
return {
// title: process.env.VUE_APP_TITLE,
title: '觉远创智管理系统',
logo: logoImg
title: '觉远创智功能镜片配镜系统'
}
}
}
@@ -66,13 +61,6 @@ export default {
height: 100%;
width: 100%;
& .sidebar-logo {
width: 32px;
height: 32px;
vertical-align: middle;
margin-right: 12px;
}
& .sidebar-title {
display: inline-block;
margin: 0;
@@ -84,11 +72,5 @@ export default {
vertical-align: middle;
}
}
&.collapse {
.sidebar-logo {
margin-right: 0px;
}
}
}
</style>

View File

@@ -1,7 +1,7 @@
<template>
<div class="login">
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
<h3 class="title">觉远创智后台管理系统</h3>
<h3 class="title">觉远创智功能镜片配镜系统</h3>
<el-form-item prop="username">
<el-input
v-model="loginForm.username"

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" />

View File

@@ -7,8 +7,8 @@ function resolve(dir) {
const CompressionPlugin = require('compression-webpack-plugin')
// const name = process.env.VUE_APP_TITLE || '觉远创智管理系统' // 网页标题
const name = '觉远创智管理系统' // 网页标题
// const name = process.env.VUE_APP_TITLE || '觉远创智功能镜片配镜系统' // 网页标题
const name = '觉远创智功能镜片配镜系统' // 网页标题
const port = process.env.port || process.env.npm_config_port || 2091 // 端口