<template>
	<view class="main">
		<u-navbar
			title="大富翁区域"
			:safeAreaInsetTop="true"
			:fixed="true"
			bgColor="#FFFFFF00"
			@leftClick="onTouchBack"
		>
		</u-navbar>
		<view class="box">
			<image class="image" v-if="pageData.picurl != ''" :src="pageData.picurl" mode="widthFix"/>
		</view>
		
	</view>
</template>

<script>
	import SkipData from '@/common/SkipData.js'
	import { post } from "@/common/api.js"
	var Define		= getApp().globalData.Define;
	var pageData	= new SkipData();
	export default {
		onLoad() {
			post('pages/areapartner',{}).then(res=>{
				var info	= Define.onNetMessage(res);
				if(!info){
					return;
				}
				var areaskip	= info.areaskip;
				for(var key in areaskip){
					pageData[key]	= areaskip[key];
				}
				console.log("收到大富翁区域的数据：",pageData);
			});
		},
		data() {
			return {
				pageData,
			};
		},
		methods:{
			onTouchBack(){
				uni.navigateBack({
					
				})
			},
		}
	}
</script>

<style lang="scss" scoped>
	.box{
		width: 702rpx;
		height: 800rpx;
		border-radius: 20rpx;
		//background-color: #1CBBB4;
		position: relative;
		left: 24rpx;
		top: 200rpx;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	.image{
		width: 702rpx;
		height: 689rpx;
	}
</style>
