row-container.vue 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <template>
  2. <keep-alive>
  3. <div style="box-sizing: content-box;" :style="containerComputedStyle">
  4. <!-- <drag-tool :unique="data.unique" @delete="deleteModule" :is-edit="isEdit" @copy="copyModule" @active="activeModule">-->
  5. <el-row :style="moduleComputedStyle">
  6. <slot></slot>
  7. </el-row>
  8. <!-- </drag-tool>-->
  9. </div>
  10. </keep-alive>
  11. </template>
  12. <script>
  13. import mixin from '../../mixinnew'
  14. import DragTool from "../DragTool";
  15. export default {
  16. name: "row-container",
  17. components: {DragTool},
  18. mixins: [mixin],
  19. title: '行布局',
  20. data(){
  21. return{
  22. }
  23. },
  24. dataTpl: {
  25. tpl_id: 9,
  26. tpl_type: 'BOARD_ITEM',
  27. unique:'',
  28. isEdit:true,
  29. moduleIconClass:'icon-Row',
  30. moduleConfig:{
  31. moduleStyle: {
  32. borderColor: '',
  33. borderWidth:'0px',
  34. borderRadius:'0px',
  35. borderStyle:'solid',
  36. backgroundColor:'',
  37. marginLeft:'0px',
  38. marginTop:'0px',
  39. marginRight:'0px',
  40. marginBottom:'0px',
  41. },
  42. styleConfig:{
  43. borderColorWithNurse:'', //边框颜色跟随的护理信息分类
  44. backgroundColorWithNurse:'', //模块背景色跟随的护理信息分类
  45. moduleFixed:false,
  46. boxShadowShow:false,
  47. boxShadowColor:''
  48. },
  49. dataConfig:{
  50. }
  51. },
  52. children:[]
  53. }
  54. }
  55. </script>
  56. <style scoped>
  57. </style>