This commit is contained in:
wangyan21 2023-12-21 11:30:05 +08:00
commit ce0f37b972
6 changed files with 39 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

View File

@ -30,4 +30,9 @@ export default {
#app .theme-picker {
display: none;
}
@font-face {
font-family: 'BiaoTiFont';
src: url(./assets/biaoti.ttf);
}
</style>

View File

@ -70,6 +70,7 @@ export default {
'device'
]),
fn(){
//
let arr = ['9210','9230', '9130', '9140', '9150', '9160', '9180']
return arr.includes(this.port.toString())
},

View File

@ -87,6 +87,11 @@ export default {
this.title = '管仲远程视频监控管理平台'
document.title = '管仲远程视频监控管理平台'
break;
case '9310':
//
this.title = '扁鹊设备监测与健康管理平台'
document.title = '扁鹊设备监测与健康管理平台'
break;
default:
this.title = ''

View File

@ -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'