Commit 083b09d7 authored by 高天阳's avatar 高天阳

面板修改

parent d7a3d37a
...@@ -7,8 +7,7 @@ ...@@ -7,8 +7,7 @@
'content_class': 'center', 'content_class': 'center',
'panel_style': { 'panel_style': {
width: '100%', width: '100%',
marginTop: '20px', margin: '20px auto'
marginBottom: '20px'
}, },
'panel_span': 22, 'panel_span': 22,
'content_height': { 'content_height': {
......
<template> <template>
<el-row type="flex"> <el-row type="flex">
<el-col :span="options.panel_span" class="detail-content" style="margin:0 auto"> <el-col :span="options.panel_span" class="detail-content" :class="options.panel_class" style="margin:0 auto">
<!--<h2 class="title">面板页面</h2>-->
<el-card class="box-card" :style="options.panel_style"> <el-card class="box-card" :style="options.panel_style">
<div slot="header" class="clearfix" :class="options.title_class" @click="toggle()"> <div slot="header" class="clearfix" :class="options.title_class" @click="toggle()">
<slot name="title"></slot> <slot name="title"></slot>
......
...@@ -50,8 +50,7 @@ ...@@ -50,8 +50,7 @@
content_class: 'center', content_class: 'center',
panel_style: { panel_style: {
width: '100%', width: '100%',
marginTop: '20px', margin: '20px auto'
marginBottom: '20px'
}, },
panel_span: 22, panel_span: 22,
content_height: { content_height: {
......
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