Showing
6 changed files
with
26 additions
and
2 deletions
@@ -3457,6 +3457,7 @@ grayColor{ | @@ -3457,6 +3457,7 @@ grayColor{ | ||
3457 | display: flex; | 3457 | display: flex; |
3458 | } | 3458 | } |
3459 | 3459 | ||
3460 | + | ||
3460 | .machineroom-info .room-info-item .ip-info-title-left span{ | 3461 | .machineroom-info .room-info-item .ip-info-title-left span{ |
3461 | font-size: 20px; | 3462 | font-size: 20px; |
3462 | margin-left: 10px; | 3463 | margin-left: 10px; |
@@ -46,6 +46,14 @@ | @@ -46,6 +46,14 @@ | ||
46 | left: 1%; | 46 | left: 1%; |
47 | top: 55%; | 47 | top: 55%; |
48 | } | 48 | } |
49 | +.screen-header .title-right{ | ||
50 | + display: flex; | ||
51 | + align-items: center; | ||
52 | + position:absolute; | ||
53 | + transform: translateY(-80%); | ||
54 | + right: 1%; | ||
55 | + top: 55%; | ||
56 | +} | ||
49 | .screen-header .timelog{ | 57 | .screen-header .timelog{ |
50 | cursor: pointer; | 58 | cursor: pointer; |
51 | } | 59 | } |

440 Bytes
@@ -8,6 +8,9 @@ | @@ -8,6 +8,9 @@ | ||
8 | <img src="/vue3/src/assets/images/digitalDp/icon-time.png" :style="timelogoStyle" class="timelog"> | 8 | <img src="/vue3/src/assets/images/digitalDp/icon-time.png" :style="timelogoStyle" class="timelog"> |
9 | <span :style="datetimeStyle" >{{dateTime}}</span> | 9 | <span :style="datetimeStyle" >{{dateTime}}</span> |
10 | </div> | 10 | </div> |
11 | + <div class="title-right"> | ||
12 | + <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"> | ||
13 | + </div> | ||
11 | </header> | 14 | </header> |
12 | <div class="screen-body"> | 15 | <div class="screen-body"> |
13 | <section class="screen-left" > | 16 | <section class="screen-left" > |
@@ -48,6 +48,15 @@ export default { | @@ -48,6 +48,15 @@ export default { | ||
48 | () => myImport('views/dp/components/deduction/index') | 48 | () => myImport('views/dp/components/deduction/index') |
49 | ), | 49 | ), |
50 | }, | 50 | }, |
51 | + setup(props, {attrs, slots, emit}) { | ||
52 | + const {proxy} = Vue.getCurrentInstance(); | ||
53 | + const goDP=()=>{ | ||
54 | + proxy.$router.push({path:'/zjdaping',query: {access_token:localStorage.getItem('access_token')}}) | ||
55 | + } | ||
56 | + return{ | ||
57 | + goDP | ||
58 | + } | ||
59 | + }, | ||
51 | data () { | 60 | data () { |
52 | return { | 61 | return { |
53 | titleFontSize: 30, | 62 | titleFontSize: 30, |
@@ -119,7 +128,11 @@ export default { | @@ -119,7 +128,11 @@ export default { | ||
119 | },1000); | 128 | },1000); |
120 | 129 | ||
121 | window.addEventListener('resize', this.screenAdapter) | 130 | window.addEventListener('resize', this.screenAdapter) |
122 | - this.screenAdapter() | 131 | + this.screenAdapter(); |
132 | + | ||
133 | + if (this.$route.query.msgKey){ | ||
134 | + document.getElementById("goDP").style.display="block" | ||
135 | + } | ||
123 | }, | 136 | }, |
124 | unmounted () { | 137 | unmounted () { |
125 | window.removeEventListener('resize', this.screenAdapter) | 138 | window.removeEventListener('resize', this.screenAdapter) |
-
Please register or login to post a comment