Commit 3a066c92 authored by ninglx's avatar ninglx

wj-smartcity 统一修改各页面样式提交

parent 97dbd958
<template>
<div class="full-w-h" style="display: flex; flex-direction: column">
<div class="full-w-h cycleDataContainer">
<div style="margin-bottom: 10px;margin-top: 10px" class="custom-form">
<label class="custom-form-label">时段选择: </label>
<el-date-picker
......@@ -721,4 +721,8 @@ label:first-child {
display: flex;
align-items: center;
}
.cycleDataContainer{
display: flex; flex-direction: column;
padding: 0 10px;
}
</style>
\ No newline at end of file
<template>
<div class="full-w-h" style="display: flex; flex-direction: column">
<div class="full-w-h eventDataContainer">
<div style="margin-bottom: 10px;margin-top: 10px" class="custom-form">
<label class="custom-form-label">时段选择: </label>
<el-date-picker
......@@ -22,6 +22,7 @@
:value="item.value">
</el-option>
</el-select>
<el-button size="mini" type="primary" class="custom-export-button">导出</el-button>
</div>
<div class="event-type">
<div class="table-title">
......@@ -272,6 +273,19 @@ export default {
height: 40px;
display: flex;
align-items: center;
position: relative;
.custom-export-button{
position: absolute;
right: 0;
background-color: #294372;
color: white;
letter-spacing: 5px;
border: none;
width: 80px
}
.custom-export-button:hover{
background-color: #355287;
}
}
::v-deep .el-input__inner {
......@@ -315,4 +329,8 @@ export default {
flex: 1;
}
}
.eventDataContainer{
display: flex; flex-direction: column;
padding: 0 10px;
}
</style>
\ No newline at end of file
......@@ -39,7 +39,7 @@ export default {
tabs: [
{'1': '周期数据'},
{'2': '快照数据'},
// {'3': '事件数据'},
{'3': '事件数据'},
],
}
},
......@@ -48,7 +48,7 @@ export default {
},
methods: {
clickTab(item){
if(Object.keys(item)[0]==='3') return
// if(Object.keys(item)[0]==='3') return
this.activeTab=Object.keys(item)[0]
},
getData() {
......
<template>
<div class="full-w-h" style="display: flex; flex-direction: column">
<div class="full-w-h snapshotDataContainer">
<div style="margin-bottom: 10px;margin-top: 10px" class="custom-form">
<label class="custom-form-label">时段选择: </label>
<el-date-picker
......@@ -523,4 +523,8 @@ label:first-child {
}
}
}
.snapshotDataContainer{
display: flex; flex-direction: column;
padding: 0 10px;
}
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment