l-painter-view.vue 471 B

12345678910111213141516171819202122232425262728293031323334
  1. <template>
  2. <view><slot/></view>
  3. </template>
  4. <script>
  5. import {parent, children} from '../common/relation';
  6. export default {
  7. name: 'lime-painter-view',
  8. mixins:[children('painter'), parent('painter')],
  9. props: {
  10. id: String,
  11. type: {
  12. type: String,
  13. default: 'view'
  14. },
  15. css: [String, Object],
  16. },
  17. data() {
  18. return {
  19. // type: 'view',
  20. el: {
  21. css: {},
  22. views:[]
  23. },
  24. }
  25. },
  26. mounted() {
  27. }
  28. }
  29. </script>
  30. <style>
  31. </style>