<!--pages/userCenter.wxml-->
<view class='user-center' style="background: {{pageBackgroundColor == 1? '#eee': '#fff'}};min-height: {{outoHeigth}}px">
	<!-- 1 轮播 2 个人中心 3 图片导航 4 底部左划 5 底部 Tab 6 公告 7 分类 8 关注公众号 9 plus(9/5-权重高)-->
	<block wx:for="{{pages}}" wx:key="{{index}}" wx:for-item="pItem">
		<view wx:if="{{pItem.type == 1}}">
			<image-swiper image-data="{{pItem.rotationchart.images}}" bind:getAuth="_getUserInfo" currentHasUserInfo="{{currentHasUserInfo}}"/>
		</view>
		<view class="" wx:if="{{pItem.type == 2}}">
			 <person-center bind:getAuth="_getUserInfo" currentHasUserInfo="{{currentHasUserInfo}}" base-user-info="{{baseUserInfo}}" person-data="{{pItem.customer}}" integral-num="{{integralNum}}" coupon-num="{{couponNum}}" token="{{token}}"/>
		</view>
		<view class="" wx:if="{{pItem.type == 3}}">
			<pic-nav pic-nav="{{pItem.navigation.images}}" bind:getAuth="_getUserInfo" currentHasUserInfo="{{currentHasUserInfo}}"  bind:updatePage="updatePage"/>
		</view>
		<view class="" wx:if="{{pItem.type == 4}}">
			<bottom bottom="{{pItem.bottom}}" />
		</view>
		<view class="" wx:if="{{pItem.type == 5}}">
			<bottom-tabs currHomePageId="{{currHomePageId}}"  bind:getAuth="_getUserInfo" currentHasUserInfo="{{currentHasUserInfo}}" tab-bar="{{pItem.tabBar}}" bind:updatePage="updatePage"/>
		</view>
		<view class="" wx:if="{{pItem.type == 6}}">
			<announcement notice="{{pItem.notice}}"/>
		</view>
		<view class="" wx:if="{{pItem.type == 7}}">
			<tab-sort category-type="{{pItem.categoryType}}" bind:getAuth="_getUserInfo" currentHasUserInfo="{{currentHasUserInfo}}" bind:updatePage="updatePage"/>
		</view>
		<view class="" wx:if="{{pItem.type == 8}}">
			<attention focus-wx="{{pItem.focusWx}}" />
		</view>
		<view class="" wx:if="{{pItem.type == 9}}">
			<plus sku-list="{{skuVOList}}" plus-bgi="{{pItem.plus}}" currentHasUserInfo="{{currentHasUserInfo}}" bind:updatePage="updatePage"/>
		</view>
	</block>
</view>
<guide-page-modal show="{{guidePageModalShow}}" />
<!--<authorization-modal isAuthorization='{{isAuthorization}}'/>-->
