|
@@ -70,7 +70,7 @@
|
|
|
@click="showPasswordDialog('rearSetValue')"
|
|
|
></u-button>
|
|
|
</div> -->
|
|
|
- <div class="flcard" v-if="this.TabCur == 'gate'">
|
|
|
+ <div class="flcard deviceback" v-if="this.TabCur == 'gate'">
|
|
|
<doorAnimate
|
|
|
:gatestate1="frontGateStatus"
|
|
|
:gatestate2="midGateStatus"
|
|
@@ -80,7 +80,7 @@
|
|
|
>
|
|
|
</doorAnimate>
|
|
|
</div>
|
|
|
- <div class="flcard" v-if="this.TabCur == 'windrect'">
|
|
|
+ <div class="flcard deviceback" v-if="this.TabCur == 'windrect'">
|
|
|
<windrectAnimate
|
|
|
:state="state"
|
|
|
:title="title"
|
|
@@ -89,7 +89,7 @@
|
|
|
>
|
|
|
</windrectAnimate>
|
|
|
</div>
|
|
|
- <div class="flcard" v-if="this.TabCur == 'fanlocal'">
|
|
|
+ <div class="flcard deviceback" v-if="this.TabCur == 'fanlocal'">
|
|
|
<fanlocalAnimate
|
|
|
:fan1State="fan1State"
|
|
|
:fan2State="fan2State"
|
|
@@ -98,7 +98,7 @@
|
|
|
>
|
|
|
</fanlocalAnimate>
|
|
|
</div>
|
|
|
- <div class="flcard" v-if="this.TabCur == 'fanmain'">
|
|
|
+ <div class="flcard deviceback" v-if="this.TabCur == 'fanmain'">
|
|
|
<fanmainAnimate
|
|
|
ref="fanpage"
|
|
|
style="width: 100%"
|
|
@@ -111,7 +111,7 @@
|
|
|
:nowfengji="qidongfengji"
|
|
|
></fanmainAnimate>
|
|
|
</div>
|
|
|
- <div class="flcard" v-if="this.TabCur == 'window'">
|
|
|
+ <div class="flcard deviceback" v-if="this.TabCur == 'window'">
|
|
|
<windowAnimate
|
|
|
:windowAngle="windowAngle"
|
|
|
:windowAngle1="windowAngle1"
|
|
@@ -120,9 +120,13 @@
|
|
|
></windowAnimate>
|
|
|
</div>
|
|
|
<div v-if="this.cameraList.length > 0">
|
|
|
- <div class="flcard" v-for="(item, index) in cameraList" :key="index">
|
|
|
+ <div
|
|
|
+ class="flcard deviceback"
|
|
|
+ v-for="(item, index) in cameraList"
|
|
|
+ :key="index"
|
|
|
+ >
|
|
|
<video
|
|
|
- style="margin-left: 20px"
|
|
|
+ style="margin-left: 50px"
|
|
|
id="myVideo"
|
|
|
controls
|
|
|
show-loading
|
|
@@ -139,11 +143,11 @@
|
|
|
class="flex-container"
|
|
|
v-if="TabCur != 'fanlocal' && TabCur != 'fanmain'"
|
|
|
>
|
|
|
- <div
|
|
|
- class="itemback"
|
|
|
+ <view
|
|
|
+ class="datacard"
|
|
|
v-for="(item, index) in deviceShowList"
|
|
|
:key="index"
|
|
|
- v-if="
|
|
|
+ v-show="
|
|
|
item.appShow == 1 &&
|
|
|
item.monitorcode != 'strinstallpos' &&
|
|
|
item.monitorcode != 'netStatus' &&
|
|
@@ -152,89 +156,85 @@
|
|
|
item.monitorcode != ''
|
|
|
"
|
|
|
>
|
|
|
- <view class="datacard">
|
|
|
+ <view
|
|
|
+ class="TabCurCSS"
|
|
|
+ style="
|
|
|
+ padding-top: 10rpx;
|
|
|
+ padding-bottom: 10rpx;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ height: 100%;
|
|
|
+ "
|
|
|
+ >
|
|
|
<view
|
|
|
+ v-if="item.datatype == 1 && item.monitorcode == 'doorUse'"
|
|
|
+ class="demo-layout bg-purple-light"
|
|
|
style="
|
|
|
- padding-top: 10rpx;
|
|
|
- padding-bottom: 10rpx;
|
|
|
- display: flex;
|
|
|
- flex-direction: column;
|
|
|
- height: 100%;
|
|
|
+ color: #3787fe;
|
|
|
+ font-size: 30rpx;
|
|
|
+ font-weight: bold;
|
|
|
+ margin-left: 20rpx;
|
|
|
+ text-align: left;
|
|
|
"
|
|
|
>
|
|
|
- <view
|
|
|
- v-if="item.datatype == 1 && item.monitorcode == 'doorUse'"
|
|
|
- class="demo-layout bg-purple-light"
|
|
|
- style="
|
|
|
- color: #3787fe;
|
|
|
- font-size: 30rpx;
|
|
|
- font-weight: bold;
|
|
|
- margin-top: 20rpx;
|
|
|
- margin-left: 20rpx;
|
|
|
- text-align: left;
|
|
|
- "
|
|
|
- >
|
|
|
- {{
|
|
|
- tableData[item.monitorcode] == "2"
|
|
|
- ? "行人"
|
|
|
- : tableData[item.monitorcode] == "1"
|
|
|
- ? "行车"
|
|
|
- : "-"
|
|
|
- }}
|
|
|
- </view>
|
|
|
- <view
|
|
|
- v-else-if="item.datatype == 1"
|
|
|
- class="demo-layout bg-purple-light"
|
|
|
- style="
|
|
|
- color: #3787fe;
|
|
|
- font-size: 30rpx;
|
|
|
- font-weight: bold;
|
|
|
- margin-top: 20rpx;
|
|
|
- margin-left: 20rpx;
|
|
|
- text-align: left;
|
|
|
- "
|
|
|
- >
|
|
|
- {{
|
|
|
- tableData[item.monitorcode] != undefined &&
|
|
|
- tableData[item.monitorcode] != null
|
|
|
- ? tableData[item.monitorcode]
|
|
|
- : "-"
|
|
|
- }}
|
|
|
- </view>
|
|
|
- <view
|
|
|
- v-else-if="item.datatype == 2"
|
|
|
- class="demo-layout bg-purple-light"
|
|
|
- style="
|
|
|
- color: #3787fe;
|
|
|
- font-size: 30rpx;
|
|
|
- font-weight: bold;
|
|
|
- margin-top: 20rpx;
|
|
|
- margin-left: 20rpx;
|
|
|
- text-align: left;
|
|
|
- "
|
|
|
- >
|
|
|
- {{
|
|
|
- tableData[item.monitorcode] != undefined &&
|
|
|
- tableData[item.monitorcode] != null
|
|
|
- ? tableData[item.monitorcode]
|
|
|
- : "-"
|
|
|
- }}
|
|
|
- </view>
|
|
|
- <view
|
|
|
- class="demo-layout bg-purple-light"
|
|
|
- style="
|
|
|
- margin-top: 20rpx;
|
|
|
- color: #677799;
|
|
|
- margin-top: 20rpx;
|
|
|
- margin-left: 20rpx;
|
|
|
- text-align: left;
|
|
|
- "
|
|
|
- >
|
|
|
- {{ item.des }}
|
|
|
- </view>
|
|
|
+ {{
|
|
|
+ tableData[item.monitorcode] == "2"
|
|
|
+ ? "行人"
|
|
|
+ : tableData[item.monitorcode] == "1"
|
|
|
+ ? "行车"
|
|
|
+ : "-"
|
|
|
+ }}
|
|
|
+ </view>
|
|
|
+ <view
|
|
|
+ v-else-if="item.datatype == 1"
|
|
|
+ class="demo-layout bg-purple-light"
|
|
|
+ style="
|
|
|
+ color: #3787fe;
|
|
|
+ font-size: 30rpx;
|
|
|
+ font-weight: bold;
|
|
|
+ margin-left: 20rpx;
|
|
|
+ text-align: left;
|
|
|
+ "
|
|
|
+ >
|
|
|
+ {{
|
|
|
+ tableData[item.monitorcode] != undefined &&
|
|
|
+ tableData[item.monitorcode] != null
|
|
|
+ ? tableData[item.monitorcode]
|
|
|
+ : "-"
|
|
|
+ }}
|
|
|
+ </view>
|
|
|
+ <view
|
|
|
+ v-else-if="item.datatype == 2"
|
|
|
+ class="demo-layout bg-purple-light"
|
|
|
+ style="
|
|
|
+ color: #3787fe;
|
|
|
+ font-size: 30rpx;
|
|
|
+ font-weight: bold;
|
|
|
+ margin-left: 20rpx;
|
|
|
+ text-align: left;
|
|
|
+ "
|
|
|
+ >
|
|
|
+ {{
|
|
|
+ tableData[item.monitorcode] != undefined &&
|
|
|
+ tableData[item.monitorcode] != null
|
|
|
+ ? tableData[item.monitorcode]
|
|
|
+ : "-"
|
|
|
+ }}
|
|
|
+ </view>
|
|
|
+ <view
|
|
|
+ class="demo-layout bg-purple-light"
|
|
|
+ style="
|
|
|
+ margin-top: 20rpx;
|
|
|
+ color: #677799;
|
|
|
+ margin-left: 20rpx;
|
|
|
+ text-align: left;
|
|
|
+ "
|
|
|
+ >
|
|
|
+ {{ item.des }}
|
|
|
</view>
|
|
|
</view>
|
|
|
- </div>
|
|
|
+ <!-- <div class="right-content"></div> -->
|
|
|
+ </view>
|
|
|
</div>
|
|
|
<div class="flex-container" v-else-if="TabCur == 'fanmain'">
|
|
|
<div class="monitor-content">
|
|
@@ -258,7 +258,7 @@
|
|
|
</view>
|
|
|
</div>
|
|
|
<div class="datacard" v-if="item.monitorcode !== 'readTime'">
|
|
|
- <div class="left-content">
|
|
|
+ <div class="TabCurCSS">
|
|
|
<view
|
|
|
v-if="
|
|
|
item.monitorcode == 'netStatus' && item.datatype == 1
|
|
@@ -348,7 +348,7 @@
|
|
|
</view>
|
|
|
</div>
|
|
|
<div class="datacard" v-if="item.monitorcode !== 'readTime'">
|
|
|
- <div class="left-content">
|
|
|
+ <div class="TabCurCSS">
|
|
|
<view
|
|
|
v-if="
|
|
|
item.monitorcode == 'netStatus' && item.datatype == 1
|
|
@@ -442,7 +442,7 @@
|
|
|
</view>
|
|
|
</div>
|
|
|
<div class="datacard" v-if="item.monitorcode !== 'readTime'">
|
|
|
- <div class="left-content">
|
|
|
+ <div class="TabCurCSS">
|
|
|
<view
|
|
|
v-if="
|
|
|
item.monitorcode == 'netStatus' && item.datatype == 1
|
|
@@ -532,7 +532,7 @@
|
|
|
</view>
|
|
|
</div>
|
|
|
<div class="datacard" v-if="item.monitorcode !== 'readTime'">
|
|
|
- <div class="left-content">
|
|
|
+ <div class="TabCurCSS">
|
|
|
<view
|
|
|
v-if="
|
|
|
item.monitorcode == 'netStatus' && item.datatype == 1
|
|
@@ -1012,8 +1012,16 @@ export default {
|
|
|
}
|
|
|
.flcard {
|
|
|
padding: 20rpx;
|
|
|
- background-color: #eef8fe;
|
|
|
- margin-bottom: 5rpx;
|
|
|
+ background-color: #fff;
|
|
|
+ margin-bottom: 20rpx;
|
|
|
+}
|
|
|
+.deviceback {
|
|
|
+ background: linear-gradient(
|
|
|
+ to right,
|
|
|
+ rgba(75, 135, 254, 0.08),
|
|
|
+ rgba(24, 184, 255, 0.08),
|
|
|
+ rgba(80, 161, 237, 0.08)
|
|
|
+ );
|
|
|
}
|
|
|
.additional-div {
|
|
|
grid-column: span 2; /* 让附加内容跨越三列 */
|
|
@@ -1037,10 +1045,6 @@ export default {
|
|
|
flex-direction: row;
|
|
|
flex-wrap: wrap;
|
|
|
}
|
|
|
-.itemback {
|
|
|
- flex: 0 0 calc(33.33% - 10px); /* 使用calc函数计算每个项目的宽度,减去间距 */
|
|
|
- margin: 5px; /* 间距设置为5px */
|
|
|
-}
|
|
|
.datacardtime {
|
|
|
display: flex;
|
|
|
width: 100%;
|
|
@@ -1065,17 +1069,20 @@ export default {
|
|
|
float: left;
|
|
|
height: 75px;
|
|
|
text-align: center;
|
|
|
- background: linear-gradient(
|
|
|
- to right,
|
|
|
- rgba(55, 135, 254, 0.08),
|
|
|
- rgba(4, 184, 255, 0.08),
|
|
|
- rgba(60, 161, 237, 0.08)
|
|
|
- ),
|
|
|
- url("/static/maxbg.png");
|
|
|
- background-size: 100% 100%;
|
|
|
- background-position: center;
|
|
|
+ background-image: url("/static/dataBg.png");
|
|
|
+ background-size: 40% 100%;
|
|
|
+ background-position: right;
|
|
|
background-repeat: no-repeat;
|
|
|
}
|
|
|
+
|
|
|
+.datacard .TabCurCSS {
|
|
|
+ background: linear-gradient(
|
|
|
+ to right,
|
|
|
+ rgba(75, 135, 254, 0.08),
|
|
|
+ rgba(24, 184, 255, 0.08),
|
|
|
+ rgba(80, 161, 237, 0.08)
|
|
|
+ );
|
|
|
+}
|
|
|
.left-content {
|
|
|
padding-top: 10rpx;
|
|
|
padding-bottom: 10rpx;
|
|
@@ -1088,7 +1095,7 @@ export default {
|
|
|
}
|
|
|
.right-content {
|
|
|
width: 50%; /* 右侧内容占据50%宽度 */
|
|
|
- background-image: url(../../../../static/model/Pa.png);
|
|
|
+ background-image: url("/static/dataBg.png");
|
|
|
background-size: 100% 125%;
|
|
|
}
|
|
|
|