Authored by xwx

杭州-大屏-跳转大屏页面

... ... @@ -3457,6 +3457,7 @@ grayColor{
display: flex;
}
.machineroom-info .room-info-item .ip-info-title-left span{
font-size: 20px;
margin-left: 10px;
... ...
... ... @@ -46,6 +46,14 @@
left: 1%;
top: 55%;
}
.screen-header .title-right{
display: flex;
align-items: center;
position:absolute;
transform: translateY(-80%);
right: 1%;
top: 55%;
}
.screen-header .timelog{
cursor: pointer;
}
... ...
... ... @@ -8,6 +8,9 @@
<img src="/vue3/src/assets/images/digitalDp/icon-time.png" :style="timelogoStyle" class="timelog">
<span :style="datetimeStyle" >{{dateTime}}</span>
</div>
<div class="title-right">
<img @click="goDP" router-link to='/daping' id="goDP" src="/vue3/src/assets/images/zjdp/icon-return.png" class="img-link" style="display:none; height:30px">
</div>
</header>
<div class="screen-body">
<section class="screen-left" >
... ...
... ... @@ -48,6 +48,15 @@ export default {
() => myImport('views/dp/components/deduction/index')
),
},
setup(props, {attrs, slots, emit}) {
const {proxy} = Vue.getCurrentInstance();
const goDP=()=>{
proxy.$router.push({path:'/zjdaping',query: {access_token:localStorage.getItem('access_token')}})
}
return{
goDP
}
},
data () {
return {
titleFontSize: 30,
... ... @@ -119,7 +128,11 @@ export default {
},1000);
window.addEventListener('resize', this.screenAdapter)
this.screenAdapter()
this.screenAdapter();
if (this.$route.query.msgKey){
document.getElementById("goDP").style.display="block"
}
},
unmounted () {
window.removeEventListener('resize', this.screenAdapter)
... ...
... ... @@ -68,7 +68,6 @@ export default {
}
return {
datetimeStyle,
timeFormat,
... ...