Merge branch 'main' of http://117.73.11.115:3000/Tony/god-ytr
This commit is contained in:
commit
ce0f37b972
BIN
god-ui/public/images/hailuo-bg.png
Normal file
BIN
god-ui/public/images/hailuo-bg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.3 MiB |
BIN
god-ui/public/images/hailuo-login.png
Normal file
BIN
god-ui/public/images/hailuo-login.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 39 KiB |
@ -30,4 +30,9 @@ export default {
|
||||
#app .theme-picker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'BiaoTiFont';
|
||||
src: url(./assets/biaoti.ttf);
|
||||
}
|
||||
</style>
|
||||
|
@ -70,6 +70,7 @@ export default {
|
||||
'device'
|
||||
]),
|
||||
fn(){
|
||||
// 下面的端口项目中有大屏
|
||||
let arr = ['9210','9230', '9130', '9140', '9150', '9160', '9180']
|
||||
return arr.includes(this.port.toString())
|
||||
},
|
||||
|
@ -87,6 +87,11 @@ export default {
|
||||
this.title = '管仲远程视频监控管理平台'
|
||||
document.title = '管仲远程视频监控管理平台'
|
||||
break;
|
||||
case '9310':
|
||||
// 重庆海螺水泥有限公司扁鹊设备监测与健康管理平台建设项目
|
||||
this.title = '扁鹊设备监测与健康管理平台'
|
||||
document.title = '扁鹊设备监测与健康管理平台'
|
||||
break;
|
||||
default:
|
||||
|
||||
this.title = ''
|
||||
|
@ -180,9 +180,36 @@ export default {
|
||||
document.title = '管仲远程视频监控平台'
|
||||
loginDom.style.backgroundImage = 'url(/images/guanzhong.png)'
|
||||
this.redirect = '/index'
|
||||
break;
|
||||
case '9310':
|
||||
// 重庆海螺水泥有限公司扁鹊设备监测与健康管理平台建设项目
|
||||
document.title = '扁鹊设备监测与健康管理平台'
|
||||
loginDom.style.backgroundImage = 'url(/images/hailuo-bg.png)'
|
||||
this.redirect = '/index'
|
||||
const loginForm = document.querySelector('.login-form')
|
||||
loginForm.style.position = 'relative';
|
||||
loginForm.style.marginLeft = '0'
|
||||
loginForm.style.background = 'none';
|
||||
loginForm.style.border = 'none'
|
||||
loginForm.style.backgroundImage = 'url(/images/hailuo-login.png)'
|
||||
loginForm.style.backgroundSize = '100% 100%';
|
||||
const _title = document.createElement('div');
|
||||
_title.innerHTML = '扁鹊设备监测与健康管理平台';
|
||||
_title.style.position = 'fixed';
|
||||
_title.style.width = '28rem';
|
||||
_title.style.left = 'calc(50vw - 14rem)';
|
||||
_title.style.top = '18vh'
|
||||
_title.style.color = 'transparent'
|
||||
_title.style.textAlign = 'center'
|
||||
_title.style.fontSize = '2rem'
|
||||
_title.style.backgroundImage = 'linear-gradient(to top, #a5dfff, white)'
|
||||
_title.style.webkitBackgroundClip = 'text'
|
||||
|
||||
_title.style.fontFamily = 'BiaoTiFont'
|
||||
loginForm.appendChild(_title)
|
||||
|
||||
break;
|
||||
default:
|
||||
|
||||
document.title = ''
|
||||
loginDom.style.backgroundImage = 'url(/images/gangyin-bg.png)'
|
||||
this.redirect = '/index'
|
||||
|
Loading…
Reference in New Issue
Block a user