duwendi преди 1 година
родител
ревизия
974850d5c2

+ 3 - 6
src/assets/css/element_ui.css

@@ -111,12 +111,9 @@
111 111
 }
112 112
 
113 113
 .el-input-group__append {
114
-  position: absolute;
115
-  right: 0;
116
-  top: 20%;
117
-  background-color: transparent;
118
-  border: none;
119
-  color: #6b84bf;
114
+  background: #1b222c;
115
+  color: #a9b1bc;
116
+  border: 1px solid #333;
120 117
 }
121 118
 
122 119
 .el-button {

+ 3 - 3
src/pages/index/components/data_docking.vue

@@ -7,15 +7,15 @@
7 7
       <form>
8 8
         <h4 style="color: #FFFFFF">模块名称</h4>
9 9
         <br>
10
-        <el-input class="input-search" v-model="searchWords" placeholder="模块名称"></el-input>
10
+        <el-input style="margin-bottom: 10px" v-model="searchWords" placeholder="模块名称"></el-input>
11 11
         <br>
12 12
         <h4 style="color: #FFFFFF">接口地址</h4>
13 13
         <br>
14
-        <el-input class="input-search" v-model="searchWords2" placeholder="接口地址"></el-input>
14
+        <el-input style="margin-bottom: 10px" v-model="searchWords2" placeholder="接口地址"></el-input>
15 15
         <br>
16 16
         <h4 style="color: #FFFFFF">api秘钥</h4>
17 17
         <br>
18
-        <el-input class="input-search" v-model="searchWords3" placeholder="api秘钥"></el-input>
18
+        <el-input style="margin-bottom: 10px" v-model="searchWords3" placeholder="api秘钥"></el-input>
19 19
         <br>
20 20
           <el-button class="btn_save" type="primary" @click="submitIntegrationConfig">保存配置</el-button>
21 21
       </form>

+ 1 - 1
src/pages/index/components/other_analyse.vue

@@ -640,7 +640,7 @@ export default {
640 640
 .body-wrapper {
641 641
   padding: 20px;
642 642
   background: #0c0c0c;
643
-  width: 80%;
643
+  width: 100%;
644 644
   .button-block{
645 645
     text-align: right;
646 646
     margin-bottom: 20px;

+ 1 - 2
src/pages/index/components/record_query.vue

@@ -2,8 +2,7 @@
2 2
   <div class="body-wrapper">
3 3
     <div class="search-card">
4 4
         <el-input class="input-wrapper" v-model="searchWords" placeholder="请输入关键字">
5
-            <el-button slot="append" class="searchbtn" @click="handleSearch">
6
-            </el-button>
5
+          <el-button slot="append" icon="el-icon-search"  @click="handleSearch"></el-button>
7 6
         </el-input>
8 7
     </div>
9 8
     <el-table :data="tableData">

+ 29 - 0
src/pages/index/components/service_operations.vue

@@ -193,6 +193,35 @@ export default {
193 193
 }
194 194
 </style>
195 195
 <style lang="less" scoped>
196
+/deep/ .el-input__inner {
197
+  background: #2d3744;
198
+  border: none;
199
+  border-radius: 0;
200
+}
201
+/deep/ .el-select {
202
+  height: 40px;
203
+  .el-input__inner {
204
+    height: 40px;
205
+  }
206
+  .el-input__prefix, .el-input__suffix {
207
+    height: 40px;
208
+  }
209
+
210
+  /* 下面设置右侧按钮居中 */
211
+  .el-input__suffix {
212
+    top: 0px;
213
+    display: flex;
214
+    justify-content: center;
215
+    align-items: center;
216
+    flex-wrap: nowrap;
217
+    flex-direction: row;
218
+    align-content: flex-start;
219
+  }
220
+  /* 输入框加上上下边是 32px + 2px =34px */
221
+  .el-input__icon {
222
+    line-height: 0px;
223
+  }
224
+}
196 225
 .middle-map {
197 226
   width: 100%;
198 227
   height: 100%;

+ 14 - 21
src/pages/index/components/static_resource.vue

@@ -1,10 +1,9 @@
1 1
 <template>
2 2
   <div class="body-wrapper">
3 3
     <div class="search-card">
4
-      <h5>车场查询</h5>
4
+      <h5 style="margin-bottom: 10px">车场查询</h5>
5 5
       <el-input class="input-wrapper" v-model="searchWords" placeholder="请输入车场名称">
6
-        <el-button slot="append" class="searchbtn" @click="handleSearch">
7
-        </el-button>
6
+        <el-button slot="append" icon="el-icon-search"  @click="handleSearch"></el-button>
8 7
       </el-input>
9 8
     </div>
10 9
     <el-table :data="tableData" style="background: #2a2a2a;border-color: #333;">
@@ -18,10 +17,9 @@
18 17
     </div>
19 18
 
20 19
     <div class="search-card">
21
-      <h5>泊位查询</h5>
20
+      <h5 style="margin-bottom: 10px">泊位查询</h5>
22 21
       <el-input class="input-wrapper" v-model="searchWords2" placeholder="请输入泊位编号">
23
-        <el-button slot="append" class="searchbtn" @click="handleSearch">
24
-        </el-button>
22
+        <el-button slot="append" icon="el-icon-search"  @click="handleSearch"></el-button>
25 23
       </el-input>
26 24
     </div>
27 25
     <el-table :data="tableData2" style="background: #2a2a2a;border-color: #333;">
@@ -35,10 +33,9 @@
35 33
     </div>
36 34
 
37 35
     <div class="search-card">
38
-      <h5>监控查询</h5>
36
+      <h5 style="margin-bottom: 10px">监控查询</h5>
39 37
       <el-input class="input-wrapper" v-model="searchWords3" placeholder="请输入监控编号">
40
-        <el-button slot="append" class="searchbtn" @click="handleSearch">
41
-        </el-button>
38
+        <el-button slot="append" icon="el-icon-search"  @click="handleSearch"></el-button>
42 39
       </el-input>
43 40
     </div>
44 41
     <el-table :data="tableData" style="background: #2a2a2a;border-color: #333;">
@@ -52,10 +49,9 @@
52 49
     </div>
53 50
 
54 51
     <div class="search-card">
55
-      <h5>设备查询</h5>
52
+      <h5 style="margin-bottom: 10px">设备查询</h5>
56 53
       <el-input class="input-wrapper" v-model="searchWords4" placeholder="请输入设备编号">
57
-        <el-button slot="append" class="searchbtn" @click="handleSearch">
58
-        </el-button>
54
+        <el-button slot="append" icon="el-icon-search"  @click="handleSearch"></el-button>
59 55
       </el-input>
60 56
     </div>
61 57
     <el-table :data="tableData" style="background: #2a2a2a;border-color: #333;">
@@ -69,10 +65,9 @@
69 65
     </div>
70 66
 
71 67
     <div class="search-card">
72
-      <h5>单位查询</h5>
68
+      <h5 style="margin-bottom: 10px">单位查询</h5>
73 69
       <el-input class="input-wrapper" v-model="searchWords5" placeholder="请输入单位名称">
74
-        <el-button slot="append" class="searchbtn" @click="handleSearch">
75
-        </el-button>
70
+        <el-button slot="append" icon="el-icon-search"  @click="handleSearch"></el-button>
76 71
       </el-input>
77 72
     </div>
78 73
     <el-table :data="tableData" style="background: #2a2a2a;border-color: #333;">
@@ -86,10 +81,9 @@
86 81
     </div>
87 82
 
88 83
     <div class="search-card">
89
-      <h5>备案资源查询</h5>
84
+      <h5 style="margin-bottom: 10px">备案资源查询</h5>
90 85
       <el-input class="input-wrapper" v-model="searchWords6" placeholder="请输入备案单位名称">
91
-        <el-button slot="append" class="searchbtn" @click="handleSearch">
92
-        </el-button>
86
+        <el-button slot="append" icon="el-icon-search"  @click="handleSearch"></el-button>
93 87
       </el-input>
94 88
     </div>
95 89
     <el-table :data="tableData" style="background: #2a2a2a;border-color: #333;">
@@ -103,10 +97,9 @@
103 97
     </div>
104 98
 
105 99
     <div class="search-card">
106
-      <h5>普查资源查询</h5>
100
+      <h5 style="margin-bottom: 10px">普查资源查询</h5>
107 101
       <el-input class="input-wrapper" v-model="searchWords7" placeholder="请输车场名称">
108
-        <el-button slot="append" class="searchbtn" @click="handleSearch">
109
-        </el-button>
102
+        <el-button slot="append" icon="el-icon-search"  @click="handleSearch"></el-button>
110 103
       </el-input>
111 104
     </div>
112 105
     <el-table :data="tableData" style="background: #2a2a2a;border-color: #333;">