修复样式和设置
This commit is contained in:
		| @@ -25,10 +25,6 @@ | |||||||
|     <div class="layout-right__content--wrapper"> |     <div class="layout-right__content--wrapper"> | ||||||
|       <div class="layout-config__group"> |       <div class="layout-config__group"> | ||||||
|         <h2>组件设置</h2> |         <h2>组件设置</h2> | ||||||
|         <config-item label="标题"> |  | ||||||
|           <el-input v-model="config.summaryTitle" size="mini" v-if="config.display === 'summary2'"/> |  | ||||||
|           <el-input v-else v-model="config.title" size="mini"/> |  | ||||||
|         </config-item> |  | ||||||
|         <config-extra v-model="config"/> |         <config-extra v-model="config"/> | ||||||
|       </div> |       </div> | ||||||
|     </div> |     </div> | ||||||
|   | |||||||
| @@ -56,6 +56,10 @@ export default { | |||||||
|  |  | ||||||
| <template> | <template> | ||||||
|   <section class="configExtra"> |   <section class="configExtra"> | ||||||
|  |     <config-item label="标题"> | ||||||
|  |       <el-input v-model="config.summaryTitle" size="mini" v-if="config.display === 'summary2'" placeholder="请输入标题"/> | ||||||
|  |       <el-input v-else v-model="config.title" size="mini" placeholder="请输入标题"/> | ||||||
|  |     </config-item> | ||||||
|     <config-item label="边框" v-if="config.type !== 'display'"> |     <config-item label="边框" v-if="config.type !== 'display'"> | ||||||
|       <el-select size="mini" v-model="config.border" placeholder="请选择边框" clearable> |       <el-select size="mini" v-model="config.border" placeholder="请选择边框" clearable> | ||||||
|         <el-option |         <el-option | ||||||
| @@ -79,12 +83,9 @@ export default { | |||||||
|     </template> |     </template> | ||||||
|     <template v-if="/tabs/.test(config.type)"> |     <template v-if="/tabs/.test(config.type)"> | ||||||
|       <group-item v-for="(tab,i) in values" :key="i" :label="i"> |       <group-item v-for="(tab,i) in values" :key="i" :label="i"> | ||||||
|         <template v-for="(comp,j) in tab"> |         <group-item v-for="(comp,j) in tab" :key="j" :label="comp.name"> | ||||||
|           <config-item :label="comp.name"> |  | ||||||
|             <chart-picker v-model="comp.type" :tpls="layers"/> |  | ||||||
|           </config-item> |  | ||||||
|           <config-extra v-model="tab[j]"/> |           <config-extra v-model="tab[j]"/> | ||||||
|         </template> |         </group-item> | ||||||
|       </group-item> |       </group-item> | ||||||
|     </template> |     </template> | ||||||
|     <template v-if="/Chart/.test(config.type)"> |     <template v-if="/Chart/.test(config.type)"> | ||||||
|   | |||||||
| @@ -7,7 +7,7 @@ export default { | |||||||
|  |  | ||||||
| <template> | <template> | ||||||
|   <section class="groupItem"> |   <section class="groupItem"> | ||||||
|     <h2 v-text="label"/> |     <h2 v-if="label" v-text="label"/> | ||||||
|     <slot/> |     <slot/> | ||||||
|   </section> |   </section> | ||||||
| </template> | </template> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user