This commit is contained in:
Tony 2024-06-11 17:14:39 +08:00
parent ade1a2d19f
commit ac1e77fc92
3 changed files with 19 additions and 3 deletions

View File

@ -82,6 +82,7 @@ export default {
this.port = window.location.port this.port = window.location.port
if (this.port === '9280') this.$router.push('/waterhome') if (this.port === '9280') this.$router.push('/waterhome')
if (this.port === '9290') this.$router.push('/constructionsitedata/analysis') if (this.port === '9290') this.$router.push('/constructionsitedata/analysis')
if (this.port === '9405') this.$router.push('/template/templateInfo')
} }
} }
</script> </script>

View File

@ -1,5 +1,6 @@
<template> <template>
<div class="login" id="loginDom"> <div class="login" id="loginDom">
<div class="main-big-title" v-if="port === '9405'">汉丰湖Vlog短视频应用系统</div>
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form"> <el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
<h3 class="title">{{ title }}</h3> <h3 class="title">{{ title }}</h3>
<el-form-item prop="username"> <el-form-item prop="username">
@ -93,7 +94,8 @@ export default {
captchaEnabled: false, captchaEnabled: false,
// //
register: false, register: false,
redirect: undefined redirect: undefined,
port: window.location.port
}; };
}, },
watch: { watch: {
@ -274,7 +276,7 @@ export default {
break; break;
case '9405': case '9405':
document.title = '汉丰湖Vlog短视频应用系统' document.title = '汉丰湖Vlog短视频应用系统'
this.title = '汉丰湖Vlog短视频应用系统' this.title = '欢迎登录'
loginDom.style.backgroundImage = 'url(/images/vlog.png)' loginDom.style.backgroundImage = 'url(/images/vlog.png)'
this.redirect = '/index' this.redirect = '/index'
const dom133 = document.querySelector('.login-form') const dom133 = document.querySelector('.login-form')
@ -343,6 +345,16 @@ export default {
height: 100%; height: 100%;
background-image: url("../assets/images/login.png"); background-image: url("../assets/images/login.png");
background-size: 100% 100%; background-size: 100% 100%;
position: relative;
}
.main-big-title {
position: fixed;
left: 16vw;
top: 15vh;
font-size: 36px;
font-family: 'BiaoTiFont';
letter-spacing: 2px;
} }
.title { .title {
margin: 0px auto 30px auto; margin: 0px auto 30px auto;

View File

@ -140,7 +140,10 @@
controls controls
/> />
<div class="moving-card-info"> <div class="moving-card-info">
<div class="moving-card-title">{{ item.equipName }}</div> <div class="moving-card-title">
<span>{{ item.userName }}</span>
<span style="padding-left: 1rem;">({{ item.userId }})</span>
</div>
<div class="moving-card-time"> <div class="moving-card-time">
<span style="font-size: 12px;">{{ item.videoTime }}</span> <span style="font-size: 12px;">{{ item.videoTime }}</span>
<el-button <el-button