Commit 155d8249 by 张杰

v1.6.0版本需求

1 parent 434e8ff5
...@@ -191,3 +191,28 @@ ...@@ -191,3 +191,28 @@
.mr5 { .mr5 {
margin-right: 5px; margin-right: 5px;
} }
.page_title {
position: relative;
.title_tip_icon {
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
font-size: 16px;
color: #999;
}
}
.popover_box {
.h3 {
font-size: 14px;
color:#666;
}
p {
font-size: 12px;
color:#999;
}
}
\ No newline at end of file \ No newline at end of file
<template> <template>
<div class="system-container"> <div class="system-container">
<div class="container"> <div class="container">
<h1>电量统计</h1> <h1 class="page_title">
<span>电量统计</span>
<el-popover placement="right-start" trigger="hover">
<div class="popover_box">
<h3 class="h3">首次上点时间</h3>
<p>指无线设备激活时间;</p>
<h3 class="h3">最近上点时间</h3>
<p>指无线设备最近一次的上点时间;</p>
<h3 class="h3">当前电量(%)</h3>
<p>显示设备当前电量百分比;</p>
<p>仅统计无线设备的用户</p>
</div>
<span class="title_tip_icon" slot="reference"><i class="el-icon-question"></i></span>
</el-popover>
</h1>
<div class="m-b-md title_tips">用于统计无线设备的剩余电量</div> <div class="m-b-md title_tips">用于统计无线设备的剩余电量</div>
<!-- 搜索区域 开始 --> <!-- 搜索区域 开始 -->
...@@ -165,16 +179,16 @@ export default { ...@@ -165,16 +179,16 @@ export default {
// 获取查询参数 // 获取查询参数
getParams() { getParams() {
let oParams = deepClone(this.searchForm); let oParams = deepClone(this.searchForm);
if(oParams.minBattery && !oParams.maxBattery){ if (oParams.minBattery && !oParams.maxBattery) {
showToast({ showToast({
message:'请输入最大电量' message: "请输入最大电量",
}) });
return false; return false;
} }
if(!oParams.minBattery && oParams.maxBattery){ if (!oParams.minBattery && oParams.maxBattery) {
showToast({ showToast({
message:'请输入最小电量' message: "请输入最小电量",
}) });
return false; return false;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!