fix(): 添加长城配置,更换登录页、皮肤、大屏背景色调整

This commit is contained in:
fhysy 2024-08-26 17:02:10 +08:00
parent 10f93ef6ff
commit 5ffe09fdac
19 changed files with 176 additions and 3 deletions

53
.env.cc Normal file
View File

@ -0,0 +1,53 @@
# 开发环境配置
ENV = 'cc'
# logo
VUE_APP_LGOG_URL = 'logo/cc/logo.png'
/**
* banner图(VUE_APP_BANNER_URL)168logo(VUE_APP_LGOG168_URL)
*/
# ico图标
VUE_APP_ICO_URL = 'cc/favicon.ico'
# logo
VUE_APP_LGOG168_URL = 'logo/cc/logo168.png'
# banner
VUE_APP_BANNER_URL = 'images/banner.png'
# 公众号二维码
VUE_APP_GZGQR_URL = 'images/cc/gzhqr.jpg'
# 小程序二维码
VUE_APP_YDXCX_URL = 'images/cc/ydxcx.jpg'
# 备案号
VUE_APP_RECORD_NUMBER = 'ICP备2021036275号-1'
# 系统名
VUE_APP_SYSTEM_NAME = ''
# 系统登录页 login-green、login-blue-black、login-blue-white
#VUE_APP_LOGIN_PAGE = 'login-green'
#VUE_APP_LOGIN_PAGE = 'login-blue-black'
VUE_APP_LOGIN_PAGE = 'login-blue-white'
# 系统配色 theme-green、theme-blue-black、theme-blue-white
#VUE_APP_THEME_CLASS = 'theme-green'
VUE_APP_THEME_CLASS = 'theme-grey-red'
#VUE_APP_THEME_CLASS = 'theme-blue-white'
# 智慧用电管理系统/开发环境
VUE_APP_BASE_API = '/dev-api'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true
# 前端端口
port= 9988
# 服务端地址
// 陈志荣 本地
// target = http://192.168.18.140:8899
//target = http://192.168.18.139:8899
// target = http://192.168.18.136:8899
// 测试端
// target = http://192.168.10.241:32024
// 开发端
# target = https://digital-core.dieruen-iot.com
// 黄明 本地
target = http://192.168.1.17:8899

50
.env.ccprod Normal file
View File

@ -0,0 +1,50 @@
# 开发环境配置
ENV = 'cc'
NODE_ENV = 'ccprod'
# logo
VUE_APP_LGOG_URL = 'logo/cc/logo.png'
/**
* 蓝白色登录页需要一个banner图(VUE_APP_BANNER_URL)和一个168像素的logo(VUE_APP_LGOG168_URL)
*/
# ico图标
VUE_APP_ICO_URL = 'cc/favicon.ico'
# logo
VUE_APP_LGOG168_URL = 'logo/cc/logo168.png'
# banner
VUE_APP_BANNER_URL = 'images/banner.png'
# 公众号二维码
VUE_APP_GZGQR_URL = 'images/cc/gzhqr.jpg'
# 小程序二维码
VUE_APP_YDXCX_URL = 'images/cc/ydxcx.jpg'
# 备案号
VUE_APP_RECORD_NUMBER = '沪ICP备2021036275号-1'
# 系统名
VUE_APP_SYSTEM_NAME = '数字用电管理系统'
# 系统登录页 login-green、login-blue-black、login-blue-white
#VUE_APP_LOGIN_PAGE = 'login-green'
#VUE_APP_LOGIN_PAGE = 'login-blue-black'
VUE_APP_LOGIN_PAGE = 'login-blue-white'
# 系统配色 theme-green、theme-blue-black、theme-blue-white
#VUE_APP_THEME_CLASS = 'theme-green'
VUE_APP_THEME_CLASS = 'theme-grey-red'
#VUE_APP_THEME_CLASS = 'theme-blue-white'
# 智慧用电管理系统/开发环境
VUE_APP_BASE_API = '/prod-api'
# 前端端口
port= 9988
# 服务端地址
// 陈志荣 本地
// target = http://192.168.18.140:8899
//target = http://192.168.18.139:8899
// target = http://192.168.18.136:8899
// 测试端
// target = http://192.168.10.241:32024
// 开发端
# target = https://digital-core.dieruen-iot.com
// 黄明 本地
target = http://zhny.snc.cn

1
.gitignore vendored
View File

@ -21,3 +21,4 @@ selenium-debug.log
package-lock.json
yarn.lock
/dist.zip

View File

@ -8,10 +8,12 @@
"dev": "vue-cli-service serve",
"dev:drgy": "vue-cli-service serve --mode drgy",
"dev:dr": "vue-cli-service serve --mode dr",
"dev:drprod": "vue-cli-service serve --mode drprod",
"dev:drgyprod": "vue-cli-service serve --mode drgyprod",
"dev:cc": "vue-cli-service serve --mode cc",
"build:prod": "vue-cli-service build",
"build:drgyprod": "vue-cli-service build --mode drgyprod",
"build:drprod": "vue-cli-service build --mode drprod",
"build:prod": "vue-cli-service build",
"build:ccprod": "vue-cli-service build --mode ccprod",
"build:stage": "vue-cli-service build --mode staging",
"preview": "node build/index.js --preview",
"lint": "eslint --ext .js,.vue src"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 199 KiB

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 454 KiB

BIN
src/assets/logo/cc/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@ -186,3 +186,59 @@
background-color: $menuBlueWhiteLogoColor !important;
}
}
//theme-grey-red主题
.theme-grey-red{
//logo
.sidebar-logo-container{
background: $menuGreyRedLogoBg !important;
}
.sidebar-title{
color: $menuGreyRedLogoColor !important;
}
.sidebar-container{
background-color: $menuGreyRedBg !important;
.el-submenu>.el-submenu__title{
background-color: $menuGreyRedBg !important;
color: $sidebarGreyRedTitle !important;
&:hover{
color: $menuGreyRedLogoColor !important;
background: $menuGreyRedActiveHover !important;
}
}
.el-menu,.el-menu-item{
background-color: $menuGreyRedBg !important;
color: $sidebarGreyRedTitle !important;
&:hover{
color: $menuGreyRedLogoColor !important;
background: $menuGreyRedActiveHover !important;
}
}
.el-submenu.is-active>.el-submenu__title,.el-submenu.is-active .el-menu-item{
background-color: $menuGreyRedActiveBg !important;
}
.el-submenu.is-active>.el-submenu__title{
color: $menuGreyRedLogoColor !important;
}
.el-submenu.is-active .el-menu-item.is-active{
color: $menuGreyRedLogoColor !important;
background: $menuGreyRedActive !important;
}
}
.router-link-active>.is-active{
color: $menuGreyRedLogoColor !important;
background: $menuGreyRedActive !important;
}
//右上角颜色
.right-menu-item{
color: $menuGreyRedLogoColor !important;
}
//tag样式
.tags-view-container .tags-view-wrapper .tags-view-item.active{
background-color: $menuGreyRedLogoColor !important;
}
.big-v3-wrap{
background: rgb(24 144 255 / 40%) !important;
}
}

View File

@ -57,6 +57,17 @@ $menuBlueWhiteHover:#0066cc;
$menuBlueWhiteActiveHover:#0066cc;
$sidebarBlueWhiteTitle: #0066CC;
//theme-grey-red样式
$menuGreyRedText:#ffffff;
$menuGreyRedLogoBg:#4d4a47;
$menuGreyRedLogoColor:#1890FF;
$menuGreyRedBg:#4d4a47;
$menuGreyRedHover: #232222;
$menuGreyRedActive:#3e3b39;
$menuGreyRedActiveBg:#3e3b39;
$menuGreyRedActiveHover:#3e3b39;
$sidebarGreyRedTitle: #fff;
$subMenuBg:#050d2f;
$subMenuHover:#003083;

View File

@ -31,7 +31,7 @@ if (env.NODE_ENV == 'development') {
flowIotUrl = 'http://127.0.0.1:1880/#flow/'
// hrefHost = "power-tcore.histron.cn"
hrefHost = "192.168.1.17"
} else if(env.NODE_ENV == 'production' || env.NODE_ENV == 'drgyprod' || env.NODE_ENV == 'drprod') {
} else if(env.NODE_ENV == 'production' || env.NODE_ENV == 'drgyprod' || env.NODE_ENV == 'drprod' || env.NODE_ENV == 'ccprod') {
// if (hrefHost.indexOf('.gkiiot.com') >= 0) {
// iotHost = 'iot.gkiiot.com'
// }