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,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": {
|
||||
|
||||
@@ -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 |
BIN
admin-front/src/assets/logo/logo2.png
Normal file
BIN
admin-front/src/assets/logo/logo2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.5 KiB |
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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" />
|
||||
|
||||
@@ -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 // 端口
|
||||
|
||||
|
||||
@@ -203,7 +203,7 @@ wechat:
|
||||
|
||||
# 业务短信(template 为短信平台模板 Code,变量由代码传入)
|
||||
# assign-order 模板:您有新分配的制片单(订单号${code}),请立即登录觉远配片系统查看并处理。
|
||||
# ship-order 模板:您的配片单(订单号${code})已发出,由${expressCompany}承运,单号${expressNo},可在官网查询物流进度。
|
||||
# ship-order 模板:您的配片单(订单号${code})已发出,由${expressCompany}承运。
|
||||
sms:
|
||||
sign-name: 金华觉远创智科技
|
||||
assign-order:
|
||||
|
||||
@@ -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