<template>
	<view class="main">
		<view class="pr">
			<view class="header-content">
				<image src="http://file.supermm.me/miniProgram/images/personal/bg.png" style="width:100%;height:260rpx;"></image>
			</view>
			<view class="pr pt20" style="z-index:2">
				<view class="plr15">
					<view class="bdr4 pb20">
						<view class="plr20 pt20 m-dpflex m-justify-start m-align-center">
							<image binderror="_binderror" mode="scaleToFill" src="https://ossweb-img.qq.com/images/lol/web201310/skin/big84000.jpg"
							 style="width: 60px;height: 60px;border-radius: 50%;"></image>
							<text class="line1 f20 fb plr15 text-white">落雨桐</text>
							<navigator hoverClass="none">
								<image class="header-img" src="http://file.supermm.me/miniProgram/images/personal/edit.png"></image>
							</navigator>
							<view class="pr tr m-flex">
								<view class="tip msg" v-if="true"></view>
								<navigator hoverClass="none">
									<image class="header-img" src="http://file.supermm.me/miniProgram/images/personal/info.png"></image>
								</navigator>
							</view>
						</view>
						<view class="pr m-xcenter plr20 header-box" style="padding: 60rpx 40rpx;background-color: #fff;border-radius: 16rpx;">
							<navigator class="m-flex tl f14 m-ycenter dpb" hoverClass="none">
								<view class="m-gray-big f20 fb pr10">0</view>
								<view class="m-gray-letter mt5 f12">代币（个）</view>
							</navigator>
							<view bindtap="" class="m-flex tl f14 m-ycenter">
								<view class="m-gray-big f20 fb">0</view>
								<view class="m-gray-letter mt5 f12">优惠券（张）</view>
							</view>
						</view>
					</view>
				</view>
			</view>
			<view class="fb f18 plr20 pt40">我的订单</view>
			<view class="plr10 m-dpflex m-justify-start m-align-center overflow pt40">
				<navigator class="width25 m-ycenter overflow pr" hoverClass="none">
					<image style="width: 76rpx;height: 76rpx;" src="http://file.supermm.me/miniProgram/images/personal/menu_1.png"
					 mode=""></image>
					<view class="tip"></view>
					<view class="f14 m-gray-small mt10 line1">我的咨询</view>
				</navigator>
				<navigator class="width25 m-ycenter overflow pr" hoverClass="none">
					<image style="width: 76rpx;height: 76rpx;" src="http://file.supermm.me/miniProgram/images/personal/menu_2.png"
					 mode=""></image>
					<view class="tip"></view>
					<view class="f14 m-gray-small mt10 line1">我的预约</view>
				</navigator>
				<navigator class="width25 m-ycenter overflow pr" hoverClass="none">
					<image style="width: 76rpx;height: 76rpx;" src="http://file.supermm.me/miniProgram/images/personal/menu_3.png"
					 mode=""></image>
					<view class="tip"></view>
					<view class="f14 m-gray-small mt10 line1">我的意见单</view>
				</navigator>
				<navigator class="width25 m-ycenter overflow pr" hoverClass="none">
					<image style="width: 76rpx;height: 76rpx;" src="http://file.supermm.me/miniProgram/images/personal/menu_4.png"
					 mode=""></image>
					<view class="tip"></view>
					<view class="f14 m-gray-small mt10 line1">服务包订单</view>
				</navigator>
			</view>
			<navigator class="pr m-xcenter plr20 pt40" hoverClass="none">
				<view class="fb f18 pr m-flex tl">健康档案</view>
				<view class="pr m-gray-small">档案列表</view>
				<label class="m-gray-letter iconfont icon-arrow-right f18 dpb"></label>
			</navigator>
			<!-- <view class="mt20 pr pb40">
				<swiper bindchange="swiperChange" :current="{{swiperCurrent}}" duration="500" :indicatorDots="{{indicatorDots}}"
				 interval="5000" nextMargin="20rpx" previousMargin="20rpx">
					<swiper-item class="swiper-wrapper" wx:for="{{childList}}" wx:key="{{item.childId}}">
						<view class="swiper-item br-gray bdr4">
							<navigator class="m-ycenter pt40" hoverClass="none" url="/pages/add-child/add-child" wx:if="{{item.add}}">
								<view class="bdr30 m-theme br-theme tc plr20 pt8 pb8 f14 width40">新增健康档案</view>
								<view class="pt20 f12 m-gray-letter">点击添加新的健康档案</view>
							</navigator>
							<navigator class="m-ycenter pt40" hoverClass="none" url="/pages/personal/childList/childList" wx:if="{{item.more}}">
								<view class="bdr30 m-theme br-theme tc plr20 pt8 pb8 f14 width40">更多</view>
								<view class="pt20 f12 m-gray-letter">点击查看更多健康档案</view>
							</navigator>
							<view bindtap="_goInfo" data-item="{{item}}" wx:if="{{!item.add&&!item.more}}">
								<view class="tc fb f18 pt20">{{item.childName}}</view>
								<view class="tc f14 m-gray-letter pt5">{{item.childAgeStr}}</view>
								<view class="plr10 m-dpflex m-justify-start m-align-center overflow pb30 pt15">
									<view class="width33 m-ycenter overflow pr">
										<view class="fb f18">{{item.childMedicalRecordNumber}}</view>
										<view class="f12 m-gray-small mt6 line1">专属病历</view>
									</view>
									<view class="width33 m-ycenter overflow pr">
										<view class="fb f18">{{item.childFamilyDoctorTeamIdList.length}}</view>
										<view class="f12 m-gray-small mt6 line1">家庭医生</view>
									</view>
									<view class="width33 m-ycenter overflow pr">
										<view class="fb f18">{{item.childPersonalDataInformation}}</view>
										<view class="f12 m-gray-small mt6 line1">个人资料</view>
									</view>
								</view>
							</view>
						</view>
					</swiper-item>
				</swiper>
				<view class="dots">
					<view class="dot{{index==swiperCurrent?' active':''}}" wx:for="{{childList}}" wx:key="unique"></view>
				</view>
			</view> -->
			<view class="fb f18 plr20 pt40">常用工具</view>
			<view class="plr10 m-dpflex m-justify-start m-align-center overflow pt30 pb30">
				<navigator class="width25 m-ycenter overflow pr" hoverClass="none">
					<image style="width: 42rpx;height: 42rpx;" src="http://file.supermm.me/miniProgram/images/personal/tool_1.png"></image>
					<view class="f14 m-gray-small mt10 line1">家庭医生</view>
				</navigator>
				<navigator class="width25 m-ycenter overflow pr" hoverClass="none">
					<image style="width: 42rpx;height: 42rpx;" src="http://file.supermm.me/miniProgram/images/personal/tool_2.png"></image>
					<view class="f14 m-gray-small mt10 line1">我的关注</view>
				</navigator>
				<navigator class="width25 m-ycenter overflow pr" hoverClass="none">
					<image style="width: 42rpx;height: 42rpx;" src="http://file.supermm.me/miniProgram/personal/my-class/my_class.png"></image>
					<view class="f14 m-gray-small mt10 line1">我的课程</view>
				</navigator>
				<navigator class="width25 m-ycenter overflow pr" hoverClass="none">
					<image style="width: 42rpx;height: 42rpx;" src="http://file.supermm.me/miniProgram/personal/my-class/my_class.png"></image>
					<view class="tip"></view>
					<view class="f14 m-gray-small mt10 line1">我的保单</view>
				</navigator>
			</view>
			<view class="plr10 m-dpflex m-justify-start m-align-center overflow pb30">
				<view bindtap="" class="width25 m-ycenter overflow pr">
					<image style="width: 42rpx;height: 42rpx;" src="https://file.supermm.me/h5/wechat-h5/personal/kf.png"></image>
					<view class="f14 m-gray-small mt10 line1">我的客服</view>
				</view>
				<navigator class="width25 m-ycenter overflow pr" hoverClass="none">
					<image style="width: 42rpx;height: 42rpx;" src="http://file.supermm.me/miniProgram/images/personal/tool_5.png"></image>
					<view class="f14 m-gray-small mt10 line1">帮助反馈</view>
				</navigator>
			</view>
		</view>
	</view>
</template>

<script>
	
</script>

<style scoped>
	@import url("./mine.css");

	.header-content {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		z-index: -1;
		overflow: hidden;
		box-sizing: border-box;
	}

	.header-box {
		box-shadow: 0px 8rpx 34rpx -6rpx rgba(248, 151, 164, 0.13);
	}

	.header-img {
		width: 36rpx;
		height: 36rpx;
	}

	.tip {
		position: absolute;
		top: 0;
		right: 20%;
		bottom: 0;
		background-color: red;
		width: 12rpx;
		height: 12rpx;
		border-radius: 50%;
	}

	.msg {
		top: -3rpx;
		right: -9rpx;
	}

	swiper {
		height: 320rpx;
	}

	.swiper-wrapper {
		padding: 0 10rpx;
		box-sizing: border-box;
	}

	.swiper-item {
		width: 100%;
		height: 300rpx;
		box-shadow: 0 26rpx 40rpx 0 rgba(255, 255, 255, 0.31);
		background: url("http://file.supermm.me/miniProgram/images/personal/bg_doc.png") no-repeat bottom center;
	}

	.dots {
		position: absolute;
		left: 0;
		right: 0;
		bottom: -40rpx;
		display: flex;
		justify-content: center;
	}

	.dots .dot {
		margin: 0 8rpx;
		width: 14rpx;
		height: 14rpx;
		background: #E4E4E4;
		border-radius: 8rpx;
		transition: all .6s;
	}

	.dots .dot.active {
		width: 24rpx;
		background: #FF7B72;
	}

	.game-wrap {
		position: relative;
		width: 100%;
		height: 100%;
		overflow: hidden;
		box-sizing: border-box;
	}

	.game-item {
		height: 100%;
		background: url("https://file.supermm.me/h5/wechat-h5/integral/personeBg001.jpg") no-repeat;
		background-size: 100% 100%;
		background-position: center center;
		border-radius: 100rpx;
	}
</style>
