配置
This commit is contained in:
@@ -23,4 +23,6 @@ VUE_APP_XXL_JOB_ADMIN = 'http://localhost:9100/xxl-job-admin'
|
||||
VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
||||
|
||||
VUE_APP_COS_BASE_URL = 'https://test-123123-1257812345.cos.ap-nanjing.myqcloud.com/'
|
||||
|
||||
VUE_APP_LOGO_PRE = 'huahe'
|
||||
# VUE_APP_COS_BASE_URL = 'https://caisasd-1326789998.cos.ap-guangzhou.myqcloud.com/'
|
||||
|
||||
27
.env.huahe
Normal file
27
.env.huahe
Normal file
@@ -0,0 +1,27 @@
|
||||
# 页面标题
|
||||
|
||||
# 生产环境配置
|
||||
NODE_ENV = 'production'
|
||||
ENV = 'huahe'
|
||||
# 若依管理系统/生产环境
|
||||
VUE_APP_BASE_API = '/prod-api'
|
||||
|
||||
# 应用访问路径 例如使用前缀 /admin/
|
||||
VUE_APP_CONTEXT_PATH = '/'
|
||||
|
||||
# 监控地址
|
||||
VUE_APP_MONITRO_ADMIN = '/admin/applications'
|
||||
|
||||
# xxl-job 控制台地址
|
||||
VUE_APP_XXL_JOB_ADMIN = '/xxl-job-admin'
|
||||
|
||||
# 花荷
|
||||
# 花荷生产
|
||||
# VUE_APP_COS_BASE_URL = 'https://filesdjkal.mgzhq.cn/'
|
||||
# 花荷测试
|
||||
VUE_APP_COS_BASE_URL = 'https://he-test-1330083379.cos.ap-guangzhou.myqcloud.com/'
|
||||
VUE_APP_SYSTEM_HOME = '花荷'
|
||||
VUE_APP_TITLE = 花荷后台管理系统
|
||||
VUE_APP_LOGO_PRE = 'huahe'
|
||||
|
||||
|
||||
@@ -16,17 +16,10 @@ VUE_APP_XXL_JOB_ADMIN = '/xxl-job-admin'
|
||||
|
||||
# 花香
|
||||
# 花香生产
|
||||
# VUE_APP_COS_BASE_URL = 'https://filedsjkdlas.oqpac.cn/'
|
||||
VUE_APP_COS_BASE_URL = 'https://filedsjkdlas.oqpac.cn/'
|
||||
# 花香测试
|
||||
# VUE_APP_COS_BASE_URL = 'https://hxprodfdhjk-1326789998.cos.ap-guangzhou.myqcloud.com/'
|
||||
# VUE_APP_SYSTEM_HOME = '花香'
|
||||
# VUE_APP_TITLE = 花香后台管理系统
|
||||
|
||||
# 花荷
|
||||
# 花荷生产
|
||||
# VUE_APP_COS_BASE_URL = 'https://filesdjkal.mgzhq.cn/'
|
||||
# 花荷测试
|
||||
VUE_APP_COS_BASE_URL = 'https://he-test-1330083379.cos.ap-guangzhou.myqcloud.com/'
|
||||
VUE_APP_SYSTEM_HOME = '花荷'
|
||||
VUE_APP_TITLE = 花荷后台管理系统
|
||||
VUE_APP_SYSTEM_HOME = '花香'
|
||||
VUE_APP_TITLE = 花香后台管理系统
|
||||
VUE_APP_LOGO_PRE = 'huaxiang'
|
||||
|
||||
|
||||
24
.env.qw
24
.env.qw
@@ -1,24 +0,0 @@
|
||||
# 页面标题
|
||||
|
||||
# 生产环境配置
|
||||
ENV = 'qw'
|
||||
# 若依管理系统/生产环境
|
||||
VUE_APP_BASE_API = '/prod-api'
|
||||
|
||||
# 应用访问路径 例如使用前缀 /admin/
|
||||
VUE_APP_CONTEXT_PATH = '/'
|
||||
|
||||
# 监控地址
|
||||
VUE_APP_MONITRO_ADMIN = '/admin/applications'
|
||||
|
||||
# xxl-job 控制台地址
|
||||
VUE_APP_XXL_JOB_ADMIN = '/xxl-job-admin'
|
||||
|
||||
# 花香
|
||||
# VUE_APP_COS_BASE_URL = 'https://file.bqlmk.cn/'
|
||||
VUE_APP_COS_BASE_URL = 'https://filedsjkdlas.oqpac.cn/'
|
||||
# VUE_APP_COS_BASE_URL = 'https://hxprodfdhjk-1326789998.cos.ap-guangzhou.myqcloud.com/'
|
||||
VUE_APP_SYSTEM_HOME = '趣玩'
|
||||
VUE_APP_TITLE = 趣玩后台管理系统
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"scripts": {
|
||||
"dev": "vue-cli-service serve",
|
||||
"build:prod": "vue-cli-service build",
|
||||
"build:qw": "vue-cli-service build --mode qw",
|
||||
"build:huahe": "vue-cli-service build --mode huahe",
|
||||
"preview": "node build/index.js --preview",
|
||||
"lint": "eslint --ext .js,.vue src"
|
||||
},
|
||||
|
||||
BIN
public/favicon-huahe.ico
Normal file
BIN
public/favicon-huahe.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 264 KiB After Width: | Height: | Size: 264 KiB |
@@ -5,7 +5,7 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta name="renderer" content="webkit">
|
||||
<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-<%= process.env.VUE_APP_LOGO_PRE %>.ico">
|
||||
<title><%= webpackConfig.name %></title>
|
||||
<!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
|
||||
<style>
|
||||
|
||||
BIN
src/assets/logo/logo-huahe.png
Normal file
BIN
src/assets/logo/logo-huahe.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
@@ -14,7 +14,6 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import logoImg from '@/assets/logo/logo.png'
|
||||
import variables from '@/assets/styles/variables.scss'
|
||||
|
||||
export default {
|
||||
@@ -36,7 +35,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
title: process.env.VUE_APP_SYSTEM_HOME + '后台管理',
|
||||
logo: logoImg
|
||||
logo: require('@/assets/logo/logo-' + process.env.VUE_APP_LOGO_PRE + '.png')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div class="left-board">
|
||||
<div class="logo-wrapper">
|
||||
<div class="logo">
|
||||
<img :src="logo" alt="logo"> Form Generator
|
||||
<img :src="require('@/assets/logo/logo-' + process.env.VUE_APP_LOGO_PRE + '.png')" alt="logo"> Form Generator
|
||||
</div>
|
||||
</div>
|
||||
<el-scrollbar class="left-scrollbar">
|
||||
@@ -147,7 +147,6 @@ import { makeUpHtml, vueTemplate, vueScript, cssStyle } from '@/utils/generator/
|
||||
import { makeUpJs } from '@/utils/generator/js'
|
||||
import { makeUpCss } from '@/utils/generator/css'
|
||||
import drawingDefault from '@/utils/generator/drawingDefault'
|
||||
import logo from '@/assets/logo/logo.png'
|
||||
import CodeTypeDialog from './CodeTypeDialog'
|
||||
import DraggableItem from './DraggableItem'
|
||||
|
||||
@@ -164,7 +163,6 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
logo,
|
||||
idGlobal: 100,
|
||||
formConf,
|
||||
inputComponents,
|
||||
|
||||
Reference in New Issue
Block a user