eff0e9e5 by 任超

style:样式修改

1 parent 89f876fc
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
4 <div slot="title" class="dialog_title" ref="dialogTitle"> 4 <div slot="title" class="dialog_title" ref="dialogTitle">
5 {{ title || '标题' }} 5 {{ title || '标题' }}
6 </div> 6 </div>
7 <div class="regularHeight">
7 <div class="editDialogBox-box"> 8 <div class="editDialogBox-box">
8 <el-tabs v-model="titleName" type="card" @tab-click="handleTitleTab"> 9 <el-tabs v-model="titleName" type="card" @tab-click="handleTitleTab">
9 <el-tab-pane label="数据模型" name="sjmx"></el-tab-pane> 10 <el-tab-pane label="数据模型" name="sjmx"></el-tab-pane>
...@@ -81,8 +82,8 @@ ...@@ -81,8 +82,8 @@
81 </el-row> 82 </el-row>
82 </div> 83 </div>
83 </div> 84 </div>
84 <div class="editDialogBox-box"> 85 <div class="editDialogBox-box editDialogBox-con" v-if="titleName == 'sjmx'">
85 <div v-if="titleName == 'sjmx'" class="sjmx"> 86 <div class="sjmx">
86 <el-tabs v-model="activeName" ref="elTabs" type="card" @tab-click="changeList"> 87 <el-tabs v-model="activeName" ref="elTabs" type="card" @tab-click="changeList">
87 <el-tab-pane :name="item.soleurl" v-for="item in headerList" :key="item.soleurl"> 88 <el-tab-pane :name="item.soleurl" v-for="item in headerList" :key="item.soleurl">
88 <div slot="label" class="tab-pane-item"> 89 <div slot="label" class="tab-pane-item">
...@@ -100,7 +101,10 @@ ...@@ -100,7 +101,10 @@
100 <div v-if="titleName == 'xyjg'"> 101 <div v-if="titleName == 'xyjg'">
101 <Xyjg :form-data='dataReport'></Xyjg> 102 <Xyjg :form-data='dataReport'></Xyjg>
102 </div> 103 </div>
103 <JsonEditor :resultInfo="resultInfo" class="JsonEditor" v-if="titleName == 'xml'" /> 104 </div>
105 <div class="editDialogBox-box JsonEditor" v-if="titleName == 'xml'">
106 <JsonEditor :resultInfo="resultInfo" />
107 </div>
104 </div> 108 </div>
105 <div class="d-center" v-if="!$store.state.business.Edit && titleName == 'sjmx'"> 109 <div class="d-center" v-if="!$store.state.business.Edit && titleName == 'sjmx'">
106 <btn nativeType="cz" @click="dialogVisible = false">取 消</btn> 110 <btn nativeType="cz" @click="dialogVisible = false">取 消</btn>
...@@ -188,7 +192,6 @@ export default { ...@@ -188,7 +192,6 @@ export default {
188 } 192 }
189 }, 193 },
190 handleTitleTab (val) { 194 handleTitleTab (val) {
191 console.log(val);
192 }, 195 },
193 isShow (item) { 196 isShow (item) {
194 this.dataReport = item; 197 this.dataReport = item;
...@@ -269,6 +272,18 @@ export default { ...@@ -269,6 +272,18 @@ export default {
269 @import "~@/styles/mixin.scss"; 272 @import "~@/styles/mixin.scss";
270 @import "~@/styles/dialogBox.scss"; 273 @import "~@/styles/dialogBox.scss";
271 274
275 .regularHeight {
276 height: 80vh;
277 display: flex;
278 flex-direction: column;
279
280 .editDialogBox-con,
281 .JsonEditor {
282 flex: 1;
283 height: 100%;
284 }
285 }
286
272 /deep/.el-dialog__body { 287 /deep/.el-dialog__body {
273 display: flex; 288 display: flex;
274 flex-direction: column; 289 flex-direction: column;
...@@ -355,7 +370,6 @@ export default { ...@@ -355,7 +370,6 @@ export default {
355 } 370 }
356 371
357 .edit-content { 372 .edit-content {
358 height: 45vh;
359 overflow-y: auto; 373 overflow-y: auto;
360 overflow-x: hidden; 374 overflow-x: hidden;
361 padding-right: 1px; 375 padding-right: 1px;
......
1 <template> 1 <template>
2 <el-input type="textarea" :rows="6" disabled placeholder="配置参数" v-model="resultInfo"> 2 <el-input type="textarea" :rows="6" placeholder="配置参数" v-model="resultInfo">
3 </el-input> 3 </el-input>
4 </template> 4 </template>
5 <script> 5 <script>
...@@ -16,9 +16,9 @@ export default { ...@@ -16,9 +16,9 @@ export default {
16 </script> 16 </script>
17 17
18 <style scoped lang="scss"> 18 <style scoped lang="scss">
19 /* jsoneditor右上角默认有一个链接,加css去掉了 */
20 /deep/.el-textarea__inner { 19 /deep/.el-textarea__inner {
21 min-height: 70vh !important; 20 height: 72vh !important;
21 border: none !important;
22 background-color: #08346F !important; 22 background-color: #08346F !important;
23 color: #ffffff; 23 color: #ffffff;
24 border: none !important; 24 border: none !important;
......
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
105 } 105 }
106 106
107 /deep/.el-textarea__inner { 107 /deep/.el-textarea__inner {
108 border: 1px solid #224C7C !important; 108 border: 1px solid #224C7C;
109 margin: 0 0 10px 0 !important; 109 margin: 0 0 10px 0 !important;
110 width: 100% !important; 110 width: 100% !important;
111 color: #dadde3 !important; 111 color: #dadde3 !important;
......
...@@ -199,11 +199,13 @@ ...@@ -199,11 +199,13 @@
199 box-sizing: border-box; 199 box-sizing: border-box;
200 text-align: right; 200 text-align: right;
201 } 201 }
202
202 // 修改弹框样式 203 // 修改弹框样式
203 .modifydialog{ 204 .modifydialog {
204 /deep/.el-dialog__header { 205 /deep/.el-dialog__header {
205 text-align: center; 206 text-align: center;
206 margin-bottom: 10px; 207 margin-bottom: 10px;
208
207 .el-dialog__title { 209 .el-dialog__title {
208 color: white; 210 color: white;
209 } 211 }
...@@ -212,29 +214,36 @@ ...@@ -212,29 +214,36 @@
212 /deep/.el-form-item__label { 214 /deep/.el-form-item__label {
213 color: white; 215 color: white;
214 } 216 }
217
215 /deep/.el-input__inner { 218 /deep/.el-input__inner {
216 background-color: #07388b; 219 background-color: #07388b;
217 } 220 }
221
218 /deep/.el-input__inner { 222 /deep/.el-input__inner {
219 background: #07388b; 223 background: #07388b;
220 border-radius: 2px; 224 border-radius: 2px;
221 border: 1px solid #6bc1fc; 225 border: 1px solid #6bc1fc;
222 } 226 }
227
223 /deep/.el-textarea__inner { 228 /deep/.el-textarea__inner {
224 background: #07388b; 229 background: #07388b;
225 color: #fff; 230 color: #fff;
226 } 231 }
232
227 /deep/.el-form-item__label { 233 /deep/.el-form-item__label {
228 color: #fff; 234 color: #fff;
229 } 235 }
236
230 /deep/.el-dialog__headerbtn { 237 /deep/.el-dialog__headerbtn {
231 position: absolute; 238 position: absolute;
232 top: 22px; 239 top: 22px;
233 right: 30px; 240 right: 30px;
234 } 241 }
242
235 /deep/.el-dialog__header { 243 /deep/.el-dialog__header {
236 text-align: center; 244 text-align: center;
237 margin-bottom: 10px; 245 margin-bottom: 10px;
246
238 .el-dialog__title { 247 .el-dialog__title {
239 color: white; 248 color: white;
240 } 249 }
...@@ -242,7 +251,7 @@ ...@@ -242,7 +251,7 @@
242 } 251 }
243 252
244 // 角色配置 253 // 角色配置
245 .roleconfiguration{ 254 .roleconfiguration {
246 /deep/.el-dialog__body { 255 /deep/.el-dialog__body {
247 display: flex; 256 display: flex;
248 flex-direction: column; 257 flex-direction: column;
...@@ -328,7 +337,6 @@ ...@@ -328,7 +337,6 @@
328 } 337 }
329 338
330 .edit-content { 339 .edit-content {
331 height: 450px;
332 overflow-y: auto; 340 overflow-y: auto;
333 overflow-x: hidden; 341 overflow-x: hidden;
334 padding-right: 1px; 342 padding-right: 1px;
...@@ -401,6 +409,7 @@ ...@@ -401,6 +409,7 @@
401 display: flex; 409 display: flex;
402 margin-bottom: 15px; 410 margin-bottom: 15px;
403 } 411 }
412
404 .el-dialog__footer { 413 .el-dialog__footer {
405 padding-right: 40px; 414 padding-right: 40px;
406 } 415 }
...@@ -414,12 +423,15 @@ ...@@ -414,12 +423,15 @@
414 .el-dialog__wrapper { 423 .el-dialog__wrapper {
415 overflow: hidden; 424 overflow: hidden;
416 } 425 }
426
417 /deep/.el-table { 427 /deep/.el-table {
418 background: none; 428 background: none;
429
419 th.el-table__cell { 430 th.el-table__cell {
420 background-color: #073781; 431 background-color: #073781;
421 color: #02d9fd; 432 color: #02d9fd;
422 } 433 }
434
423 tr { 435 tr {
424 background: none; 436 background: none;
425 437
...@@ -430,4 +442,3 @@ ...@@ -430,4 +442,3 @@
430 } 442 }
431 443
432 } 444 }
...\ No newline at end of file ...\ No newline at end of file
433
......