|
@@ -19,22 +19,6 @@
|
|
|
<view v-if="!menushow" class="main">
|
|
|
<view class="u-page">
|
|
|
<div class="flcard">
|
|
|
- <div class="btns">
|
|
|
- <uni-datetime-picker
|
|
|
- :show="dataShow"
|
|
|
- mode="datetime"
|
|
|
- @cancel="dataShow = false"
|
|
|
- @confirm="selectStartTime"
|
|
|
- v-model="StartTime"
|
|
|
- ></uni-datetime-picker>
|
|
|
- <uni-datetime-picker
|
|
|
- :show="dataShow1"
|
|
|
- mode="datetime"
|
|
|
- @cancel="dataShow1 = false"
|
|
|
- @confirm="selectEndTime"
|
|
|
- v-model="EndTime"
|
|
|
- ></uni-datetime-picker>
|
|
|
- </div>
|
|
|
<div class="btns" style="margin-top: 10px">
|
|
|
<u-button
|
|
|
type="primary"
|
|
@@ -52,10 +36,36 @@
|
|
|
:text="lable ? lable : '间隔时间'"
|
|
|
@click="show = true"
|
|
|
></u-button>
|
|
|
+ </div>
|
|
|
+ <div class="btns" style="margin-top: 10px">
|
|
|
+ <uni-datetime-picker
|
|
|
+ :show="dataShow"
|
|
|
+ mode="datetime"
|
|
|
+ @cancel="dataShow = false"
|
|
|
+ @confirm="selectStartTime"
|
|
|
+ v-model="StartTime"
|
|
|
+ ></uni-datetime-picker>
|
|
|
+ <uni-datetime-picker
|
|
|
+ :show="dataShow1"
|
|
|
+ mode="datetime"
|
|
|
+ @cancel="dataShow1 = false"
|
|
|
+ @confirm="selectEndTime"
|
|
|
+ v-model="EndTime"
|
|
|
+ ></uni-datetime-picker>
|
|
|
<u-button
|
|
|
type="primary"
|
|
|
text="查询"
|
|
|
@click="checkHistory"
|
|
|
+ style="
|
|
|
+ width: 100px;
|
|
|
+ background: linear-gradient(
|
|
|
+ to right,
|
|
|
+ rgb(53, 135, 254, 0.5),
|
|
|
+ rgb(8, 179, 254, 0.5),
|
|
|
+ rgb(53, 135, 254, 0.5)
|
|
|
+ );
|
|
|
+ border-radius: 5px;
|
|
|
+ "
|
|
|
></u-button>
|
|
|
</div>
|
|
|
<u-picker
|
|
@@ -97,14 +107,14 @@
|
|
|
</u-col>
|
|
|
</u-row>
|
|
|
<u-row gutter="5" customStyle="margin-bottom: 10px">
|
|
|
- <u-col span="2" style="margin-right: 15rpx">
|
|
|
+ <u-col span="3" style="margin-right: 15rpx">
|
|
|
<div v-if="item.netStatus == 0" class="error-tag1">
|
|
|
<image
|
|
|
src="/static/model/connectFalse.svg"
|
|
|
alt=""
|
|
|
class="icon-style"
|
|
|
/>
|
|
|
- <span style="float: right">断开</span>
|
|
|
+ <span style="float: right; margin-right: 5px">断开</span>
|
|
|
</div>
|
|
|
<div v-else class="success-tag">
|
|
|
<image
|
|
@@ -112,16 +122,14 @@
|
|
|
alt=""
|
|
|
class="icon-style"
|
|
|
/>
|
|
|
- <span style="float: right">连接</span>
|
|
|
+ <span style="float: right; margin-right: 5px">连接</span>
|
|
|
</div>
|
|
|
</u-col>
|
|
|
- <u-col span="2"> </u-col>
|
|
|
<u-col span="3"> </u-col>
|
|
|
<u-col span="5">
|
|
|
- <u--text
|
|
|
- class="timetext"
|
|
|
- :text="item.time || item.ttime"
|
|
|
- ></u--text>
|
|
|
+ <div class="time-bg">
|
|
|
+ <span class="timetext">{{ item.time || item.ttime }}</span>
|
|
|
+ </div>
|
|
|
</u-col>
|
|
|
</u-row>
|
|
|
<view style="display: flex; flex-wrap: wrap">
|
|
@@ -148,7 +156,6 @@
|
|
|
padding-bottom: 10rpx;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
- align-items: center;
|
|
|
height: 100%;
|
|
|
"
|
|
|
>
|
|
@@ -160,6 +167,8 @@
|
|
|
color: #3787fe;
|
|
|
font-size: 30rpx;
|
|
|
margin-top: 20rpx;
|
|
|
+ margin-left: 20rpx;
|
|
|
+ float: left;
|
|
|
"
|
|
|
>
|
|
|
{{
|
|
@@ -177,6 +186,8 @@
|
|
|
color: #3787fe;
|
|
|
font-size: 30rpx;
|
|
|
margin-top: 20rpx;
|
|
|
+ margin-left: 20rpx;
|
|
|
+ float: left;
|
|
|
"
|
|
|
>
|
|
|
{{
|
|
@@ -192,6 +203,8 @@
|
|
|
margin-top: 20rpx;
|
|
|
color: #677799;
|
|
|
margin-top: 20rpx;
|
|
|
+ margin-left: 20rpx;
|
|
|
+ float: left;
|
|
|
"
|
|
|
>
|
|
|
{{ showitem.des }}
|
|
@@ -606,6 +619,18 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
+.time-bg {
|
|
|
+ background-color: #cce6fb;
|
|
|
+ border-radius: 5px;
|
|
|
+ height: 26px;
|
|
|
+ line-height: 25px;
|
|
|
+ text-align: center;
|
|
|
+ float: right;
|
|
|
+}
|
|
|
+.timetext {
|
|
|
+ text-align: center;
|
|
|
+ color: #2591eb;
|
|
|
+}
|
|
|
.emptyhistory {
|
|
|
background: url("/static/empty.png") no-repeat;
|
|
|
background-size: 100% 50%;
|
|
@@ -658,17 +683,20 @@ export default {
|
|
|
margin-bottom: 5rpx;
|
|
|
}
|
|
|
.datacard {
|
|
|
- width: 30%;
|
|
|
+ width: 47%;
|
|
|
margin: 1%;
|
|
|
float: left;
|
|
|
- height: 190rpx;
|
|
|
- text-align: center;
|
|
|
+ height: 75px;
|
|
|
background: linear-gradient(
|
|
|
- to right,
|
|
|
- rgba(55, 135, 254, 0.08),
|
|
|
- rgba(4, 184, 255, 0.08),
|
|
|
- rgba(60, 161, 237, 0.08)
|
|
|
- );
|
|
|
+ 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-repeat: no-repeat;
|
|
|
}
|
|
|
.error-tag {
|
|
|
border-radius: 10%;
|
|
@@ -694,7 +722,7 @@ export default {
|
|
|
}
|
|
|
.success-tag {
|
|
|
border-radius: 10%;
|
|
|
- color: #42c000;
|
|
|
+ color: #5acc1f;
|
|
|
line-height: 50rpx;
|
|
|
font-size: 14px;
|
|
|
width: 120rpx;
|