35 lines
		
	
	
		
			471 B
		
	
	
	
		
			Vue
		
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			471 B
		
	
	
	
		
			Vue
		
	
	
<template>
 | 
						|
	<view><slot/></view>
 | 
						|
</template>
 | 
						|
 | 
						|
<script>
 | 
						|
	import {parent, children} from '../common/relation';
 | 
						|
	export default {
 | 
						|
		name: 'lime-painter-view',
 | 
						|
		mixins:[children('painter'), parent('painter')],
 | 
						|
		props: {
 | 
						|
			id: String,
 | 
						|
			type: {
 | 
						|
				type: String,
 | 
						|
				default: 'view'
 | 
						|
			},
 | 
						|
			css: [String, Object],
 | 
						|
		},
 | 
						|
		data() {
 | 
						|
			return {
 | 
						|
				// type: 'view',
 | 
						|
				el: {
 | 
						|
					css: {},
 | 
						|
					views:[]
 | 
						|
				},
 | 
						|
			}
 | 
						|
		},
 | 
						|
		mounted() {
 | 
						|
			
 | 
						|
		}
 | 
						|
	}
 | 
						|
</script>
 | 
						|
 | 
						|
<style>
 | 
						|
</style>
 |