<template>
	<view>
		<view class="title-back" :style="{height:`${uni.getStorageSync('moveHeight')+40}px`}">
			<view class="left-father" @click="uni.navigateBack();">
				<image class="back-img" src="https://www.focusnu.com/media/directive/index/left.png" />
			</view>
		</view>
		<view :style="{height:`${uni.getStorageSync('moveHeight') + 40}px`}"></view>
		<image class="bacimg" src="https://www.focusnu.com/media/directive/bgyg.png" mode="aspectFill"></image>
		<view class="xmname">
			<image src="https://www.focusnu.com/media/directive/hts.png" mode="aspectFill" class="bgt"></image>
			<image src="https://www.focusnu.com/media/directive/index/nan.png" mode="aspectFill" class="ava"></image>
			<view class="name">李富贵</view>
			<view class="xbjs">
				女 &nbsp;&nbsp;|&nbsp; <text style="font-weight: bold;"> 80</text>岁&nbsp; |&nbsp; 2025.01.01
			</view>
		</view>
		<view class="boxs" v-for="v in 5" :key='v'>
			<view class="top">
				<view class="lefts">
					<image src="https://www.focusnu.com/media/directive/sj.png" mode="aspectFill" ></image>
					2026.03.12&nbsp;|&nbsp;
					<text class="wzx" v-if="v==1">未执行</text>
					<text class="ywc" v-else> 已完成</text>
				</view>
				<view class="rort">
					<text>￥</text>77.43
				</view>
			</view>
			<view class="cont">
				<view class="zuoc">
					<image src="https://www.focusnu.com/media/directive/fwzl_hl.png" mode="aspectFill"></image>
					<view>护理类</view>
				</view>
				<view class="ritsw">
					<view>
						<text style="font-size: 40rpx;">10:00</text> &nbsp;<text>| &nbsp; 每15分钟 &nbsp;</text><text>| &nbsp; 即时指令 &nbsp;</text> 
					</view>
					<view>
						鼻饲喂药
					</view>
					<view>
						<view class="ic">日常照料</view>
						<view class="ic">压疮防护</view>
					</view>
					<view>
						开始执行时间: - 2026.03.01
					</view>
					<view>
						结束执行时间: - 2026.03.01
					</view>
					<view>
						转单执行：李德力
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
	.boxs{
		width: 703rpx;
		height: 415rpx;
		background: #FFFFFF;
		border-radius: 40rpx;
		padding:20rpx 40rpx;
		position: relative;
		z-index: 2;
		margin: 20rpx auto;
		.cont{
			width: 100%;
			height: 300rpx;
			display: flex;
			align-items: center;
			.zuoc{
				display: flex;
				flex-direction: column;
				view{
					font-weight: bold;
					font-size: 25rpx;
					color: #787878;
					margin: 33rpx auto 0;
					padding-right: 33rpx;
				}
				image{
					width: 180rpx;
					height: 180rpx;
					margin-right: 37rpx;
				}
			}
			
			.ritsw{
				width: 430rpx;
				height: 95%;
				display: flex;
				flex-direction: column;
				justify-content: space-around;
				>view{
					white-space: nowrap;
					&:nth-child(6){
						font-weight: 700;
						font-size: 26rpx;
						color: #888888;
					}
					&:nth-child(4),&:nth-child(5){
						font-weight: 400;
						font-size: 36rpx;
						color:#222222;
					}
					&:nth-child(1){
						display: flex;
						font-weight: bold;
						font-size: 32rpx;
						color: #222222;
						text{
							font-weight: 400;
							font-size: 25rpx;
							color: #555555;
						}
					}
					&:nth-child(2){
						display: flex;
						font-weight: bold;
						font-size: 32rpx;
						color: #222222;
					}
					&:nth-child(3){
						font-weight: 400;
						font-size: 28rpx;
						color: #555555;
						display: flex;
						.ic{
							width: 108rpx;
							height: 39rpx;
							background: #FFFFFF;
							border-radius: 8rpx;
							border: 1px solid #C9C9C9;
							display: flex;
							justify-content: center;
							align-items: center;
							margin-right: 10rpx;
							font-weight: 400;
							font-size: 23rpx;
							color: #787878;
						}
					}
				}
			}
		}
		.top{
			width: 100%;
			height:76rpx;
			border-bottom: 1px solid #E5E5E5;
			display: flex;
			justify-content: space-between;
			align-items: center;
			.rort{
				font-weight: 400;
				font-size: 35rpx;
				display: flex;
				align-items: center;
				text{
					font-size: 25rpx;
					margin-right: 5rpx;
				}
			}
			.lefts{
				font-weight: 400;
				font-size: 28rpx;
				color: #333333;
				display: flex;
				align-items: center;
				.ywc{
					font-weight: 800;
					font-size: 23rpx;
					color: #FF5757;
				}
				.wzx{
					font-weight: 800;
					font-size: 23rpx;
					color: #47ADF5;
				}
				image{
					width: 26rpx;
					height: 26rpx;
					margin-right: 14rpx;
					    margin-top: 5rpx;
				}
			}
		}
	}
.xmname {
		width: 705rpx;
		height: 155rpx;
		margin: 20rpx auto 0;
		position: relative;
		z-index: 2;

		.xbjs {
			position: absolute;
			top: 95rpx;
			left: 143rpx;
			z-index: 2;
			font-weight: 400;
			font-size: 23rpx;
			color: #212327;
			display: flex;
			align-items: center;
		}

		.name {
			font-weight: bold;
			font-size: 36rpx;
			color: #333333;
			position: absolute;
			top: 47rpx;
			left: 143rpx;
			z-index: 2;
		}

		.ava {
			position: absolute;
			width: 95rpx;
			height: 95rpx;
			border-radius: 50%;
			top: 34rpx;
			left: 30rpx;
			z-index: 2;
		}

		.bgt {
			position: absolute;
			width: 100%;
			height: 100%;
			top: 0;
			left: 0;
			z-index: 1;
		}
	}

	.bacimg {
		width: 100%;
		height: 780rpx;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 0;
	}

	.title-back {
		background: rgba(255, 255, 255, 0);
		width: 100%;
		height: 70rpx;
		display: flex;
		justify-content: space-between;
		align-items: flex-end;
		padding-bottom: 20rpx;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 9999;
	}

	.left-father {
		width: 150rpx;
		height: 100%;
		display: flex;
		align-items: flex-end;
		.back-img {
			width: 45rpx;
			height: 40rpx;
			margin-left: 40rpx;
			margin-right: 15rpx;
		}
	}
</style>
<style>
	page {
		background: #F7F7F7;
	}
</style>
