<template>
	<view :style="$getStyle(styles)" >
		<u-image :width="`${attrs['width'] || defaultConfig.width}%`"
			:height="`${attrs['height'] || defaultConfig.height}rpx`" 
			:mode="attrs['mode']" 
			:shape="attrs['shape']"
			:border-radius="attrs['border-radius']"
			:src="dataVal.dataList"></u-image>
	</view>
</template>

<script>
	import Mixin from "../Mixin";
	export default {
		name: "SlyImg",
		mixins: [Mixin],
		data() {
			return {
				defaultConfig: {
					width: 100,
					height: 300
				},
				src: ''
			};
		}
	}
</script>

<style lang="scss">

</style>