<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/bglr.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="boxa" v-for="(v,i) in 5" :key='i' @click="navquyu">
			<view>
				<text>总金额</text>
				<view :class="i==0?'wff':'yff'">{{i==0?'未发放':'已发放'}}</view>
			</view>
			<view>
				<text>
					<text>￥</text>
					1653.69
				</text>
			</view>
			<view>
				<view class="zuoc">
					<image src="https://www.focusnu.com/media/directive/dybb.png" mode="aspectFill" class="zs"></image>
					2025.12.31-2025.12.31
				</view>
				<view class="youce">
					详情
					<image src="https://www.focusnu.com/media/directive/rit.png" mode="aspectFill" class="ris"></image>
				</view>
			</view>
		</view>
		
		
	</view>
</template>

<script setup lang="ts">
	 import { reactive, ref, onMounted, onUnmounted } from 'vue';
	 import exit from "@/compontent/public/exit.vue"
	 import downMenu from '@/compontent/public/oldmandownmenu.vue'
	 import {
	 	getMessageList
	 } from '@/pages/addstaff/api/addjigou.js'
	 const navquyu =()=>{
	 	uni.navigateTo({
	 		url:'/pages/yuangongindex/daypay'
	 	})
	 }
</script>

<style lang="scss" scoped>
	.boxa{
		width: 703rpx;
		height: 229rpx;
		background: #FFFFFF;
		border-radius: 40rpx;
		margin: 20rpx auto;
		display: flex;
		flex-direction: column;
		padding: 45rpx 26rpx;
		justify-content: space-between;
		position: relative;
		z-index: 2;
		>view{
			display: flex;
			justify-content: space-between;
			align-items: center;
			&:nth-child(3){
				 .zuoc{
					 font-weight: bold;
					 font-size: 28rpx;
					 color: #333333;
					 display: flex;
					 align-items: center;
				 }
				 .youce{
					 font-weight: 400;
					 font-size: 26rpx;
					 color: #999999;
					 display: flex;
					 align-items: center;
				 }
				 .zs{
					 width: 32rpx;
					 height: 28rpx;
					 margin-right: 10rpx;
				 }
				 .ris{
					 width: 20rpx;
					 height: 15rpx;
					 margin-top: 5rpx;
					 margin-left: 10rpx;
				 }
			}
			&:nth-child(2){
				>text{
					font-weight: bold;
					font-size: 50rpx;
					color: #222222;
					text{
						font-size: 40rpx !important;
					}
				}
			}
			&:nth-child(1){
				
				view{
					width: 120rpx;
					height: 50rpx;
					border-radius: 10rpx;
					display: flex;
					justify-content: center;
					align-items: center;
					font-weight: 400;
					font-size: 24rpx;
				}
				.yff{
					background: #DDF1FF;
					border: 1px solid #BFD7F4;
					color: #0098FE;
				}
				.wff{
					background: #EEFBF6;
					border: 1px solid #D3F0E4;
					color: #01A763;
				}
			}
		}
	}

.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: 645rpx;
		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>
