<template>
	<view>
		<kingImageCache
		class="img"
		  v-if="imgUrl"
		  mode="aspectFit"
		  :imgSrc="imgUrl"
		/>
	</view>
</template>

<script>
	  // 导入图片缓存组件
	  import kingImageCache from '@/components/kingImageCache/kingImageCache.vue'
	export default {
		components: { kingImageCache },
		data() {
			return {
				imgUrl:'http://dingyue.ws.126.net/2024/0708/8f3c5353j00sgam490027d000hs00vmm.jpg'
			}
		},
		onLoad() {

		},
		methods: {

		}
	}
</script>

<style>
	.img {
		width: 200rpx;
		height: 300rpx;
	}
</style>
