<template>
	<view class="home">
		<!-- 个人信息 -->
		<view class="infoUser">
			<view class="logo">
				<img src="/static/doctor.png" alt="" />
			</view>
			<view class="box-title">
				<span class="box-title1">手机号：15133235101</span>	
				<view class="box-view">
					<span >河北省科技大学第三医院</span>
					<span>医生</span>
				</view>
			</view>
		</view>
		<!-- 智能建档 地图导航 -->
		<view class="box-function">
			<view class="box1" @click="getpack">
				<img src="/static/zhineng.png" alt="" />
				<view>
					<view>智能建档</view>
					<view>一键上传患者信息</view>
				</view>
			</view>
			<view class="box2">
				<img src="/static/ditu.png" alt="" />
				<view>
					<view>地图导航</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		
		methods:{
			// 跳转页面
			getpack(){
				uni.navigateTo({
					url:'/pages/Intelligent/index'
				})
			}
		}
	}
</script>

<style scoped lang="scss">
	.home{
		width: 100%;
		height: 100%;
		background: linear-gradient(to bottom, #418FF9, #4175F9,#538DEB);
		padding: 0 30rpx ;
		padding-top:20rpx ;
		padding-bottom: 20rpx;
	}
	.infoUser{
		display: flex;
		align-items: center;
		.box-title{
			color: #FFFFFF;
			.box-title1{
				font-size: 36rpx;
			}
			.box-view{
				span {
					width: 256rpx;
					height: 33rpx;
					background: rgba(255,255,255,.2);
					border-radius: 17rpx 17rpx 17rpx 17rpx;
					font-size: 30rpx;
					padding: 10rpx;
					margin-right: 10rpx;
				}
			}
		}
	}
	
  .infoUser	.logo{
		width: 134rpx;
		height: 134rpx;
		border-radius: 50%;
		background: #FFFFFF;	
		display: flex;
		align-items: center;
		justify-content: center;
		margin-right: 30rpx;
		 img{
			 height: 80rpx;
			 width: 80rpx;
		 }
	}
	
	.box-function{
		width: 690rpx;
		height: 210rpx;
		background: #FFFFFF;
		border-radius: 20rpx 20rpx 20rpx 20rpx;
		margin: 40rpx 0rpx;
		margin-top: 80rpx;
		display: flex;
		justify-content:space-evenly;
		align-items: center;
		.box1 ,.box2{
			width: 311rpx;
			height: 131rpx;
			background: #F5F9FD;
			display: flex;
			justify-content:space-evenly;
			align-items: center;
			img {
				width: 80rpx;
				height: 80rpx;
			}
			
			view{
				font-family: SourceHanSansSC, SourceHanSansSC;
				font-weight: 400;
				font-size: 28rpx;
				color: #272726;
				line-height: 36rpx;
				text-align: left;
				font-style: normal;
				text-transform: none;
			}
		}

	}
</style>