|
|
@@ -1,8 +1,16 @@
|
|
|
<template>
|
|
|
<view class="container">
|
|
|
- <u-navbar :title="titleName" :safeAreaInsetTop="true" :fixed="true" height="50px" bgColor="transparent"
|
|
|
- titleStyle="fw600 fs-18" leftIconColor="#303133" @leftClick="menuShow">
|
|
|
- <view class="u-nav-slot" slot="left" v-if="!isShowDetail">
|
|
|
+ <u-navbar
|
|
|
+ :title="titleName"
|
|
|
+ :safeAreaInsetTop="true"
|
|
|
+ :fixed="true"
|
|
|
+ height="50px"
|
|
|
+ bgColor="transparent"
|
|
|
+ titleStyle="fw600 fs-18"
|
|
|
+ leftIconColor="#303133"
|
|
|
+ @leftClick="onLeftClick"
|
|
|
+ >
|
|
|
+ <view class="u-nav-slot" slot="left">
|
|
|
<u-icon name="arrow-left" size="20" color="#303133"></u-icon>
|
|
|
</view>
|
|
|
</u-navbar>
|
|
|
@@ -16,8 +24,14 @@
|
|
|
<view class="vent-card-header" @click.stop="toggleIsShow1">
|
|
|
<text class="warn-card-title">通风监测预警</text>
|
|
|
<view class="warn-card-action">
|
|
|
- <text class="warn-action-text">{{ isShow1 ? "收起" : "展开" }}</text>
|
|
|
- <u-icon :name="isShow1 ? 'arrow-up' : 'arrow-down'" color="#1890ff" size="14"></u-icon>
|
|
|
+ <text class="warn-action-text">{{
|
|
|
+ isShow1 ? "收起" : "展开"
|
|
|
+ }}</text>
|
|
|
+ <u-icon
|
|
|
+ :name="isShow1 ? 'arrow-up' : 'arrow-down'"
|
|
|
+ color="#1890ff"
|
|
|
+ size="14"
|
|
|
+ ></u-icon>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view v-show="isShow1">
|
|
|
@@ -25,24 +39,43 @@
|
|
|
<view class="vent-card-content" @click="getDetail('vent')">
|
|
|
<view class="vent-metrics-row">
|
|
|
<view class="vent-metric-card">
|
|
|
- <text class="vent-metric-value">{{ windData.zongjinfeng || "--" }}</text>
|
|
|
+ <text class="vent-metric-value">{{
|
|
|
+ windData.zongjinfeng || "--"
|
|
|
+ }}</text>
|
|
|
<text class="vent-metric-label">总进风量(m³/min)</text>
|
|
|
</view>
|
|
|
<view class="vent-metric-card">
|
|
|
- <text class="vent-metric-value">{{ windData.zonghuifeng || "--" }}</text>
|
|
|
+ <text class="vent-metric-value">{{
|
|
|
+ windData.zonghuifeng || "--"
|
|
|
+ }}</text>
|
|
|
<text class="vent-metric-label">总回风量(m³/min)</text>
|
|
|
</view>
|
|
|
<view class="vent-metric-card">
|
|
|
- <text class="vent-metric-value">{{ xufengliang || "--" }}</text>
|
|
|
+ <text class="vent-metric-value">{{
|
|
|
+ xufengliang || "--"
|
|
|
+ }}</text>
|
|
|
<text class="vent-metric-label">总需风量(m³/min)</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="vent-risk-panel">
|
|
|
- <view class="vent-risk-item" v-for="(risk, rIndex) in ventRiskList" :key="rIndex">
|
|
|
- <view class="risk-icon" :style="{ background: risk.color }">
|
|
|
- <u-icon name="error-circle-fill" color="#ffffff" size="12"></u-icon>
|
|
|
+ <view
|
|
|
+ class="vent-risk-item"
|
|
|
+ v-for="(risk, rIndex) in ventRiskList"
|
|
|
+ :key="rIndex"
|
|
|
+ >
|
|
|
+ <view
|
|
|
+ class="risk-icon"
|
|
|
+ :style="{ background: risk.color }"
|
|
|
+ >
|
|
|
+ <u-icon
|
|
|
+ name="error-circle-fill"
|
|
|
+ color="#ffffff"
|
|
|
+ size="12"
|
|
|
+ ></u-icon>
|
|
|
</view>
|
|
|
- <text class="risk-text">{{ risk.label }}: {{ risk.value }}</text>
|
|
|
+ <text class="risk-text"
|
|
|
+ >{{ risk.label }}: {{ risk.value }}</text
|
|
|
+ >
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -56,20 +89,36 @@
|
|
|
<view class="device-card-header" @click.stop="toggleIsShow5">
|
|
|
<text class="warn-card-title">设备监测预警</text>
|
|
|
<view class="warn-card-action">
|
|
|
- <text class="warn-action-text">{{ isShow5 ? "收起" : "展开" }}</text>
|
|
|
- <u-icon :name="isShow5 ? 'arrow-up' : 'arrow-down'" color="#2b7cff" size="14"></u-icon>
|
|
|
+ <text class="warn-action-text">{{
|
|
|
+ isShow5 ? "收起" : "展开"
|
|
|
+ }}</text>
|
|
|
+ <u-icon
|
|
|
+ :name="isShow5 ? 'arrow-up' : 'arrow-down'"
|
|
|
+ color="#2b7cff"
|
|
|
+ size="14"
|
|
|
+ ></u-icon>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view v-show="isShow5">
|
|
|
<view class="device-card-divider"></view>
|
|
|
<view class="device-card-content" @click="getDetail('device')">
|
|
|
<view class="device-grid">
|
|
|
- <view class="device-item-card" v-for="(item, index) in deviceList" :key="index">
|
|
|
- <image class="device-item-icon" :src="getDeviceIcon(item)" mode="aspectFit"></image>
|
|
|
+ <view
|
|
|
+ class="device-item-card"
|
|
|
+ v-for="(item, index) in deviceList"
|
|
|
+ :key="index"
|
|
|
+ >
|
|
|
+ <image
|
|
|
+ class="device-item-icon"
|
|
|
+ :src="getDeviceIcon(item)"
|
|
|
+ mode="aspectFit"
|
|
|
+ ></image>
|
|
|
<view class="device-item-bar">
|
|
|
<text class="device-item-name">{{ item.name }}</text>
|
|
|
<view class="device-status-tag">
|
|
|
- <text class="device-item-status">{{ item.status }}</text>
|
|
|
+ <text class="device-item-status">{{
|
|
|
+ item.status
|
|
|
+ }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -85,8 +134,14 @@
|
|
|
<view class="fire-card-header" @click.stop="toggleIsShow2">
|
|
|
<text class="warn-card-title">火灾监测预警</text>
|
|
|
<view class="warn-card-action">
|
|
|
- <text class="warn-action-text">{{ isShow2 ? "收起" : "展开" }}</text>
|
|
|
- <u-icon :name="isShow2 ? 'arrow-up' : 'arrow-down'" color="#2b7cff" size="14"></u-icon>
|
|
|
+ <text class="warn-action-text">{{
|
|
|
+ isShow2 ? "收起" : "展开"
|
|
|
+ }}</text>
|
|
|
+ <u-icon
|
|
|
+ :name="isShow2 ? 'arrow-up' : 'arrow-down'"
|
|
|
+ color="#2b7cff"
|
|
|
+ size="14"
|
|
|
+ ></u-icon>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view v-show="isShow2">
|
|
|
@@ -102,16 +157,29 @@
|
|
|
<!-- <view class="fire-block-line"></view> -->
|
|
|
</view>
|
|
|
<view class="fire-grid">
|
|
|
- <view class="fire-data-card" v-for="(item, index) in internalFireList" :key="'internal-' + index">
|
|
|
+ <view
|
|
|
+ class="fire-data-card"
|
|
|
+ v-for="(item, index) in internalFireList"
|
|
|
+ :key="'internal-' + index"
|
|
|
+ >
|
|
|
<view class="fire-icon-box">
|
|
|
- <image class="fire-icon" :src="getFireIcon(item)" mode="aspectFit"></image>
|
|
|
+ <image
|
|
|
+ class="fire-icon"
|
|
|
+ :src="getFireIcon(item)"
|
|
|
+ mode="aspectFit"
|
|
|
+ ></image>
|
|
|
</view>
|
|
|
<view class="fire-data-info">
|
|
|
- <text :class="[
|
|
|
- 'fire-data-value',
|
|
|
- isFireValueWarn(item) ? 'fire-value-warn' : '',
|
|
|
- ]">{{ item.value }}</text>
|
|
|
- <text class="fire-data-label">{{ item.monitorcode }}{{ getFireUnit(item) }}</text>
|
|
|
+ <text
|
|
|
+ :class="[
|
|
|
+ 'fire-data-value',
|
|
|
+ isFireValueWarn(item) ? 'fire-value-warn' : '',
|
|
|
+ ]"
|
|
|
+ >{{ item.value }}</text
|
|
|
+ >
|
|
|
+ <text class="fire-data-label"
|
|
|
+ >{{ item.monitorcode }}{{ getFireUnit(item) }}</text
|
|
|
+ >
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -126,16 +194,29 @@
|
|
|
<!-- <view class="fire-block-line"></view> -->
|
|
|
</view>
|
|
|
<view class="fire-grid">
|
|
|
- <view class="fire-data-card" v-for="(item, index) in externalFireList" :key="'external-' + index">
|
|
|
+ <view
|
|
|
+ class="fire-data-card"
|
|
|
+ v-for="(item, index) in externalFireList"
|
|
|
+ :key="'external-' + index"
|
|
|
+ >
|
|
|
<view class="fire-icon-box">
|
|
|
- <image class="fire-icon" :src="getFireIcon(item)" mode="aspectFit"></image>
|
|
|
+ <image
|
|
|
+ class="fire-icon"
|
|
|
+ :src="getFireIcon(item)"
|
|
|
+ mode="aspectFit"
|
|
|
+ ></image>
|
|
|
</view>
|
|
|
<view class="fire-data-info">
|
|
|
- <text :class="[
|
|
|
- 'fire-data-value',
|
|
|
- isFireValueWarn(item) ? 'fire-value-warn' : '',
|
|
|
- ]">{{ item.value }}</text>
|
|
|
- <text class="fire-data-label">{{ item.monitorcode }}{{ getFireUnit(item) }}</text>
|
|
|
+ <text
|
|
|
+ :class="[
|
|
|
+ 'fire-data-value',
|
|
|
+ isFireValueWarn(item) ? 'fire-value-warn' : '',
|
|
|
+ ]"
|
|
|
+ >{{ item.value }}</text
|
|
|
+ >
|
|
|
+ <text class="fire-data-label"
|
|
|
+ >{{ item.monitorcode }}{{ getFireUnit(item) }}</text
|
|
|
+ >
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -151,8 +232,14 @@
|
|
|
<view class="dust-card-header" @click.stop="toggleIsShow3">
|
|
|
<text class="warn-card-title">粉尘监测预警</text>
|
|
|
<view class="warn-card-action">
|
|
|
- <text class="warn-action-text">{{ isShow3 ? "收起" : "展开" }}</text>
|
|
|
- <u-icon :name="isShow3 ? 'arrow-up' : 'arrow-down'" color="#2b7cff" size="14"></u-icon>
|
|
|
+ <text class="warn-action-text">{{
|
|
|
+ isShow3 ? "收起" : "展开"
|
|
|
+ }}</text>
|
|
|
+ <u-icon
|
|
|
+ :name="isShow3 ? 'arrow-up' : 'arrow-down'"
|
|
|
+ color="#2b7cff"
|
|
|
+ size="14"
|
|
|
+ ></u-icon>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view v-show="isShow3">
|
|
|
@@ -160,16 +247,31 @@
|
|
|
<view class="dust-card-content" @click="getDetail('dust')">
|
|
|
<view class="dust-alarm-bar">
|
|
|
<view class="dust-alarm-icon-wrap">
|
|
|
- <image class="dust-alarm-icon" src="/static/warndata/报警.svg" mode="aspectFit"></image>
|
|
|
+ <image
|
|
|
+ class="dust-alarm-icon"
|
|
|
+ src="/static/warndata/报警.svg"
|
|
|
+ mode="aspectFit"
|
|
|
+ ></image>
|
|
|
</view>
|
|
|
<text class="dust-alarm-label">报警:</text>
|
|
|
<text class="dust-alarm-value">{{ dustAlarmCount }}</text>
|
|
|
</view>
|
|
|
<view class="dust-risk-row">
|
|
|
- <view class="dust-risk-card" v-for="(risk, index) in dustRiskList" :key="index"
|
|
|
- :style="{ background: risk.bg }">
|
|
|
- <view class="dust-risk-icon" :style="{ background: risk.iconBg }">
|
|
|
- <image class="dust-risk-icon-img" src="/static/warndata/风险.svg" mode="aspectFit"></image>
|
|
|
+ <view
|
|
|
+ class="dust-risk-card"
|
|
|
+ v-for="(risk, index) in dustRiskList"
|
|
|
+ :key="index"
|
|
|
+ :style="{ background: risk.bg }"
|
|
|
+ >
|
|
|
+ <view
|
|
|
+ class="dust-risk-icon"
|
|
|
+ :style="{ background: risk.iconBg }"
|
|
|
+ >
|
|
|
+ <image
|
|
|
+ class="dust-risk-icon-img"
|
|
|
+ src="/static/warndata/风险.svg"
|
|
|
+ mode="aspectFit"
|
|
|
+ ></image>
|
|
|
</view>
|
|
|
<text class="dust-risk-value">{{ risk.value }}</text>
|
|
|
<text class="dust-risk-label">{{ risk.label }}</text>
|
|
|
@@ -186,7 +288,9 @@
|
|
|
<view class="gas-card-header" @click.stop="toggleIsShow4">
|
|
|
<text class="warn-card-title">瓦斯监测预警</text>
|
|
|
<view class="warn-card-action">
|
|
|
- <text class="warn-action-text">{{ isShow4 ? "收起" : "展开" }}</text>
|
|
|
+ <text class="warn-action-text">{{
|
|
|
+ isShow4 ? "收起" : "展开"
|
|
|
+ }}</text>
|
|
|
<u-icon
|
|
|
:name="isShow4 ? 'arrow-up' : 'arrow-down'"
|
|
|
color="#2b7cff"
|
|
|
@@ -221,13 +325,20 @@
|
|
|
></image>
|
|
|
</view>
|
|
|
<view class="gas-data-info">
|
|
|
- <text class="gas-data-value">{{ item.gasNumber }}</text>
|
|
|
- <text class="gas-data-label">{{ item.systemname }}</text>
|
|
|
+ <text class="gas-data-value">{{
|
|
|
+ item.gasNumber
|
|
|
+ }}</text>
|
|
|
+ <text class="gas-data-label">{{
|
|
|
+ item.systemname
|
|
|
+ }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="gas-block gas-block-second" v-if="gasDevice.length > 0">
|
|
|
+ <view
|
|
|
+ class="gas-block gas-block-second"
|
|
|
+ v-if="gasDevice.length > 0"
|
|
|
+ >
|
|
|
<view class="gas-block-header">
|
|
|
<!-- <view class="gas-block-deco">
|
|
|
<view class="gas-deco-line"></view>
|
|
|
@@ -251,8 +362,12 @@
|
|
|
></image>
|
|
|
</view>
|
|
|
<view class="gas-data-info">
|
|
|
- <text class="gas-data-value">{{ item.pumpNumber }}</text>
|
|
|
- <text class="gas-data-label">{{ item.systemname }}</text>
|
|
|
+ <text class="gas-data-value">{{
|
|
|
+ item.pumpNumber
|
|
|
+ }}</text>
|
|
|
+ <text class="gas-data-label">{{
|
|
|
+ item.systemname
|
|
|
+ }}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -444,6 +559,14 @@ export default {
|
|
|
});
|
|
|
});
|
|
|
},
|
|
|
+ //左上角返回键:详情页返回预警列表页,预警列表页返回首页
|
|
|
+ onLeftClick() {
|
|
|
+ if (!this.isShowDetail) {
|
|
|
+ this.menuShow();
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ this.$emit("changePage", "device");
|
|
|
+ },
|
|
|
//返回监测首页
|
|
|
menuShow() {
|
|
|
this.isShowDetail = true;
|
|
|
@@ -587,7 +710,11 @@ export default {
|
|
|
},
|
|
|
dustAlarmCount() {
|
|
|
const data = this.dustData || {};
|
|
|
- if (data.alarm !== undefined && data.alarm !== null && data.alarm !== "") {
|
|
|
+ if (
|
|
|
+ data.alarm !== undefined &&
|
|
|
+ data.alarm !== null &&
|
|
|
+ data.alarm !== ""
|
|
|
+ ) {
|
|
|
return data.alarm;
|
|
|
}
|
|
|
return 0;
|
|
|
@@ -763,7 +890,11 @@ export default {
|
|
|
margin: 0 6rpx;
|
|
|
padding: 24rpx 8rpx;
|
|
|
border-radius: 12rpx;
|
|
|
- background: linear-gradient(to bottom, rgba(175, 195, 252, .6) 0%, rgba(175, 195, 252, .1) 100%);
|
|
|
+ background: linear-gradient(
|
|
|
+ to bottom,
|
|
|
+ rgba(175, 195, 252, 0.6) 0%,
|
|
|
+ rgba(175, 195, 252, 0.1) 100%
|
|
|
+ );
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
align-items: center;
|
|
|
@@ -800,7 +931,11 @@ export default {
|
|
|
margin-top: 16rpx;
|
|
|
padding: 24rpx 16rpx;
|
|
|
border-radius: 12rpx;
|
|
|
- background: linear-gradient(to bottom, rgba(175, 195, 252, .6) 0%, rgba(175, 195, 252, .1) 100%);
|
|
|
+ background: linear-gradient(
|
|
|
+ to bottom,
|
|
|
+ rgba(175, 195, 252, 0.6) 0%,
|
|
|
+ rgba(175, 195, 252, 0.1) 100%
|
|
|
+ );
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
flex-wrap: wrap;
|
|
|
@@ -891,7 +1026,7 @@ export default {
|
|
|
height: 80rpx;
|
|
|
margin-bottom: 30rpx;
|
|
|
box-sizing: border-box;
|
|
|
- background: url('../../static/warndata/1-3.png') no-repeat center;
|
|
|
+ background: url("../../static/warndata/1-3.png") no-repeat center;
|
|
|
background-size: 100% 100%;
|
|
|
}
|
|
|
|
|
|
@@ -1006,7 +1141,7 @@ export default {
|
|
|
width: 100%;
|
|
|
margin-bottom: 20rpx;
|
|
|
padding-left: 30rpx;
|
|
|
- background: url('../../static/warndata/1-1.png') no-repeat center;
|
|
|
+ background: url("../../static/warndata/1-1.png") no-repeat center;
|
|
|
background-size: 100% 100%;
|
|
|
}
|
|
|
|
|
|
@@ -1038,7 +1173,12 @@ export default {
|
|
|
.fire-block-line {
|
|
|
flex: 1;
|
|
|
height: 28rpx;
|
|
|
- background: linear-gradient(90deg, #d0e7ff 0%, #eef5ff 72%, rgba(238, 245, 255, 0) 100%);
|
|
|
+ background: linear-gradient(
|
|
|
+ 90deg,
|
|
|
+ #d0e7ff 0%,
|
|
|
+ #eef5ff 72%,
|
|
|
+ rgba(238, 245, 255, 0) 100%
|
|
|
+ );
|
|
|
clip-path: polygon(0 0, calc(100% - 24rpx) 0, 100% 100%, 0 100%);
|
|
|
}
|
|
|
|
|
|
@@ -1054,7 +1194,11 @@ export default {
|
|
|
margin-bottom: 16rpx;
|
|
|
padding: 20rpx 16rpx;
|
|
|
border-radius: 12rpx;
|
|
|
- background: linear-gradient(to bottom, rgba(175, 195, 252, .6) 0%, rgba(175, 195, 252, .1) 100%);
|
|
|
+ background: linear-gradient(
|
|
|
+ to bottom,
|
|
|
+ rgba(175, 195, 252, 0.6) 0%,
|
|
|
+ rgba(175, 195, 252, 0.1) 100%
|
|
|
+ );
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
align-items: center;
|
|
|
@@ -1137,7 +1281,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
.dust-section .warn-action-text {
|
|
|
- color: #0065f8;
|
|
|
+ color: #0065f8;
|
|
|
}
|
|
|
|
|
|
.dust-alarm-bar {
|
|
|
@@ -1282,7 +1426,7 @@ export default {
|
|
|
align-items: center;
|
|
|
margin-bottom: 20rpx;
|
|
|
padding-left: 30rpx;
|
|
|
- background: url('../../static/warndata/1-1.png') no-repeat center;
|
|
|
+ background: url("../../static/warndata/1-1.png") no-repeat center;
|
|
|
background-size: 100% 100%;
|
|
|
}
|
|
|
|
|
|
@@ -1322,7 +1466,12 @@ export default {
|
|
|
.gas-block-line {
|
|
|
flex: 1;
|
|
|
height: 28rpx;
|
|
|
- background: linear-gradient(90deg, #d0e7ff 0%, #eef5ff 72%, rgba(238, 245, 255, 0) 100%);
|
|
|
+ background: linear-gradient(
|
|
|
+ 90deg,
|
|
|
+ #d0e7ff 0%,
|
|
|
+ #eef5ff 72%,
|
|
|
+ rgba(238, 245, 255, 0) 100%
|
|
|
+ );
|
|
|
clip-path: polygon(0 0, calc(100% - 24rpx) 0, 100% 100%, 0 100%);
|
|
|
}
|
|
|
|
|
|
@@ -1339,7 +1488,11 @@ export default {
|
|
|
margin-right: 20rpx;
|
|
|
padding: 16rpx 10rpx;
|
|
|
border-radius: 12rpx;
|
|
|
-background: linear-gradient(to bottom, rgba(175, 195, 252, .6) 0%, rgba(175, 195, 252, .1) 100%);
|
|
|
+ background: linear-gradient(
|
|
|
+ to bottom,
|
|
|
+ rgba(175, 195, 252, 0.6) 0%,
|
|
|
+ rgba(175, 195, 252, 0.1) 100%
|
|
|
+ );
|
|
|
display: flex;
|
|
|
flex-direction: row;
|
|
|
align-items: center;
|
|
|
@@ -1407,10 +1560,12 @@ background: linear-gradient(to bottom, rgba(175, 195, 252, .6) 0%, rgba(175, 195
|
|
|
line-height: 27px;
|
|
|
border-radius: 5px;
|
|
|
background: url(/static/model/windM3.png),
|
|
|
- linear-gradient(to right,
|
|
|
+ linear-gradient(
|
|
|
+ to right,
|
|
|
rgba(55, 135, 254, 0.08),
|
|
|
rgba(4, 184, 255, 0.08),
|
|
|
- rgba(60, 161, 237, 0.08));
|
|
|
+ rgba(60, 161, 237, 0.08)
|
|
|
+ );
|
|
|
background-repeat: no-repeat;
|
|
|
background-size: 100% 100%;
|
|
|
background-position: right;
|
|
|
@@ -1423,17 +1578,19 @@ background: linear-gradient(to bottom, rgba(175, 195, 252, .6) 0%, rgba(175, 195
|
|
|
height: 200rpx;
|
|
|
text-align: center;
|
|
|
border-radius: 10px;
|
|
|
- background: linear-gradient(to right,
|
|
|
- rgba(55, 135, 254, 0.08),
|
|
|
- rgba(4, 184, 255, 0.08),
|
|
|
- rgba(60, 161, 237, 0.08));
|
|
|
+ background: linear-gradient(
|
|
|
+ to right,
|
|
|
+ rgba(55, 135, 254, 0.08),
|
|
|
+ rgba(4, 184, 255, 0.08),
|
|
|
+ rgba(60, 161, 237, 0.08)
|
|
|
+ );
|
|
|
}
|
|
|
|
|
|
.title {
|
|
|
position: relative;
|
|
|
width: 100%;
|
|
|
height: 50rpx;
|
|
|
- background: url('../../static/warndata/1-1.png');
|
|
|
+ background: url("../../static/warndata/1-1.png");
|
|
|
background-repeat: no-repeat;
|
|
|
background-size: 100% 100%;
|
|
|
display: flex;
|
|
|
@@ -1479,9 +1636,11 @@ background: linear-gradient(to bottom, rgba(175, 195, 252, .6) 0%, rgba(175, 195
|
|
|
.fire-item1 {
|
|
|
width: 45%;
|
|
|
margin: 16rpx;
|
|
|
- background: linear-gradient(to right,
|
|
|
- rgba(55, 135, 254, 0.08),
|
|
|
- rgba(4, 184, 255, 0.08));
|
|
|
+ background: linear-gradient(
|
|
|
+ to right,
|
|
|
+ rgba(55, 135, 254, 0.08),
|
|
|
+ rgba(4, 184, 255, 0.08)
|
|
|
+ );
|
|
|
}
|
|
|
|
|
|
.gascontainer {
|
|
|
@@ -1493,10 +1652,12 @@ background: linear-gradient(to bottom, rgba(175, 195, 252, .6) 0%, rgba(175, 195
|
|
|
border-radius: 10px;
|
|
|
margin: 10px;
|
|
|
display: flex;
|
|
|
- background: linear-gradient(to right,
|
|
|
- rgba(55, 135, 254, 0.08),
|
|
|
- rgba(4, 184, 255, 0.08),
|
|
|
- rgba(60, 161, 237, 0.08));
|
|
|
+ background: linear-gradient(
|
|
|
+ to right,
|
|
|
+ rgba(55, 135, 254, 0.08),
|
|
|
+ rgba(4, 184, 255, 0.08),
|
|
|
+ rgba(60, 161, 237, 0.08)
|
|
|
+ );
|
|
|
flex-direction: row;
|
|
|
justify-content: space-between;
|
|
|
}
|
|
|
@@ -1515,10 +1676,12 @@ background: linear-gradient(to bottom, rgba(175, 195, 252, .6) 0%, rgba(175, 195
|
|
|
border-radius: 10px;
|
|
|
margin: 10px;
|
|
|
display: flex;
|
|
|
- background: linear-gradient(to right,
|
|
|
- rgba(55, 135, 254, 0.08),
|
|
|
- rgba(4, 184, 255, 0.08),
|
|
|
- rgba(60, 161, 237, 0.08));
|
|
|
+ background: linear-gradient(
|
|
|
+ to right,
|
|
|
+ rgba(55, 135, 254, 0.08),
|
|
|
+ rgba(4, 184, 255, 0.08),
|
|
|
+ rgba(60, 161, 237, 0.08)
|
|
|
+ );
|
|
|
flex-direction: row;
|
|
|
justify-content: space-between;
|
|
|
}
|