样式调整
This commit is contained in:
@@ -1,5 +1,26 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-tabs type="border-card">
|
||||
<el-tab-pane label="守时误差">
|
||||
<div class="right-title" >
|
||||
<span v-if="activeIndex <= 1"> </span>
|
||||
<span v-if="activeIndex > 1" style=" font-size: 18px;font-weight: 600;">
|
||||
标准时间: <span style="color: #003078">{{ gpsTime }}</span>
|
||||
</span>
|
||||
<div class="error-dsc">
|
||||
<div class="green-div"></div>
|
||||
<span style=" color: #606266; font-size: 16px;font-weight: 600;">
|
||||
守时误差≤1000ms
|
||||
</span>
|
||||
|
||||
<div class="red-div"></div>
|
||||
<span style=" color: #F56C6c; font-size: 16px;font-weight: 600;">
|
||||
守时误差>1000ms
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
<div class="test-dialog">
|
||||
<div class="dialog-left">
|
||||
<el-steps direction="vertical" :active="stepsIndex" :process-status="currentStepStatus"
|
||||
@@ -29,7 +50,7 @@
|
||||
<div class="right-title">
|
||||
<!-- <div>设备上送时刻表</div> -->
|
||||
|
||||
<span v-if="activeIndex <= 1"> </span>
|
||||
<!-- <span v-if="activeIndex <= 1"> </span>
|
||||
<span v-if="activeIndex > 1" style=" font-size: 18px;font-weight: 600;">
|
||||
标准时间: <span style="color: #003078">{{ gpsTime }}</span>
|
||||
</span>
|
||||
@@ -43,7 +64,7 @@
|
||||
<span style=" color: #F56C6c; font-size: 16px;font-weight: 600;">
|
||||
守时误差>1000ms
|
||||
</span>
|
||||
</div>
|
||||
</div> -->
|
||||
<!-- <span style=" font-size: 18px;font-weight: 600;">
|
||||
设备已合格 <span style="color: #67C23A">{{ qualified }}</span> 台/共 <span style="color: green">4</span> 台
|
||||
</span> -->
|
||||
@@ -57,7 +78,7 @@
|
||||
:cell-style="{ textAlign: 'center' }" style="width: 100%; height:435px" border>
|
||||
</ProTable> -->
|
||||
|
||||
<el-table v-if="activeIndex > 0" :data="deviceOperatorData" stripe :header-cell-style="{ textAlign: 'center' } " :cell-style="{ textAlign: 'center' }" style="width: 100%" border>
|
||||
<el-table v-if="activeIndex > 0" :data="deviceOperatorData" stripe :header-cell-style="{ textAlign: 'center' } " :cell-style="{ textAlign: 'center' }" style="margin-top: -30px;width: 100%" border>
|
||||
<el-table-column prop="deviceName" label="设备名称" />
|
||||
<el-table-column prop="updataTime" label="上送时刻" />
|
||||
<el-table-column prop="ErrorValue" label="守时误差(ms)">
|
||||
@@ -311,14 +332,15 @@ watch(ts, function (newValue, oldValue) {
|
||||
|
||||
</script>
|
||||
<style scoped>
|
||||
|
||||
|
||||
.test-dialog {
|
||||
height: 350px;
|
||||
display: flex;
|
||||
|
||||
flex-direction: row;
|
||||
/* 横向排列 */
|
||||
/* margin-top: 20px; */
|
||||
/* min-height: 300px; */
|
||||
height: 472px;
|
||||
margin-top: 20px;
|
||||
/* .dialog-left{
|
||||
margin-right: 20px;
|
||||
} */
|
||||
|
||||
Reference in New Issue
Block a user