|
@@ -3,388 +3,111 @@
|
|
<div class="top">
|
|
<div class="top">
|
|
<div class="modeSwitching">
|
|
<div class="modeSwitching">
|
|
<div @click="switchMode(1)" :class="{ active: mode == 1 }">
|
|
<div @click="switchMode(1)" :class="{ active: mode == 1 }">
|
|
- <i class="el-icon-menu" ></i>
|
|
|
|
|
|
+ <el-icon :size="16">
|
|
|
|
+ <Menu />
|
|
|
|
+ </el-icon>
|
|
<span>平铺</span>
|
|
<span>平铺</span>
|
|
</div>
|
|
</div>
|
|
<div @click="switchMode(2)" :class="{ active: mode == 2 }">
|
|
<div @click="switchMode(2)" :class="{ active: mode == 2 }">
|
|
- <i class="el-icon-place"></i>
|
|
|
|
|
|
+ <el-icon :size="16">
|
|
|
|
+ <Document />
|
|
|
|
+ </el-icon>
|
|
<span>表格</span>
|
|
<span>表格</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="time">
|
|
<div class="time">
|
|
- 数据刷新时间:2025-07-08 11:00:00
|
|
|
|
|
|
+ 数据刷新时间:{{ refresh }}
|
|
</div>
|
|
</div>
|
|
<div class="statistics">
|
|
<div class="statistics">
|
|
- <div>
|
|
|
|
- <img src="http://yun1.ewoogi.com:15001/img/fire-monitor/device.png" alt="">
|
|
|
|
- <span>总设备数:13</span>
|
|
|
|
- </div>
|
|
|
|
- <div>
|
|
|
|
- <img src="http://yun1.ewoogi.com:15001/img/fire-monitor/device.png" alt="">
|
|
|
|
- <span>告警设备数:0</span>
|
|
|
|
|
|
+ <div v-for="(item, index) in equipmentStatistics" :key="index">
|
|
|
|
+ <img :src="item.icon" alt="">
|
|
|
|
+ <span>{{ item.name }}:{{ item.num }}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="middle">
|
|
<div class="middle">
|
|
<div class="square" v-if="mode == 1">
|
|
<div class="square" v-if="mode == 1">
|
|
- <div class="listWrap">
|
|
|
|
- <div class="listItem">
|
|
|
|
- <div class="header">
|
|
|
|
- <div class="name">
|
|
|
|
- 设备名称
|
|
|
|
- </div>
|
|
|
|
- <div class="data">
|
|
|
|
- <i class="el-icon-menu" ></i>
|
|
|
|
- <span>历史数据</span>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="content">
|
|
|
|
- <div class="content_wrap">
|
|
|
|
- <div class="content_top">
|
|
|
|
- <p>剩余电流</p>
|
|
|
|
- <img src="http://yun1.ewoogi.com:15001/img/fire-monitor/value-normal.png" alt="">
|
|
|
|
- </div>
|
|
|
|
- <div class="content_middle">
|
|
|
|
- <div class="item">
|
|
|
|
- <p>线缆温度</p>
|
|
|
|
- <div class="list">
|
|
|
|
- <div class="data">
|
|
|
|
- <span class="name">A项</span>
|
|
|
|
- <div>
|
|
|
|
- <span class="value">31.3℃</span>
|
|
|
|
- <img src="http://yun1.ewoogi.com:15001/img/fire-monitor/value-normal.png" alt="">
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="data">
|
|
|
|
- <span class="name">A项</span>
|
|
|
|
- <div>
|
|
|
|
- <span class="value">31.3℃</span>
|
|
|
|
- <img src="http://yun1.ewoogi.com:15001/img/fire-monitor/value-normal.png" alt="">
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="data">
|
|
|
|
- <span class="name">A项</span>
|
|
|
|
- <div>
|
|
|
|
- <span class="value">31.3℃</span>
|
|
|
|
- <img src="http://yun1.ewoogi.com:15001/img/fire-monitor/value-normal.png" alt="">
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="item">
|
|
|
|
- <p>电流</p>
|
|
|
|
- <div class="list">
|
|
|
|
- <div class="data">
|
|
|
|
- <span class="name">A项</span>
|
|
|
|
- <div>
|
|
|
|
- <span class="value">31.3℃</span>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="data">
|
|
|
|
- <span class="name">A项</span>
|
|
|
|
- <div>
|
|
|
|
- <span class="value">31.3℃</span>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="data">
|
|
|
|
- <span class="name">A项</span>
|
|
|
|
- <div>
|
|
|
|
- <span class="value">31.3℃</span>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="content_bottom">
|
|
|
|
- 安装位置
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="listItem">
|
|
|
|
- <div class="header">
|
|
|
|
- <div class="name">
|
|
|
|
- 设备名称
|
|
|
|
- </div>
|
|
|
|
- <div class="data">
|
|
|
|
- <i class="el-icon-menu" ></i>
|
|
|
|
- <span>历史数据</span>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="content">
|
|
|
|
- <div class="content_wrap">
|
|
|
|
- <div class="content_top">
|
|
|
|
- <p>剩余电流</p>
|
|
|
|
- <img src="http://yun1.ewoogi.com:15001/img/fire-monitor/value-normal.png" alt="">
|
|
|
|
- </div>
|
|
|
|
- <div class="content_middle">
|
|
|
|
- <div class="item">
|
|
|
|
- <p>线缆温度</p>
|
|
|
|
- <div class="list">
|
|
|
|
- <div class="data">
|
|
|
|
- <span class="name">A项</span>
|
|
|
|
- <div>
|
|
|
|
- <span class="value">31.3℃</span>
|
|
|
|
- <img src="http://yun1.ewoogi.com:15001/img/fire-monitor/value-normal.png" alt="">
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="data">
|
|
|
|
- <span class="name">A项</span>
|
|
|
|
- <div>
|
|
|
|
- <span class="value">31.3℃</span>
|
|
|
|
- <img src="http://yun1.ewoogi.com:15001/img/fire-monitor/value-normal.png" alt="">
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="data">
|
|
|
|
- <span class="name">A项</span>
|
|
|
|
- <div>
|
|
|
|
- <span class="value">31.3℃</span>
|
|
|
|
- <img src="http://yun1.ewoogi.com:15001/img/fire-monitor/value-normal.png" alt="">
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="item">
|
|
|
|
- <p>电流</p>
|
|
|
|
- <div class="list">
|
|
|
|
- <div class="data">
|
|
|
|
- <span class="name">A项</span>
|
|
|
|
- <div>
|
|
|
|
- <span class="value">31.3℃</span>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="data">
|
|
|
|
- <span class="name">A项</span>
|
|
|
|
- <div>
|
|
|
|
- <span class="value">31.3℃</span>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="data">
|
|
|
|
- <span class="name">A项</span>
|
|
|
|
- <div>
|
|
|
|
- <span class="value">31.3℃</span>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="content_bottom">
|
|
|
|
- 安装位置
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="listItem">
|
|
|
|
- <div class="header">
|
|
|
|
- <div class="name">
|
|
|
|
- 设备名称
|
|
|
|
- </div>
|
|
|
|
- <div class="data">
|
|
|
|
- <i class="el-icon-menu" ></i>
|
|
|
|
- <span>历史数据</span>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="content">
|
|
|
|
- <div class="content_wrap">
|
|
|
|
- <div class="content_top">
|
|
|
|
- <p>剩余电流</p>
|
|
|
|
- <img src="http://yun1.ewoogi.com:15001/img/fire-monitor/value-normal.png" alt="">
|
|
|
|
- </div>
|
|
|
|
- <div class="content_middle">
|
|
|
|
- <div class="item">
|
|
|
|
- <p>线缆温度</p>
|
|
|
|
- <div class="list">
|
|
|
|
- <div class="data">
|
|
|
|
- <span class="name">A项</span>
|
|
|
|
- <div>
|
|
|
|
- <span class="value">31.3℃</span>
|
|
|
|
- <img src="http://yun1.ewoogi.com:15001/img/fire-monitor/value-normal.png" alt="">
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="data">
|
|
|
|
- <span class="name">A项</span>
|
|
|
|
- <div>
|
|
|
|
- <span class="value">31.3℃</span>
|
|
|
|
- <img src="http://yun1.ewoogi.com:15001/img/fire-monitor/value-normal.png" alt="">
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="data">
|
|
|
|
- <span class="name">A项</span>
|
|
|
|
- <div>
|
|
|
|
- <span class="value">31.3℃</span>
|
|
|
|
- <img src="http://yun1.ewoogi.com:15001/img/fire-monitor/value-normal.png" alt="">
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="item">
|
|
|
|
- <p>电流</p>
|
|
|
|
- <div class="list">
|
|
|
|
- <div class="data">
|
|
|
|
- <span class="name">A项</span>
|
|
|
|
- <div>
|
|
|
|
- <span class="value">31.3℃</span>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="data">
|
|
|
|
- <span class="name">A项</span>
|
|
|
|
- <div>
|
|
|
|
- <span class="value">31.3℃</span>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="data">
|
|
|
|
- <span class="name">A项</span>
|
|
|
|
- <div>
|
|
|
|
- <span class="value">31.3℃</span>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- <div class="content_bottom">
|
|
|
|
- 安装位置
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <list :data="deviceData" @change="dialogChange" />
|
|
</div>
|
|
</div>
|
|
<div class="table" v-if="mode == 2">
|
|
<div class="table" v-if="mode == 2">
|
|
- <el-table :data="tableData" border stripe :header-cell-style="headClass">
|
|
|
|
- <el-table-column
|
|
|
|
- fixed
|
|
|
|
- prop="platformAreaName"
|
|
|
|
- label="设备名称"
|
|
|
|
- width=""
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- prop="platformAreaCode"
|
|
|
|
- label="安装位置"
|
|
|
|
- width=""
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column
|
|
|
|
- prop="platformAreaAddress"
|
|
|
|
- label="剩余电流"
|
|
|
|
- width=""
|
|
|
|
- ></el-table-column>
|
|
|
|
- <el-table-column label="线缆温度(℃)" align="center">
|
|
|
|
- <el-table-column prop="siteCount" label="A相" width="">
|
|
|
|
- <template #default="scope">
|
|
|
|
- <span
|
|
|
|
- @click="goSiteList(scope.row)"
|
|
|
|
- v-if="scope.row.siteCount"
|
|
|
|
- style="cursor: pointer; color: #0284e8"
|
|
|
|
- >
|
|
|
|
- {{ scope.row.siteCount }}
|
|
|
|
- </span>
|
|
|
|
- <span v-else>{{ scope.row.siteCount }}</span>
|
|
|
|
- </template>
|
|
|
|
- </el-table-column>
|
|
|
|
- <el-table-column prop="siteCount" label="B相" width="">
|
|
|
|
- <template #default="scope">
|
|
|
|
- <span
|
|
|
|
- @click="goSiteList(scope.row)"
|
|
|
|
- v-if="scope.row.siteCount"
|
|
|
|
- style="cursor: pointer; color: #0284e8"
|
|
|
|
- >
|
|
|
|
- {{ scope.row.siteCount }}
|
|
|
|
- </span>
|
|
|
|
- <span v-else>{{ scope.row.siteCount }}</span>
|
|
|
|
- </template>
|
|
|
|
- </el-table-column>
|
|
|
|
- <el-table-column prop="siteCount" label="C相" width="">
|
|
|
|
- <template #default="scope">
|
|
|
|
- <span
|
|
|
|
- @click="goSiteList(scope.row)"
|
|
|
|
- v-if="scope.row.siteCount"
|
|
|
|
- style="cursor: pointer; color: #0284e8"
|
|
|
|
- >
|
|
|
|
- {{ scope.row.siteCount }}
|
|
|
|
- </span>
|
|
|
|
- <span v-else>{{ scope.row.siteCount }}</span>
|
|
|
|
- </template>
|
|
|
|
- </el-table-column>
|
|
|
|
- </el-table-column>
|
|
|
|
- <el-table-column label="电流(A)" align="center" width="">
|
|
|
|
- <el-table-column prop="siteCount" label="A相" width="">
|
|
|
|
- <template #default="scope">
|
|
|
|
- <span
|
|
|
|
- @click="goSiteList(scope.row)"
|
|
|
|
- v-if="scope.row.siteCount"
|
|
|
|
- style="cursor: pointer; color: #0284e8"
|
|
|
|
- >
|
|
|
|
- {{ scope.row.siteCount }}
|
|
|
|
- </span>
|
|
|
|
- <span v-else>{{ scope.row.siteCount }}</span>
|
|
|
|
- </template>
|
|
|
|
- </el-table-column>
|
|
|
|
- <el-table-column prop="siteCount" label="B相" width="">
|
|
|
|
- <template #default="scope">
|
|
|
|
- <span
|
|
|
|
- @click="goSiteList(scope.row)"
|
|
|
|
- v-if="scope.row.siteCount"
|
|
|
|
- style="cursor: pointer; color: #0284e8"
|
|
|
|
- >
|
|
|
|
- {{ scope.row.siteCount }}
|
|
|
|
- </span>
|
|
|
|
- <span v-else>{{ scope.row.siteCount }}</span>
|
|
|
|
- </template>
|
|
|
|
- </el-table-column>
|
|
|
|
- <el-table-column prop="siteCount" label="C相" width="">
|
|
|
|
- <template #default="scope">
|
|
|
|
- <span
|
|
|
|
- @click="goSiteList(scope.row)"
|
|
|
|
- v-if="scope.row.siteCount"
|
|
|
|
- style="cursor: pointer; color: #0284e8"
|
|
|
|
- >
|
|
|
|
- {{ scope.row.siteCount }}
|
|
|
|
- </span>
|
|
|
|
- <span v-else>{{ scope.row.siteCount }}</span>
|
|
|
|
- </template>
|
|
|
|
- </el-table-column>
|
|
|
|
- </el-table-column>
|
|
|
|
- <el-table-column fixed="right" label="历史数据" width="250">
|
|
|
|
- <template #default="scope">
|
|
|
|
- <el-button
|
|
|
|
- type="text"
|
|
|
|
- size="small"
|
|
|
|
- @click.prevent="editRow(scope.row)"
|
|
|
|
- :disabled="store.state.authorities.indexOf('修改')==-1"
|
|
|
|
- >
|
|
|
|
- 编辑
|
|
|
|
- </el-button>
|
|
|
|
- <el-popconfirm
|
|
|
|
- confirm-button-text="是"
|
|
|
|
- cancel-button-text="否"
|
|
|
|
- icon="el-icon-info"
|
|
|
|
- icon-color="red"
|
|
|
|
- title="确定删除?"
|
|
|
|
- @confirm="handleDelete(scope.row)"
|
|
|
|
- @cancel="cancelEvent"
|
|
|
|
- >
|
|
|
|
- <template #reference>
|
|
|
|
- <el-button type="text" size="small" class="delete-text" :disabled="store.state.authorities.indexOf('删除')==-1">
|
|
|
|
-
|
|
|
|
- 删除
|
|
|
|
- </el-button>
|
|
|
|
- </template>
|
|
|
|
- </el-popconfirm>
|
|
|
|
- </template>
|
|
|
|
- </el-table-column>
|
|
|
|
- </el-table>
|
|
|
|
|
|
+ <tableC :data="tableData" @change="dialogChange"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <dialogC ref="dialogCRef" @change="dialogChange"/>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
-import { ref } from 'vue'
|
|
|
|
|
|
+/*----------------------------------组件引入-----------------------------------*/
|
|
|
|
+import list from "./components/list"
|
|
|
|
+import tableC from "./components/table"
|
|
|
|
+import dialogC from './components/dialog'
|
|
|
|
+/*----------------------------------接口引入-----------------------------------*/
|
|
|
|
+import { ref, getCurrentInstance } from 'vue'
|
|
|
|
+/*----------------------------------store引入-----------------------------------*/
|
|
|
|
+/*----------------------------------公共方法引入---------------------------------*/
|
|
|
|
+/*----------------------------------常量声明-----------------------------------*/
|
|
|
|
+import { Menu, Document } from '@element-plus/icons-vue'
|
|
|
|
+import device from '@/assets/images/device.png'
|
|
|
|
+import deviceWarning from '@/assets/images/deviceWarning.png'
|
|
|
|
+/*----------------------------------变量声明-----------------------------------*/
|
|
|
|
+const { proxy } = getCurrentInstance();
|
|
const mode = ref(1) // 1平铺 2表格
|
|
const mode = ref(1) // 1平铺 2表格
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+const refresh = ref(new Date().toLocaleString()) // 数据刷新时间
|
|
|
|
+const equipmentStatistics = ref([
|
|
|
|
+ { name:"总设备数", num: 13, icon: device },
|
|
|
|
+ { name:"告警设备数", num: 5, icon: deviceWarning },
|
|
|
|
+]) //设备统计
|
|
|
|
+const deviceData = ref([
|
|
|
|
+ {
|
|
|
|
+ name:"一楼电表", devicedId:"1", installPosition:"华徐公路永天科技",
|
|
|
|
+ // temperature:[
|
|
|
|
+ // { name:"A相", value:31.3, unit:"℃" },
|
|
|
|
+ // { name:"B相", value:31.3, unit:"℃" },
|
|
|
|
+ // { name:"C相", value:31.3, unit:"℃" },
|
|
|
|
+ // ],
|
|
|
|
+ electricCurrent:[
|
|
|
|
+ { name:"A相", value:12.147, unit:"A" },
|
|
|
|
+ { name:"B相", value:12.147, unit:"A" },
|
|
|
|
+ { name:"C相", value:12.147, unit:"A" },
|
|
|
|
+ ]
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ {
|
|
|
|
+ name:"二楼电表", devicedId:"1", installPosition:"华徐公路永天科技2",
|
|
|
|
+ temperature:[
|
|
|
|
+ { name:"A相", value:31.3, unit:"℃" },
|
|
|
|
+ { name:"B相", value:31.3, unit:"℃" },
|
|
|
|
+ { name:"C相", value:31.3, unit:"℃" },
|
|
|
|
+ ],
|
|
|
|
+ electricCurrent:[
|
|
|
|
+ { name:"A相", value:12.147, unit:"A" },
|
|
|
|
+ { name:"B相", value:12.147, unit:"A" },
|
|
|
|
+ { name:"C相", value:12.147, unit:"A" },
|
|
|
|
+ ]
|
|
|
|
+ }
|
|
|
|
+])//设备信息
|
|
|
|
+const tableData = ref([
|
|
|
|
+ { siteCount: 1}
|
|
|
|
+]) //表格数据
|
|
|
|
+/*----------------------------------方法声明-----------------------------------*/
|
|
|
|
+/**
|
|
|
|
+ *
|
|
|
|
+ * @param val 切换模式
|
|
|
|
+ */
|
|
function switchMode(val){
|
|
function switchMode(val){
|
|
mode.value = val
|
|
mode.value = val
|
|
}
|
|
}
|
|
|
|
+/**
|
|
|
|
+ * 弹框改变
|
|
|
|
+ * @param val
|
|
|
|
+ */
|
|
|
|
+function dialogChange(val){
|
|
|
|
+ proxy.$refs['dialogCRef'].openDialog({
|
|
|
|
+ title: val.name,
|
|
|
|
+ id:val.id
|
|
|
|
+ })
|
|
|
|
+}
|
|
|
|
|
|
</script>
|
|
</script>
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
@@ -402,14 +125,13 @@ function switchMode(val){
|
|
>div{
|
|
>div{
|
|
width:70px;
|
|
width:70px;
|
|
height:100%;
|
|
height:100%;
|
|
- line-height: 28px;
|
|
|
|
|
|
+ line-height: 26px;
|
|
margin-right:10px;
|
|
margin-right:10px;
|
|
display: inline-block;
|
|
display: inline-block;
|
|
background: #fff;
|
|
background: #fff;
|
|
text-align: center;
|
|
text-align: center;
|
|
color:#333;
|
|
color:#333;
|
|
i{
|
|
i{
|
|
- font-size:16px;
|
|
|
|
vertical-align: middle;
|
|
vertical-align: middle;
|
|
margin-right:4px;
|
|
margin-right:4px;
|
|
}
|
|
}
|
|
@@ -425,11 +147,10 @@ function switchMode(val){
|
|
}
|
|
}
|
|
.time{
|
|
.time{
|
|
line-height: 28px;
|
|
line-height: 28px;
|
|
- margin-left:14px;
|
|
|
|
|
|
+ margin-left:10px;
|
|
}
|
|
}
|
|
.statistics{
|
|
.statistics{
|
|
- line-height: 28px;
|
|
|
|
- height:30px;
|
|
|
|
|
|
+ line-height: 24px;
|
|
>div{
|
|
>div{
|
|
margin-left:20px;
|
|
margin-left:20px;
|
|
display: inline-block;
|
|
display: inline-block;
|
|
@@ -438,8 +159,8 @@ function switchMode(val){
|
|
margin:0 4px;
|
|
margin:0 4px;
|
|
vertical-align: middle;
|
|
vertical-align: middle;
|
|
}
|
|
}
|
|
- img:nth{
|
|
|
|
- margin-left:10px !important;
|
|
|
|
|
|
+ img:nth-child(1){
|
|
|
|
+ margin-left:0px !important;
|
|
}
|
|
}
|
|
span{
|
|
span{
|
|
vertical-align: middle;
|
|
vertical-align: middle;
|
|
@@ -450,94 +171,6 @@ function switchMode(val){
|
|
.middle{
|
|
.middle{
|
|
width:100%;
|
|
width:100%;
|
|
margin-top:20px;
|
|
margin-top:20px;
|
|
- .listWrap{
|
|
|
|
- display: flex;
|
|
|
|
- flex-direction: row;
|
|
|
|
- .listItem{
|
|
|
|
- border: 1px solid #00a854;
|
|
|
|
- width: 280px;
|
|
|
|
- background-color: #fff;
|
|
|
|
- float: left;
|
|
|
|
- margin-bottom: 20px;
|
|
|
|
- margin-right: 8px;
|
|
|
|
- .header{
|
|
|
|
- height: 32px;
|
|
|
|
- line-height: 32px;
|
|
|
|
- color: #fff;
|
|
|
|
- padding: 0 12px;
|
|
|
|
- background: linear-gradient(180deg, rgba(0, 168, 84, 0.7) 0, #00a854 100%);
|
|
|
|
- .name{
|
|
|
|
- display: inline-block;
|
|
|
|
- }
|
|
|
|
- .data{
|
|
|
|
- float: right;
|
|
|
|
- font-size: 12px;
|
|
|
|
- color: #fff;
|
|
|
|
- text-decoration: underline;
|
|
|
|
- i{
|
|
|
|
- margin-right:6px;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- .content{
|
|
|
|
- padding:10px;
|
|
|
|
- color:#333;
|
|
|
|
- .content_wrap{
|
|
|
|
- .content_top{
|
|
|
|
- padding: 0 6px 0 10px;
|
|
|
|
- background-color: rgba(245,245,245,0.4);
|
|
|
|
- display: flex;
|
|
|
|
- align-items: center;
|
|
|
|
- justify-content: space-between;
|
|
|
|
- height: 20px;
|
|
|
|
- font-size: 12px;
|
|
|
|
- p{
|
|
|
|
- margin-top:10px;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- .content_middle{
|
|
|
|
- .item{
|
|
|
|
- width:calc(50% - 5px);
|
|
|
|
- display: inline-block;
|
|
|
|
- color:#333;
|
|
|
|
- font-size: 12px;
|
|
|
|
- margin-top:10px;
|
|
|
|
- .list{
|
|
|
|
- background: rgba(245,245,245,0.4);
|
|
|
|
- margin-top:-10px;
|
|
|
|
- .data{
|
|
|
|
- vertical-align: middle;
|
|
|
|
- padding:4px 6px;
|
|
|
|
- >span{
|
|
|
|
- width:30%;
|
|
|
|
- display: inline-block;
|
|
|
|
- }
|
|
|
|
- >div{
|
|
|
|
- width:70%;
|
|
|
|
- text-align: right;
|
|
|
|
- display: inline-block;
|
|
|
|
- img{
|
|
|
|
- margin:-2px 0 0 4px;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- >div:nth-child(2){
|
|
|
|
- margin-left:10px;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- .content_bottom{
|
|
|
|
- font-size: 12px;
|
|
|
|
- margin-top:10px;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|
|
|
|
|