feat:名称及logo修改
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
# 页面标题
|
||||
VUE_APP_TITLE=觉远创智配件系统
|
||||
VUE_APP_TITLE=觉远创智功能镜片配镜系统
|
||||
|
||||
# 开发环境配置
|
||||
ENV = 'development'
|
||||
|
||||
# 觉远创智管理系统/开发环境
|
||||
# 觉远创智功能镜片配镜系统/开发环境
|
||||
VUE_APP_BASE_API = '/dev-api'
|
||||
|
||||
# 路由懒加载
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# 页面标题
|
||||
VUE_APP_TITLE=觉远创智配件系统
|
||||
VUE_APP_TITLE=觉远创智功能镜片配镜系统
|
||||
|
||||
# 生产环境配置
|
||||
ENV = 'production'
|
||||
|
||||
# 觉远创智管理系统/生产环境
|
||||
# 觉远创智功能镜片配镜系统/生产环境
|
||||
VUE_APP_BASE_API = '/prod-api'
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# 页面标题
|
||||
VUE_APP_TITLE=觉远创智配件系统
|
||||
VUE_APP_TITLE=觉远创智功能镜片配镜系统
|
||||
|
||||
NODE_ENV = production
|
||||
|
||||
# 测试环境配置
|
||||
ENV = 'staging'
|
||||
|
||||
# 觉远创智管理系统/测试环境
|
||||
# 觉远创智功能镜片配镜系统/测试环境
|
||||
VUE_APP_BASE_API = '/stage-api'
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "ruoyi",
|
||||
"version": "3.8.8",
|
||||
"description": "觉远创智配件系统",
|
||||
"description": "觉远创智功能镜片配镜系统",
|
||||
"author": "觉远创智",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
|
||||
@@ -15,7 +15,7 @@ export default {
|
||||
return {
|
||||
title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title,
|
||||
titleTemplate: title => {
|
||||
const appTitle = process.env.VUE_APP_TITLE || '觉远创智配件系统'
|
||||
const appTitle = process.env.VUE_APP_TITLE || '觉远创智功能镜片配镜系统'
|
||||
return title ? `${title} - ${appTitle}` : appTitle
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 22 KiB |
BIN
developer-front/src/assets/images/home/logo.c3029a2f2.png
Normal file
BIN
developer-front/src/assets/images/home/logo.c3029a2f2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
@@ -36,7 +36,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
// title: process.env.VUE_APP_TITLE,
|
||||
title: '觉远创智配件系统',
|
||||
title: '觉远创智功能镜片配镜系统',
|
||||
logo: logoImg
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<nav class="nav-bar">
|
||||
<div class="logo">
|
||||
<img :src="require('@/assets/images/home/logo.c3029a2f.png')" alt="JUEYUAN" />
|
||||
<h1 class="logo-text">配件系统</h1>
|
||||
<h1 class="logo-text">功能镜片配镜系统</h1>
|
||||
</div>
|
||||
<div class="menu-toggle" @click="toggleMenu">
|
||||
<span class="hamburger" :class="{ active: isMenuOpen }"></span>
|
||||
|
||||
@@ -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 || 2092 // ??
|
||||
|
||||
@@ -77,7 +77,7 @@ module.exports = {
|
||||
},
|
||||
chainWebpack(config) {
|
||||
config.plugin('html').tap(args => {
|
||||
args[0].title = process.env.VUE_APP_TITLE || '觉远创智配件系统'
|
||||
args[0].title = process.env.VUE_APP_TITLE || '觉远创智功能镜片配镜系统'
|
||||
return args
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user