<template>
	<view class="fwnr-item-box">
		<view class="title-row-box">
			<text>照顾老人：</text>
			<view class="title-del-btn">
				<icon class="del-icon"></icon>
			</view>
		</view>
		<!-- <view class="fwnr-label-input">
			<view class="fwnr-form-label"><text class="form-label-require"></text>身体情况</view>
			
			<radio-group @change="radioChange" class="fwnr-radio-box">
				<label class="fwnr-radio-item" v-for="item in items" :key="item.value">
					<radio :value="item.value" :checked="item.value === data.shentizhuangkuang" />
					<view>{{item.text}}</view>
				</label>
			</radio-group>
		</view> -->
		
		<view class="form-label-radio fwnr-label-radio">
			<view class="phone-form-label"><text class="form-label-require"></text>身体情况</view>
			<view class="form-radio-group">
				<!-- :class="{genderActive: formData.gender==1}" -->
				<view class="form-radio-item genderActive">能自理</view>
				<view class="form-radio-item">半自理</view>
				<view class="form-radio-item">不能自理</view>
			</view>
		</view>
		
		<laorenNianling @change="onChange"></laorenNianling>
	</view>
</template>

<script setup>
	import {
		useHetong
	} from "../useHetong.js"
	import laorenNianling from "./laorenNianling.vue"
	import {ref} from "vue"
	const {
		injectHetong
	} = useHetong();

	const data = injectHetong()
	
	const emits = defineEmits(['change'])
	
	const items = [
		{
			value: 1,
			text: '能自理'
		},{
			value: 2,
			text: '半自理'
		},{
			value: 3,
			text: '不能自理'
		},
	]	
	
	function onChange() {
		emits('change')
	}
	
	function radioChange() {}
</script>


<style>
</style>