1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <template>
- <keep-alive>
- <el-col :span="Number(data.moduleConfig.spans)" :offset="Number(data.moduleConfig.offset)" :push="Number(data.moduleConfig.push)" :pull="Number(data.moduleConfig.pull)" :style="moduleComputedStyle">
- <!-- <drag-tool :unique="data.unique" @delete="deleteModule" :is-edit="isEdit" @copy="copyModule" @active="activeModule">-->
- <slot></slot>
- <!-- </drag-tool>-->
- </el-col>
- </keep-alive>
- </template>
- <script>
- import mixin from '../../mixinnew'
- import DragTool from "../DragTool";
- export default {
- name: "cloumn-container",
- components: {DragTool},
- mixins: [mixin],
- title: '列布局',
- data(){
- return{
- }
- },
- dataTpl: {
- tpl_id: 10,
- tpl_type: 'BOARD_ITEM',
- unique:'',
- isEdit:true,
- moduleIconClass:'icon-Columns',
- moduleConfig:{
- moduleStyle: {
- moduleStyle: {
- borderColor: '',
- // borderWidth:'0px',
- borderTopWidth:'0px',
- borderRightWidth:'0px',
- borderBottomWidth:'0px',
- borderLeftWidth:'0px',
- borderRadius:'0px',
- borderStyle:'solid',
- // backgroundColor:''
- },
- },
- styleConfig:{
- // borderColorWithNurse:'', //边框颜色跟随的护理信息分类
- // backgroundColorWithNurse:'', //模块背景色跟随的护理信息分类
- boxShadowShow:false,
- boxShadowColor:''
- },
- dataConfig:{
- },
- spans:8,
- offset:0,
- push:0,
- pull:0,
- },
- children:[]
- }
- }
- </script>
- <style scoped>
- </style>
|