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' ENV = 'development'
# 觉远创智管理系统/开发环境 # 觉远创智功能镜片配镜系统/开发环境
VUE_APP_BASE_API = '/dev-api' VUE_APP_BASE_API = '/dev-api'
# 路由懒加载 # 路由懒加载

View File

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

View File

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

View File

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

View File

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

View File

@@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="icon" href="<%= BASE_URL %>favicon.ico"> <link rel="icon" href="<%= BASE_URL %>favicon.ico">
<!-- <title>11<%= webpackConfig.name %></title> --> <!-- <title>11<%= webpackConfig.name %></title> -->
<title>觉远创智管理系统</title> <title>觉远创智功能镜片配镜系统</title>
<!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]--> <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
<style> <style>
html, 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 }"> <div class="sidebar-logo-container" :class="{'collapse':collapse}" :style="{ backgroundColor: sideTheme === 'theme-dark' ? variables.menuBackground : variables.menuLightBackground }">
<transition name="sidebarLogoFade"> <transition name="sidebarLogoFade">
<router-link v-if="collapse" key="collapse" class="sidebar-logo-link" to="/"> <router-link v-if="collapse" key="collapse" 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>
<h1 v-else class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">{{ title }} </h1>
</router-link> </router-link>
<router-link v-else key="expand" class="sidebar-logo-link" to="/"> <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> <h1 class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">{{ title }} </h1>
</router-link> </router-link>
</transition> </transition>
@@ -14,7 +12,6 @@
</template> </template>
<script> <script>
import logoImg from '@/assets/logo/logo.png'
import variables from '@/assets/styles/variables.scss' import variables from '@/assets/styles/variables.scss'
export default { export default {
@@ -35,9 +32,7 @@ export default {
}, },
data() { data() {
return { return {
// title: process.env.VUE_APP_TITLE, title: '觉远创智功能镜片配镜系统'
title: '觉远创智管理系统',
logo: logoImg
} }
} }
} }
@@ -66,13 +61,6 @@ export default {
height: 100%; height: 100%;
width: 100%; width: 100%;
& .sidebar-logo {
width: 32px;
height: 32px;
vertical-align: middle;
margin-right: 12px;
}
& .sidebar-title { & .sidebar-title {
display: inline-block; display: inline-block;
margin: 0; margin: 0;
@@ -84,11 +72,5 @@ export default {
vertical-align: middle; vertical-align: middle;
} }
} }
&.collapse {
.sidebar-logo {
margin-right: 0px;
}
}
} }
</style> </style>

View File

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

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

View File

@@ -7,8 +7,8 @@ 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 name = '觉远创智管理系统' // 网页标题 const name = '觉远创智功能镜片配镜系统' // 网页标题
const port = process.env.port || process.env.npm_config_port || 2091 // 端口 const port = process.env.port || process.env.npm_config_port || 2091 // 端口

View File

@@ -203,7 +203,7 @@ wechat:
# 业务短信template 为短信平台模板 Code变量由代码传入 # 业务短信template 为短信平台模板 Code变量由代码传入
# assign-order 模板:您有新分配的制片单(订单号${code}),请立即登录觉远配片系统查看并处理。 # assign-order 模板:您有新分配的制片单(订单号${code}),请立即登录觉远配片系统查看并处理。
# ship-order 模板:您的配片单(订单号${code})已发出,由${expressCompany}承运,单号${expressNo},可在官网查询物流进度 # ship-order 模板:您的配片单(订单号${code})已发出,由${expressCompany}承运。
sms: sms:
sign-name: 金华觉远创智科技 sign-name: 金华觉远创智科技
assign-order: assign-order:

View File

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

View File

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

View File

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

View File

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

View File

@@ -15,7 +15,7 @@ export default {
return { return {
title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title, title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title,
titleTemplate: title => { titleTemplate: title => {
const appTitle = process.env.VUE_APP_TITLE || '觉远创智配件系统' const appTitle = process.env.VUE_APP_TITLE || '觉远创智功能镜片配镜系统'
return title ? `${title} - ${appTitle}` : appTitle return title ? `${title} - ${appTitle}` : appTitle
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -36,7 +36,7 @@ export default {
data() { data() {
return { return {
// title: process.env.VUE_APP_TITLE, // title: process.env.VUE_APP_TITLE,
title: '觉远创智配件系统', title: '觉远创智功能镜片配镜系统',
logo: logoImg logo: logoImg
} }
} }

View File

@@ -2,7 +2,7 @@
<nav class="nav-bar"> <nav class="nav-bar">
<div class="logo"> <div class="logo">
<img :src="require('@/assets/images/home/logo.c3029a2f.png')" alt="JUEYUAN" /> <img :src="require('@/assets/images/home/logo.c3029a2f.png')" alt="JUEYUAN" />
<h1 class="logo-text">配件系统</h1> <h1 class="logo-text">功能镜片配镜系统</h1>
</div> </div>
<div class="menu-toggle" @click="toggleMenu"> <div class="menu-toggle" @click="toggleMenu">
<span class="hamburger" :class="{ active: isMenuOpen }"></span> <span class="hamburger" :class="{ active: isMenuOpen }"></span>

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 || 2092 // ?? const port = process.env.port || process.env.npm_config_port || 2092 // ??
@@ -77,7 +77,7 @@ module.exports = {
}, },
chainWebpack(config) { chainWebpack(config) {
config.plugin('html').tap(args => { config.plugin('html').tap(args => {
args[0].title = process.env.VUE_APP_TITLE || '觉远创智配件系统' args[0].title = process.env.VUE_APP_TITLE || '觉远创智功能镜片配镜系统'
return args return args
}) })