<template>
	<view class="box">
		<image class="img" src="http://117.50.61.7:6001/mini/bnyer-hub/contact.jpg" mode=""></image>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				userInfo:{}
			}
		},
		created() {
			const userInfo = uni.getStorageSync('userInfo')
			if (!userInfo) {
				console.log('havent userInfo')
				uni.showModal({
					content: '艺术家账户过期,请重新登录！',
					showCancel: false,
					success() {
						//没有缓存则跳转登录页面
						uni.reLaunch({
							url: '/pages/login/login'
						});
					}
				});
			} else {
				this.userInfo = userInfo;
				console.log('have userInfo')
			}
		},
		methods: {
			
			
		},
	}
</script>

<style>
.box{
	display: flex;
	flex: 1;
}
.img{
	width: 750rpx;
	height: 1200rpx;
}
</style>
