Commit f27f3d42dcdd8d4baadb24082e81a843452d1419

Authored by Aaron
1 parent 06249cc2
Exists in master and in 1 other branch legacy

调整示例样式

examples/views/page/form-new/index.vue
1 <style> 1 <style>
2 -.el-input .el-input__inner, .el-textarea__inner {  
3 - border-radius: 0;  
4 -}  
5 -</style>  
6 -  
7 -<style>  
8 .eagle-form__flex-wrap { 2 .eagle-form__flex-wrap {
9 display: flex; 3 display: flex;
10 flex-wrap: wrap; 4 flex-wrap: wrap;
examples/views/page/other.vue
@@ -19,10 +19,14 @@ @@ -19,10 +19,14 @@
19 margin: 10px; 19 margin: 10px;
20 box-shadow: -2px 2px 8px grey; 20 box-shadow: -2px 2px 8px grey;
21 } 21 }
  22 +
  23 +.page-other .el-input .el-input__inner, .el-textarea__inner {
  24 + border-radius: 0;
  25 +}
22 </style> 26 </style>
23 27
24 <template> 28 <template>
25 - <div> 29 + <div class="page-other">
26 <pre>{{ model }}</pre> 30 <pre>{{ model }}</pre>
27 <eg-table v-model="tableData" :list="option.list" :tableProps="{ border: true }" editable 31 <eg-table v-model="tableData" :list="option.list" :tableProps="{ border: true }" editable
28 @cell-edit="onCellEdit" @row-new="onRowNew" @row-edit="onRowEdit" @row-delete="onRowDelete" 32 @cell-edit="onCellEdit" @row-new="onRowNew" @row-edit="onRowEdit" @row-delete="onRowDelete"
@@ -78,9 +82,7 @@ export default { @@ -78,9 +82,7 @@ export default {
78 }, 82 },
79 ], 83 ],
80 }, 84 },
81 - {  
82 - group: { title: '', span: 12 },  
83 - }, 85 + { span: 12 },
84 { 86 {
85 group: { title: '住址', key: 'location', span: 24 }, 87 group: { title: '住址', key: 'location', span: 24 },
86 list: [ 88 list: [