feat(tunnel): 隧道页面添加 logo 展示并优化背景
- 在主页面添加居中显示的 logo 图片 - 注释掉预览模式组件- 更新背景图片为 background.png- 调整主容器样式
This commit is contained in:
BIN
public/images/img.png
Normal file
BIN
public/images/img.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 287 KiB |
@@ -1,5 +1,8 @@
|
|||||||
<template>
|
<template>
|
||||||
<div id="main">
|
<div id="main">
|
||||||
|
<div style="display: flex;justify-content: center;align-items: center;height: 100%">
|
||||||
|
<img src="/images/img.png" alt="" class="imgModel"/>
|
||||||
|
</div>
|
||||||
<div class="box-top">
|
<div class="box-top">
|
||||||
<manage-btn
|
<manage-btn
|
||||||
v-model="selectIndex"
|
v-model="selectIndex"
|
||||||
@@ -53,16 +56,16 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- <tunnel-scene id="tunnel-box" :isedit="false" /> -->
|
<!-- <tunnel-scene id="tunnel-box" :isedit="false" /> -->
|
||||||
<!-- 一进去的话应该是预览模式,所以引入这个组件1 -->
|
<!-- 一进去的话应该是预览模式,所以引入这个组件1 -->
|
||||||
<preview-scene
|
<!-- <preview-scene-->
|
||||||
id="tunnel-box"
|
<!-- id="tunnel-box"-->
|
||||||
:isedit="false"
|
<!-- :isedit="false"-->
|
||||||
:tunnelId="tunnelId"
|
<!-- :tunnelId="tunnelId"-->
|
||||||
:key="tunnelId"
|
<!-- :key="tunnelId"-->
|
||||||
:tunnelLen="tunnelLen"
|
<!-- :tunnelLen="tunnelLen"-->
|
||||||
:largeScreen="largeScreen"
|
<!-- :largeScreen="largeScreen"-->
|
||||||
:fanList="socketData.leftData"
|
<!-- :fanList="socketData.leftData"-->
|
||||||
:devRealtimeData="socketData"
|
<!-- :devRealtimeData="socketData"-->
|
||||||
></preview-scene>
|
<!-- ></preview-scene>-->
|
||||||
<div class="left">
|
<div class="left">
|
||||||
<el-drawer
|
<el-drawer
|
||||||
v-model="drawerLeft"
|
v-model="drawerLeft"
|
||||||
@@ -799,11 +802,16 @@ const initWebSocket = () => {
|
|||||||
#main {
|
#main {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: #072348;
|
//background-color: #072348;
|
||||||
|
background-image: url('/images/background/background.png');
|
||||||
|
|
||||||
#tunnel-box {
|
#tunnel-box {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
.imgModel{
|
||||||
|
height: 52%;
|
||||||
|
width: 52%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.alarm-dialog {
|
.alarm-dialog {
|
||||||
|
|||||||
Reference in New Issue
Block a user